Re: IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside?
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: Fri, 06 May 2011 15:50:13 -0700
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