• 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: "Vitaly Ovchinnikov" <email@hidden>
  • Date: Sat, 5 Jul 2008 10:37:44 +0400

Does anybody use custom controls? I just created new project with new
NIB, added construction like
@interface MyControl : NSControl {} @end
Opened NIB, placed Custom View object to the window, changed its type
to "MyControl", right clicked there and I didn't see "Sent Action"
group. It doesn't look like an IB bug. Or it looks like a very big
bug, but nobody reported it here....

I saw ClockControl demo project - it uses IB plugin for custom
control, but it's not a good idea to create IB plugins for each custom
control I use (and use in this project only).

On Fri, Jul 4, 2008 at 12:47 PM, Vitaly Ovchinnikov
<email@hidden> wrote:
> I restarted it few times with no result. The only thing I didn't try
> is to create a new NIB-file (really bad way since I have about 20
> forms there...)
> Still hope that some solution exists.
>
> On Fri, Jul 4, 2008 at 11:33 AM, Chris <email@hidden> wrote:
>>
>> I think I've seen this a few times in IB3. But I fiddled a bit, saved,
>> restarted and then it was working as I expected. I wrote it off to a bug at
>> the time.
>>
>>
>> On 04/07/2008, at 4:19 PM, Vitaly Ovchinnikov wrote:
>>
>>> Hello all,
>>>
>>> I'm porting my project from XCode 2.5 to 3.0 and have a big trouble
>>> with custom controls. I have some custom controls (subclassed from
>>> NSControl), that I use in Interface Builder to create GUI.  When I
>>> used IB 2.5, I placed "Custom View" object to the window, changed it's
>>> class and then I was able to Ctrl+Drag an action to controller.
>>>
>>> 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.
>>>
>>> Did I miss something?
>>>
>>> Thank you.
>>> _______________________________________________
>>>
>>> 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
>>
>>
>
_______________________________________________

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

  • Prev by Date: Re: tracking area problems on 10.4.11
  • Next by Date: multiple UndoManagers
  • 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