Interface Builder 3.x Plugin
Interface Builder 3.x Plugin
- Subject: Interface Builder 3.x Plugin
- From: Tomasz Kukielka <email@hidden>
- Date: Fri, 21 Mar 2008 16:17:57 -0700
- Thread-topic: Interface Builder 3.x Plugin
Hello,
I am writing come custom controls and interface elements and I also have
IBPlugin for it (for IB 3.x). It works great for me and my custom controls
show up in Library platette and I can drag them to views and use custom
inspectors. I also have a subclass of menu item which also works fine. For
some reason though I have a hard time with a NSWindow subclass. I do all
things exactly the same as for NSView based items with the exception that I
connect the represented object to my custom window inserted in the same nib
(for dragged view I use some image view but this should not be relevant).
The custom window shows up fine in Library under the specified path but as
soon as I try to drag and and drop it to nib window (not sure how to call
it, the area where all nib object icons are displayed, along with File's
Owner, other windows, etc) Interface Builder crashes somewhere in
IBObjectContainer addObject/insertObject methods.
It also crashes if I use just standard NSWindow as represented object,
without even introducing a subclass at all.
Is there something special I need to do to get NSWindow subclass working or
is it an Interface Builder bug?
Thanks,
Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden