Getting Bindings from an Observer
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.