• 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: IB Plugin - Can't drag to custom content view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: [SOLVED] IB Plugin - Can't drag to custom content view
      • From: Brandon Walkin <email@hidden>
References: 
 >IB Plugin - Can't drag to custom content view (From: Brandon Walkin <email@hidden>)

  • Prev by Date: IB Plugin - Can't drag to custom content view
  • Next by Date: Re: XCode Link Error - What does this mean?
  • Previous by thread: IB Plugin - Can't drag to custom content view
  • Next by thread: Re: [SOLVED] IB Plugin - Can't drag to custom content view
  • Index(es):
    • Date
    • Thread