Open the view that contains the matrix in IB. Then, open the matrix. The first cell should be called "Prototype Button Cell (Radio)" or something like that. Select that prototype cell. Select "Tools -> Identity Inspector". The class identity lets you select which class this cell should be.
-Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software [email protected] On May 10, 2011, at 03:41, Vyacheslav Karamov wrote: > 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. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
