• 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: Custom NSView in IB palette
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom NSView in IB palette


  • Subject: Re: Custom NSView in IB palette
  • From: Rolland Bryan <email@hidden>
  • Date: Wed, 23 Nov 2005 17:21:19 +0200
  • Thread-topic: Custom NSView in IB palette

Thank you. That confirms I'm on the right track for "containerisation" part
of my question.

Hopefully Apple will document this stuff someday soon.


On 11/23/05 4:35 PM, "Todd Ransom" <email@hidden> wrote:

> You might take a look at the RBSplitView source. It should answer the
> question of how to make it a container.
>
> http://www.brockerhoff.net/src/rbs.html
>
> Todd Ransom
> Return Self Software
> http://returnself.com
>
>
>
> On Nov 23, 2005, at 6:24 AM, Rolland Bryan wrote:
>
>> The standard IB CustomView control features (amongst other things) the
>> following behavior:
>>
>> 1. It can act as a container, nesting other controls, such as buttons,
>> tabviews etc.
>> 2. It can be dragged into the NIB itself, rather than a Window
>> 3. It can be dragged into a Window
>>
>> I am trying to create my own palette containing an NSView subclass
>> that
>> exhibits the same behaviour. By using
>> associateObject:ofType:withView: I can
>> achieve 2 with the ofType: parameter set to IBWindowPboardType, and
>> 3 by
>> setting it to IBViewPboardType. I can not create a single palette
>> entry that
>> will do both, as in the case of customView.
>>
>> In addition, I do not know how to make it a container.
>>
>> Can anyone help?
>>
>> Thanks
>> Rolland
>>
>>  _______________________________________________
>> 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
>

 _______________________________________________
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: Custom NSView in IB palette
      • From: Uli Kusterer <email@hidden>
References: 
 >Re: Custom NSView in IB palette (From: Todd Ransom <email@hidden>)

  • Prev by Date: Window icon for document-based app
  • Next by Date: Save menu items disabled for my NSDocument
  • Previous by thread: Re: Custom NSView in IB palette
  • Next by thread: Re: Custom NSView in IB palette
  • Index(es):
    • Date
    • Thread