Re: IB Plugin - Can't drag to custom content view
Re: IB Plugin - Can't drag to custom content view
- Subject: Re: IB Plugin - Can't drag to custom content view
- From: Jonathan Hess <email@hidden>
- Date: Fri, 2 May 2008 15:18:02 -0700
Hey Brandon -
It sounds like you're inserting your object manually and you didn't
add your new object to the document. Does it appear in document
window's outline view? If not, you need to invoke -[IBDocument
addObject:toParent:] prior to inserting the object into the view
hierarchy.
Good Luck -
Jon Hess
On May 2, 2008, at 2:46 PM, Brandon Walkin wrote:
Hi,
I have an Interface Builder plugin that replaces an NSWindow's
content view with a new NSView that the plugin instantiates at
runtime. The window takes the content view without a problem, but IB
won't allow me to drag library items to this new content view. I'm
also unable to select the content view to see its details in the
inspector.
How can I get IB to let me drag items to this content view? I've
tried returning self from -ibDesignableContentView but it didn't
resolve the problem.
Thanks,
Brandon
_______________________________________________
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
_______________________________________________
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