• 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 3x plug-in: How to add custom control which is NSMatrix with custom controls inside?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside?


  • Subject: Re: IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside?
  • From: Lee Ann Rucker <email@hidden>
  • Date: Tue, 10 May 2011 13:52:20 -0700

On May 10, 2011, at 12:41 AM, Vyacheslav Karamov wrote:

> But the question is how to do it in IB.

Yes. That is how to do it in IB - create the matrix, then select it and find its Prototype Cell. In the list view, expand the disclosure triangle to see the contents of the matrix, or in the UI there's a little button below the matrix. Use the IB inspector to change its class.

>
> 07-May-11 01:50, Lee Ann Rucker пишет:
>> On May 6, 2011, at 8:34 AM, Vyacheslav Karamov wrote:
>>
>>> Hi All!
>>>
>>> I have to support rather old project, so I had to rewrite IB 2x palette in order to open project's NIBs.
>>>
>>> In old IB 2x pallete code several instances of NSMatrix with custom controls are created:
>>>
>>>
>>> I tried to embed several Library Object Templates (with custom controls inside) into NSMatrix but I couldn't.
>>>
>>> How to create such matrices in IB 3x plug-in?
>> NSMatrix can only contain cells.  You're putting CLButtonCells in when you create it in code; you have to do the same thing in IB.
>>
>> Once you've created the matrix you can edit its Prototype Cell to use your custom class.
>>
>
> _______________________________________________
> 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

References: 
 >IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside? (From: Vyacheslav Karamov <email@hidden>)
 >Re: IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside? (From: Lee Ann Rucker <email@hidden>)
 >Re: IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside? (From: Vyacheslav Karamov <email@hidden>)

  • Prev by Date: XCode 3.2.6 Unit Testing
  • Next by Date: auriotouch
  • Previous by thread: Re: IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside?
  • Next by thread: How distribute private program to more than 100 devices?
  • Index(es):
    • Date
    • Thread