• 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
Getting Bindings from an Observer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting Bindings from an Observer


  • Subject: Getting Bindings from an Observer
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Wed, 3 Dec 2003 10:31:54 -0500

I have a group of MSMenuItems, each of which is hooked up to a couple of
keys in shared user defaults. The title of the menu item is bound to a key
in the defaults. In addition, the image of the menu item is a 16X16 pixel
image drawn by a value transformer based on a color object stored in an
NSData object that is kept in user defaults.

When one of the menu items invokes its action, I would like to find out
which color its image is bound to in the user defaults. I realize this is
perhaps an RTFM question, but how would I do that? I've pounded through the
docs without success.

Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSMutableString Exemplars
  • Next by Date: Creating small controls programmatically
  • Previous by thread: Re: ASKNibConnector class not found
  • Next by thread: Creating small controls programmatically
  • Index(es):
    • Date
    • Thread