• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best Control for a Matrix these days?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best Control for a Matrix these days?


  • Subject: Re: Best Control for a Matrix these days?
  • From: Jonathan Mitchell <email@hidden>
  • Date: Fri, 04 Dec 2015 13:37:35 +0000

> On 4 Dec 2015, at 11:21, Dave <email@hidden> 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 <email@hidden> 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 <email@hidden> 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@hidden <mailto: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 <http://lists.apple.com/>
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden <mailto:email@hidden>
> _______________________________________________
>
> 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

Regards

Jonathan Mitchell
Mugginsoft LLP

email@hidden
-----------------------------------------------------------------------------
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 (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


References: 
 >Best Control for a Matrix these days? (From: Dave <email@hidden>)
 >Re: Best Control for a Matrix these days? (From: "Gary L. Wade" <email@hidden>)
 >RE: Best Control for a Matrix these days? (From: Lee Ann Rucker <email@hidden>)
 >Re: Best Control for a Matrix these days? (From: Dave <email@hidden>)

  • Prev by Date: Re: Best Control for a Matrix these days?
  • Next by Date: ARC and IBOutlet - strong vs weak......
  • Previous by thread: Re: Best Control for a Matrix these days?
  • Next by thread: Re: Best Control for a Matrix these days?
  • Index(es):
    • Date
    • Thread