• 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
Target binding for button broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Target binding for button broken?


  • Subject: Target binding for button broken?
  • From: Charilaos Skiadas <email@hidden>
  • Date: Sun, 10 Jul 2005 11:18:03 -0500

Well, here is my problem this time. I've got an instance method in MyDocument with signature:

- (void)addSmartItemForType:(id)sender

I want to bind this to an action for a button I have in my UI. So I go to the bindings for the button, and set the target binding to MyDocument with keyPath "self", and selector addSmartItemForType:
Then I set the argument binding to be fed from an NSArrayController's selection. This controller is hooked up to a pop-up button.


The problem now is that when I run the app, and click on the button, my method never gets called, and instead I get:
GradeBook has exited due to signal 10 (SIGBUS).


Any thoughts?
Haris


_______________________________________________ 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
  • Prev by Date: Re: "untitled" vs "Untitled"
  • Next by Date: [FOLLOWUP] nil properties in Fetch Requests, part 2
  • Previous by thread: Re: nil properties in Fetch Requests
  • Next by thread: NSTextMovement
  • Index(es):
    • Date
    • Thread