• 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: IB3 and custom controls: problem with actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB3 and custom controls: problem with actions


  • Subject: Re: IB3 and custom controls: problem with actions
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 05 Jul 2008 13:47:44 -0700

On Jul 3, 2008, at 11:19 PM, Vitaly Ovchinnikov wrote:

After upgrade to XCode 3.0 I found out that now it is impossible. Old
links are still alive (marked with yellow triangles), but I can't
create a new one. I don't see "Sent action" group by right-clicking my
controls. If I perform Ctrl+Drag from my control to the controller -
it doesn't highlited. But if I do the same for NSButton - all works
fine.

That means Interface Builder doesn't know your controller implements those actions.


The actions a control can send are not part of the control, but are part of whatever you are sending an action to. Thus your controller needs to have those actions declared in a header file in your project (or in a framework referenced by your project) in order for Interface Builder to recognize them.

What does the declaration of your controller look like?

  -- Chris


_______________________________________________

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: IB3 and custom controls: problem with actions
      • From: "Vitaly Ovchinnikov" <email@hidden>
    • Re: IB3 and custom controls: problem with actions
      • From: "Vitaly Ovchinnikov" <email@hidden>
References: 
 >IB3 and custom controls: problem with actions (From: "Vitaly Ovchinnikov" <email@hidden>)

  • Prev by Date: Re: Focus Ring in NSBrowser Column
  • Next by Date: Re: Loading a different interface
  • Previous by thread: Re: IB3 and custom controls: problem with actions
  • Next by thread: Re: IB3 and custom controls: problem with actions
  • Index(es):
    • Date
    • Thread