• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: simpleBrowser example has setCellClass setting a cell to an instance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simpleBrowser example has setCellClass setting a cell to an instance?


  • Subject: Re: simpleBrowser example has setCellClass setting a cell to an instance?
  • From: jon <email@hidden>
  • Date: Tue, 29 Sep 2009 18:35:02 -0600

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:

  [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


  • Follow-Ups:
    • Re: simpleBrowser example has setCellClass setting a cell to an instance?
      • From: Ken Ferry <email@hidden>
References: 
 >Re: NSTextField, drawing the text offset to the right in the field (From: Matt Neuburg <email@hidden>)
 >simpleBrowser example has setCellClass setting a cell to an instance? (From: jon <email@hidden>)
 >Re: simpleBrowser example has setCellClass setting a cell to an instance? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Fast transition between two graphics
  • Next by Date: Re: Static Analyzer Question
  • Previous by thread: Re: simpleBrowser example has setCellClass setting a cell to an instance?
  • Next by thread: Re: simpleBrowser example has setCellClass setting a cell to an instance?
  • Index(es):
    • Date
    • Thread