• 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
simpleBrowser example has setCellClass setting a cell to an instance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simpleBrowser example has setCellClass setting a cell to an instance?


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

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.


_______________________________________________

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: Jens Alfke <email@hidden>
References: 
 >Re: NSTextField, drawing the text offset to the right in the field (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Static Analyzer Question
  • Next by Date: Re: Strange Core Data save behaviour ("required relationship nil"... when it is set the line before saving)
  • Previous by thread: Re: NSTextField, drawing the text offset to the right in the field
  • Next by thread: Re: simpleBrowser example has setCellClass setting a cell to an instance?
  • Index(es):
    • Date
    • Thread