That doesn't give you enough control over row/column layout. How about nested NSStackViews? ________________________________________
NSCollectionView -- Gary L. Wade (Sent from my iPad) https://urldefense.proofpoint.com/v2/url?u=http-3A__www.garywade.com_&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=ie7S-J__EKnfyVOBV7-jV2rZ--p47O6vkyTklpDM3h4&m=Ovx3p7ZngLjpJw59NjTdXanjpTLNJOtQ2jbtXQvp1LU&s=bN3Fn68sVADDHN4nV5L5JDZKhAD1-eJgMxuVVWacYjg&e= > On Dec 3, 2015, at 5:00 AM, Dave <[email protected]> wrote: > > Hi, > > This is a Mac question, not iOS. > > Which Class is the latest best practise for displaying a matrix in a View. > > The matrix can be maximum 3 rows x 4 columns and each item contains a small > Icon type image and a Text String. > > I get an array of arrays and two parameters that tell me how many rows and > columns to populate: > > numColumns = 3; > numRows = 2; > > Would be: > > columnArray [0] = rowArray[0] - Payload Object > columnArray [0] = rowArray[1] - Payload Object > > columnArray [1] = rowArray[0] - Payload Object > columnArray [1] = rowArray[1] - Payload Object > > columnArray [2] = rowArray[0] - Payload Object > columnArray [2] = rowArray[1] - Payload Object > > > Thanks a lot > All the Best > Dave > _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/lrucker%40vmware.com This email sent to [email protected] _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
