> On 4 Dec 2015, at 11:21, Dave <d...@looktowindward.com> wrote: > > Hi All, > > Well, I’ve got plenty of options to be going on with! > > I’ve got a better “Spec” now, the Maximum is up to 3 Columns, but with a > variable number of rows in each Column. So, I don’t think I can base it on > NSTableView as (off to the top, not used NSTableVIew on Mac for a long time), > I seem to remember it supports a fixed number of Rows per Column….. The guts of what I use is here. SorryI forgot to post it earlier.
https://gist.github.com/Thesaurus/f6e6d60495cb8f29eb48/edit > > I leaning towards doing it either as Nested Stack Views or just as an NSView > Subclass, although the Auto-Layout stuff complicates this greatly so I think > is the way to go on this……… > > All the Best > Dave > >> On 3 Dec 2015, at 18:54, Lee Ann Rucker <lruc...@vmware.com> wrote: >> >> 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= >> >> <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 <d...@looktowindward.com> 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 (Cocoa-dev@lists.apple.com >> <mailto:Cocoa-dev@lists.apple.com>) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> <http://lists.apple.com/> >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/lrucker%40vmware.com >> <https://lists.apple.com/mailman/options/cocoa-dev/lrucker%40vmware.com> >> >> This email sent to lruc...@vmware.com <mailto:lruc...@vmware.com> > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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/jonathan%40mugginsoft.com > > This email sent to jonat...@mugginsoft.com Regards Jonathan Mitchell Mugginsoft LLP jonat...@mugginsoft.com ----------------------------------------------------------------------------- KosmicTask - the Integrated Scripting Environment for OS X. http://www.mugginsoft.com/KosmicTask ----------------------------------------------------------------------------- Follow on Twitter @KosmicTask ----------------------------------------------------------------------------- Github http://github.com/mugginsoft _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com