Binding NSPopupButton crashes
Binding NSPopupButton crashes
- Subject: Binding NSPopupButton crashes
- From: Steve Checkoway <email@hidden>
- Date: Mon, 15 Oct 2007 10:07:17 -0700
Hi,
I am trying to bind an NSPopupButton to the user defaults in Interface
Builder as well as programatically binding a property in another class
to the same user default value. The NSPopupButton is in the
preferences window for the application.
When I do one binding or the other, the behavior is as expected. If I
do the IB binding, then changing the selection of the popup button
correctly changes the user defaults. If I do the programatic binding,
the property is set to what is in the user defaults.
When I have both bindings and try to change the selection from the
preferences window, my application crashes deep in binding code. No
message is written to the console (I have -NSBindingDebugLogLevel 1
being passed to the application).
I assume that I am misusing bindings in some way. Any help would be
much appreciated.
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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