• 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
Binding NSPopupButton crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Binding NSPopupButton crashes
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Moving An NSTableView From One View To Another
  • Next by Date: Re: Simple dealloc question
  • Previous by thread: Re: Moving An NSTableView From One View To Another
  • Next by thread: Re: Binding NSPopupButton crashes
  • Index(es):
    • Date
    • Thread