• 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
Re: Unrecognized Selector Exception from IBAction's?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unrecognized Selector Exception from IBAction's?


  • Subject: Re: Unrecognized Selector Exception from IBAction's?
  • From: Dave <email@hidden>
  • Date: Thu, 03 Sep 2015 15:38:43 +0100

Hi,

> It looks like the buttons may be hooked up to an object of the wrong class? Your actions aren’t defined in NSConcreteHashTable. Check your connections.
>
> David

The Action Handlers are defined in LTWDisclosureViewController and LTWDetailViewController as shown in the original post.

The File’s owner in the LTWDetailViewController.xib is set to LTWDetailViewController and this is a subclass of LTWDisclosureViewController.

leftButtonAction and leftRightAction are hooked up in IB and defined in LTWDetailViewController.

toggleDisclosureAction  is hooked up in IB and defined in LTWDisclosureViewController.

If I open the NIB file and the above .m files and hover the mouse over the IBAction’s in the .m, it lights up the corresponding Control in IB.

I’m a bit lost as to know where to start to track this down. The only thing I can think of is that the VC is created in code inside the WindowController and the ViewController is using the WindowController as the file’s owner, but then it shouldn’t/wouldn’t light up in IB?

Thanks in advance for any help.

All the Best
Dave




_______________________________________________

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


References: 
 >Unrecognized Selector Exception from IBAction's? (From: Dave <email@hidden>)
 >Re: Unrecognized Selector Exception from IBAction's? (From: David Durkee <email@hidden>)

  • Prev by Date: Swift generics, circular type declarations, and segfaults, oh my!
  • Next by Date: Re: Unrecognized Selector Exception from IBAction's?
  • Previous by thread: Re: Unrecognized Selector Exception from IBAction's?
  • Next by thread: Autolayout and Scroll Views?
  • Index(es):
    • Date
    • Thread