Re: Prevent plug-ins from having framework conflicts.

2010-05-04 Thread Carmen Cerino Jr.
. Two developers may write two different plug-ins who both use the same framework. On Tue, May 4, 2010 at 1:55 PM, Kyle Sluder wrote: > On Tue, May 4, 2010 at 10:22 AM, Carmen Cerino Jr. > wrote: > > I am currently writing a plug-in framework for my application. I would > like >

Prevent plug-ins from having framework conflicts.

2010-05-04 Thread Carmen Cerino Jr.
I am currently writing a plug-in framework for my application. I would like to be able to release plugins without having to update my application, and I intend on making the framework available for third party plugins. I am currently running into issues when two plugins ship with identical framewor

NSPredicateEditorRowTemplate and CoreData

2010-01-25 Thread Carmen Cerino Jr.
I am trying to generate predicate editor templates for my Core Data entities. In my code I have the following: NSEntityDescription *descrip = [NSEntityDescription entityForName:@"Person" inManagedObjectContext:managedObjectContext]; NSArray *templates = [NSPredicateEditorRowTempl

Source List Indentation Drawing Issue

2009-12-26 Thread Carmen Cerino Jr.
Howdy, I have been having a hard time trying to track down information on this issue, mostly because its a rather difficult to describe. The best summary I can give is that if you set an NSOutlineView to have the source list highlight style, and expand a node that contains a node with children, th

NSArrayController and avoidsEmptySelection

2009-07-29 Thread Carmen Cerino Jr.
I have an NSArrayController hooked up to an NSCollectionView. When a user clicks into the empty space of the NSCollectionView, I would like it so they do not lose their currently selected items. I would have thought it should have been as simple as telling the NSArrayController to avoid empty selec

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
I am now 99% sure that its drawing method is doing something awkward. Here are the results of what happened when I implemented my own draw method: http://screencast.com/t/FbOLyvgDS On Mon, Dec 29, 2008 at 3:41 PM, Carmen Cerino Jr. wrote: > For the clipping issue, I am 95% sure it has to

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
, Carmen Cerino Jr. wrote: > There is no such thing as simple validation for NSToolbarItems with custom > views. Apple does not implement any validation what so ever when it comes to > those custom items. > > http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
The setArrowPosition and preferedEdge methods do not work for me. I followed the documentation to get the arrow to appear in the lower right corner pointing down and nothing happens. On Mon, Dec 29, 2008 at 1:04 PM, Carmen Cerino Jr. wrote: > Any particular reason to use a subclass? You sho

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
rties. I will give them a try and let you know how they turn out. On Mon, Dec 29, 2008 at 11:23 AM, j o a r wrote: > > On Dec 29, 2008, at 7:00 AM, Carmen Cerino Jr. wrote: > >> In order to create the item, I started with a subclass of NSToolbarItem >> that has a NSPopupButton fo

Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
Howdy, I would like to create a pull down toolbar item similar to what Xcode has for a few of its toolbar items. However, I am NOT refering to the delayed menu. In order to create the item, I started with a subclass of NSToolbarItem that has a NSPopupButton for its view. The image for the toolbar

Re: NSToolbar Error

2008-12-18 Thread Carmen Cerino Jr.
9:42 AM, Carmen Cerino Jr. wrote: > Allow me to add some more context to this error. It occurs during > customization of the toolbar when I try to move a item from one > location on the toolbar to another. The odd thing is if I drag out the > default toolbar from the customization palet

Re: Validation of a Custom View NSToolbarItem

2008-12-18 Thread Carmen Cerino Jr.
I apologize if I cam of snarky in my last email. I guess I may still confused on how the validation process works. My impression from the Toolbar Programming guide was that if you are dealing with image based items you want to implement the validateToolbarItem in your target. However if you are de

Re: NSToolbar Error

2008-12-18 Thread Carmen Cerino Jr.
occur. On Thu, Dec 18, 2008 at 9:22 AM, Carmen Cerino Jr. wrote: > Can anyone explain where I should be looking for the cause of this > issue? I pulled my toolbar code from another project that is working > completely fine. > > 2008-12-18 09:19:02.485 MyProject [36461:10b] *** Asser

NSToolbar Error

2008-12-18 Thread Carmen Cerino Jr.
Can anyone explain where I should be looking for the cause of this issue? I pulled my toolbar code from another project that is working completely fine. 2008-12-18 09:19:02.485 MyProject [36461:10b] *** Assertion failure in -[NSToolbar _forceMoveItemFromIndex:toIndex:], /SourceCache/AppKit/AppKit-

Validation of a Custom View NSToolbarItem

2008-12-17 Thread Carmen Cerino Jr.
I understand I need to have a NSToolbarItem subclass and override its validate method, but who is responsible for calling it? Will NSToolbar call it during its validation routine or do I need to come up with my own validation routine? Cheers, Carmen ___

View Swapping

2008-12-15 Thread Carmen Cerino Jr.
Howdy, Are there any guides regarding when it is appropriate to use this technique? Thanks, Carmen ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at co

Re: Autorelease Question

2008-11-19 Thread Carmen Cerino Jr.
Thank you all for your clarifications! On Wed, Nov 19, 2008 at 6:53 PM, Andy Lee <[EMAIL PROTECTED]> wrote: > On Nov 19, 2008, at 5:37 PM, Carmen Cerino Jr. wrote: >> >> I am not sure the best way to phrase this question into words, so I >> will phrase it using exam

Re: Autorelease Question

2008-11-19 Thread Carmen Cerino Jr.
I guess I should also have included what spawned this question in the first place. I have read in a handful of places that you can guarantee, in the example case, that blah will exist until the end of function, and that sometime after the end of the scope of the function blah will be released. So i

Autorelease Question

2008-11-19 Thread Carmen Cerino Jr.
I am not sure the best way to phrase this question into words, so I will phrase it using example code. - (NSString*)foo { NSString blah = [NSString string]; . //Now do I do: return blah; //Or: return [[blah retain] autorelease]]; } _

NSClassDescription Clarification

2008-11-05 Thread Carmen Cerino Jr.
I would like to take advantage of Key-Value Programming in my application. Utilizing key-value programming I would like the ability to iterate through all of my object's values or members. If I am understanding NSObject's documentation right, I need to implement a class description in order to get

pragma mark Queston

2008-11-04 Thread Carmen Cerino Jr.
How are the labels suppose to appear in the drop down menu? All of mine are showing up at the bottom of the list. I have opened other people's projects and have seen their labels appear before each function group they are describing. ___ Cocoa-dev mailin

Re: NSTableView with Custom Views as Cells Redraw Problem

2008-11-03 Thread Carmen Cerino Jr.
anks again for your help! On Mon, Nov 3, 2008 at 4:05 PM, Corbin Dunn <[EMAIL PROTECTED]> wrote: > > On Nov 3, 2008, at 12:35 PM, Carmen Cerino Jr. wrote: > >> Basically I have an array of views for every item in my data source, >> and my table uses a custom cell for i

NSTableView with Custom Views as Cells Redraw Problem

2008-11-03 Thread Carmen Cerino Jr.
Basically I have an array of views for every item in my data source, and my table uses a custom cell for its data cell. This cell has a weak reference to one of the views in the array, and it is set every time during the tableWillDisplayCell delegate method of the TableView. When the cell goes to d

Re: Modal Dialog Issue

2008-11-03 Thread Carmen Cerino Jr.
Bingo! Keary hit the nail right on the head. It is indeed the "visible at launch" option that caused this behavior. On Mon, Nov 3, 2008 at 12:11 PM, Keary Suska <[EMAIL PROTECTED]> wrote: > > On Nov 3, 2008, at 9:32 AM, Matt Neuburg wrote: > >> On Mon, 3 Nov 2008 09

Modal Dialog Issue

2008-11-03 Thread Carmen Cerino Jr.
I have a button that when clicked will display a modal dialog. My modal dialog is custom, and lives in its own Xib file. My issue is that the first time I click the button to make the dialog appear it does not latch it self onto the window like it should. If I go to dismiss the dialog with my cance

NSTableView Questions

2008-10-27 Thread Carmen Cerino Jr.
Howdy, My goal is to create an upload dialog. Like most upload/download dialogs, I am going to use a table view to display my information. Eventually I will need to create my own custom NSCell in order to represent an item being uploaded, so I can represent multiple pieces of information in one c

Questions on An NSOpenGL Application Design

2008-09-29 Thread Carmen Cerino Jr.
When my application starts up, the user is presented with a settings window. It contains a view that will be attached to a web camera, and some widgets to control various filter settings. Once the settings are tweaked to the user's desire, the window will be closed, but the camera will stil

Re: Question about respondsToSelector

2008-08-19 Thread Carmen Cerino Jr.
*Smacks forehead* Believe it or not I had that originally and it didn't work. I must of had a type-o in the function header that I was passing to respondsToSelector. Thank you all. I am going to go back to making an ass out of myself in the privacy of my own home. Cheers, Carmen On Aug

Re: Question about respondsToSelector

2008-08-19 Thread Carmen Cerino Jr.
Sorry about the sketchy details. Basically I have a wrapper class for the Sequence Grabber, and I want to setup a delegate for the decompression callback. This is where I use the respondsToSelector method: static void SGVideoDecompTrackingCallback( void *decompressionTrackingR

Question about respondsToSelector

2008-08-18 Thread Carmen Cerino Jr.
Does the id type have enough information for the respondsToSelector method to work. I have a class with an ivar of type id, and when I invoke the respondsToSelector method it fails when it should succeed. I am assuming it should work fine, because if I skip checking with the respondsToSelec