• 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
File's owner as target of button-action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: File's owner as target of button-action
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Next Key View doesn't "go to" pushbutton
  • Next by Date: Re: Parsing integers from strings
  • Previous by thread: Re: Next Key View doesn't "go to" pushbutton
  • Next by thread: Re: File's owner as target of button-action
  • Index(es):
    • Date
    • Thread