Re: IB3 and custom controls: problem with actions

2008-07-05 Thread Vitaly Ovchinnikov
Ops, sorry. I read "control" instead of "controller". Of course I have enough IBAction's in my controller class. I can Ctrl+Drag from any standard control (NSButton or something like this). But not from the custom one. More, if I subclass standard control (like NSImageView, for example) - IB eats

Re: IB3 and custom controls: problem with actions

2008-07-05 Thread Vitaly Ovchinnikov
Chris, I have complex controls, so I don't think it's a good idea to post all the code here. Let's imagine, that I need a control that sends an action when I click it. So, the declaration will look like this: @interface MySuperControl : NSControl { // no data } // no methods @end implementatio

Re: IB3 and custom controls: problem with actions

2008-07-05 Thread Chris Hanson
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 f

Re: IB3 and custom controls: problem with actions

2008-07-05 Thread Vitaly Ovchinnikov
Thanks for the answer. I have submitted a bug. On Sat, Jul 5, 2008 at 4:18 PM, Andreas Mayer <[EMAIL PROTECTED]> wrote: > > Am 05.07.2008 um 08:37 Uhr schrieb Vitaly Ovchinnikov: > >> I didn't see "Sent Action" >> group. It doesn't look like an IB bug. Or it looks like a very big >> bug, but nobod

Re: IB3 and custom controls: problem with actions

2008-07-05 Thread Andreas Mayer
Am 05.07.2008 um 08:37 Uhr schrieb Vitaly Ovchinnikov: 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 couldn't find a way to add "Sent Actions" to a custom control either. Just hook it up per code in awakeFr

Re: IB3 and custom controls: problem with actions

2008-07-04 Thread Vitaly Ovchinnikov
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

Re: IB3 and custom controls: problem with actions

2008-07-04 Thread Vitaly Ovchinnikov
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 PROTECTED]> wrote: > > I think I've seen this a few times in I

Re: IB3 and custom controls: problem with actions

2008-07-04 Thread Chris
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 troubl