• 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
NSBrowser image bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser image bindings


  • Subject: NSBrowser image bindings
  • From: Hamish Allan <email@hidden>
  • Date: Fri, 2 Dec 2005 02:51:21 +0000

With the traditional datasource method for populating an NSBrowser, as well as setting the string value for an NSBrowserCell, you can also set the image, e.g., file icons in Finder's column view.

Using bindings, you can effectively set the text content of the NSBrowserCell by binding the NSBrowser's contentValues to an arrangedObjects subkey of an NSTreeController.

To set the image, it seems to me I'd need a 'contentImages' binding or similar. Am I missing something?

Thanks,
Hamish

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Is Apple's singleton sample code correct?
  • Next by Date: Re: CoreData, inheritance and plug-ins
  • Previous by thread: CoreData and plugins
  • Next by thread: Re: CoreData, inheritance and plug-ins
  • Index(es):
    • Date
    • Thread