Re: Custom Cocoa Component/Control

2009-01-22 Thread Paul Franz
Thanks. I will read that. Paul Franz Shawn Erickson wrote: On Wed, Jan 21, 2009 at 6:33 PM, Paul Franz wrote: Can a custom NSControl/NSCell combo be used in a normal NSView? Yes. This type of question implies you may want to dig a little more deeply in the view documentation. http://devel

Re: Custom Cocoa Component/Control

2009-01-22 Thread Shawn Erickson
On Wed, Jan 21, 2009 at 6:33 PM, Paul Franz wrote: > Can a custom NSControl/NSCell combo be used in a normal NSView? Yes. This type of question implies you may want to dig a little more deeply in the view documentation. http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/CocoaViewsGuide/i

Re: Custom Cocoa Component/Control

2009-01-21 Thread Paul Franz
Can a custom NSControl/NSCell combo be used in a normal NSView? Paul Franz Scott Ribe wrote: You probably need a custom NSCell subclass, and you'll set that to be the cell class used by the browser. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: Custom Cocoa Component/Control

2009-01-20 Thread Scott Ribe
You probably need a custom NSCell subclass, and you'll set that to be the cell class used by the browser. -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Custom Cocoa Component/Control

2009-01-20 Thread Paul Franz
Mike, So I should use NSBrowser or an NSCollectionView to manage the different icons that will be in the window. But to do this, do I need to subclass the NSControl or the NSCell or both or will the NSCollectionView/NSBrowser handle the draw of the icons/images w/text? Paul Franz Mike Abd

Re: Custom Cocoa Component/Control

2009-01-20 Thread Mike Abdullah
Trying to recreate this much behaviour yourself is almost certainly a bad idea. Instead, look into NSBrowser or NSCollectionView. Mike. On 20 Jan 2009, at 03:16, Paul Franz wrote: I know this is a noob question but I do not know where to look. I come for a Java background. So I know what to