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: Vyacheslav Karamov <email@hidden>
- Date: Tue, 10 May 2011 10:41:09 +0300
But the question is how to do it in IB.
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