Re: Binding and NSPopupButton
Re: Binding and NSPopupButton
- Subject: Re: Binding and NSPopupButton
- From: David Alter <email@hidden>
- Date: Fri, 21 Jul 2006 16:41:46 -0700
Resolved the issue by using my identifier in the title, and my code
in the attribute title
enjoy
-dave
On Jul 21, 2006, at 3:49 PM, David Alter wrote:
I'm using binding on a NSPopupButton, and it works great. I have
the binding connected to the selected value and using Shared User
Defaults. The popup menu is used to set a preference. When my
application is running I can lookup the key and I get the string of
the selected item in that popup menu. Seeing how the interface will
be getting localized at some point that string is not really what I
want stored in the Shared User Defaults. It would be far more
useful to have the tag of the menu item that was selected. Then
once things get localized it will still work.
In IB shows binding for the tag but it is disabled. Or should I be
using a Value Transformer? Does anyone have a nice clean way to do
this?
thank for the help
-dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40alterconsulting.net
This email sent to email@hidden
_______________________________________________
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