File's owner as target of button-action
File's owner as target of button-action
- Subject: File's owner as target of button-action
- From: "Andreas Eriksson" <email@hidden>
- Date: Tue, 7 Oct 2008 20:34:21 +0200
I have a nib-file with the File's Owner class set to my own subclass of
NSViewController. The nib-file also contains a custom view with a button whose
target and action is set to a method in File's Owner.
The trouble is that I get EXC_BAD_ACCESS when I click the button and it tries
to call my action method.
I guess I have misunderstood something here. Is there something special about
File's Owner that prevents this from working?
Regards,
Andreas
_______________________________________________
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