Re: simpleBrowser example has setCellClass setting a cell to an instance?
Re: simpleBrowser example has setCellClass setting a cell to an instance?
- Subject: Re: simpleBrowser example has setCellClass setting a cell to an instance?
- From: Jens Alfke <email@hidden>
- Date: Tue, 29 Sep 2009 17:28:14 -0700
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)factoryId;
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden