• 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: How to get custom widgets into nib file window ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get custom widgets into nib file window ?


  • Subject: Re: How to get custom widgets into nib file window ?
  • From: Ricky Sharp <email@hidden>
  • Date: Tue, 05 Apr 2005 13:19:27 -0500

On Tuesday, April 05, 2005, at 01:12PM, Sean McBride <email@hidden> wrote:

>On 2005-04-05 13:52, Robert Miller said:
>
>>Yes, the palette widgets show up correctly in the main palette
>>window. I'd like to be able to drag the widget directly into the nib
>>file window and then have an object automatically instantiated,
>>similar to how CustomView in the main palette window behaves.
>
>hmmm, that works for my palettes.  I followed the example in Hillegass'
>book, do you have it by any chance?
>
>Wait, are you trying to drag your view into a *window* (ie NSWindow in
>your nib) or into your nib file itself?

If that's the case, then I'm not sure it's possible.  None of my widgets, or even the bulk of the Cocoa widgets (e.g. NSButton, NSBox, etc.) can be dragged into the nib itself (or instantiated from the Classes menu).  I think the functionality to do this with the custom view is a special case within IB.

Is there a specific reason why you'd want to do this? Versus just having say a placeholder panel contain the widget?

--
Rick Sharp
Instant Interactive(tm)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to get custom widgets into nib file window ?
      • From: Robert Miller <email@hidden>
References: 
 >How to get custom widgets into nib file window ? (From: Robert Miller <email@hidden>)
 >Re: How to get custom widgets into nib file window ? (From: "Sean McBride" <email@hidden>)
 >Re: How to get custom widgets into nib file window ? (From: Robert Miller <email@hidden>)
 >Re: How to get custom widgets into nib file window ? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: How to get custom widgets into nib file window ?
  • Next by Date: Re: Recommended Reading
  • Previous by thread: Re: How to get custom widgets into nib file window ?
  • Next by thread: Re: How to get custom widgets into nib file window ?
  • Index(es):
    • Date
    • Thread