Programmatically creating a NSMatrix with a prototype cell question
Programmatically creating a NSMatrix with a prototype cell question
- Subject: Programmatically creating a NSMatrix with a prototype cell question
- From: David Hoerl <email@hidden>
- Date: Sat, 20 Jun 2009 13:08:21 -0400
Create a NSTextFieldCell and customize it. Create a NSMatrix using
the "prototype" init version, and display it. All the custom
formatting is gone - all cells are vanilla NSTextFieldCells.
Loop through the matrix, and set each cell to a copy of the cell I
used as a prototype, using the "putCell..." method. Now it works fine.
What's going on? [Google etc no help.]
David
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden