On Tue, Sep 29, 2009 at 5:35 PM, jon wrote:
> oh, i was thinking that method was inherited from the NSControl class...
>
> great, so now i still can't figure out why my custom Cell methods are not
> firing still looking for the problem..
>
+cellClass is consulted whenever an NSControl nee
oh, i was thinking that method was inherited from the NSControl
class...
great, so now i still can't figure out why my custom Cell methods are
not firing still looking for the problem..
Jon.
On Sep 29, 2009, at 6:28 PM, Jens Alfke wrote:
On Sep 29, 2009, at 5:19 PM, jon wrote:
On Sep 29, 2009, at 5:19 PM, jon wrote:
[fsBrowser setCellClass: [FSBrowserCell class]];
fsBrowser is an instance,
IBOutlet NSBrowser*fsBrowser;
yet isn't setCellClass a class method?
No, it's a regular instance method; just look in NSBrowser.h:
- (void)setCellClass:(Class)facto
how is the simpleBrowser example that is provided with xcode doing this?
[fsBrowser setCellClass: [FSBrowserCell class]];
fsBrowser is an instance,
IBOutlet NSBrowser*fsBrowser;
yet isn't setCellClass a class method?
i tried the same thing and got a warning?
thanks,
Jon.
__