On 12/09/2012, at 8:54 AM, Chuck Soper <chu...@veladg.com> wrote:

> I think I could use a view based table
> with one row with the number of columns equal to the number of colors.
> Does this sound like a reasonable approach?


It sounds like it should be straightforward enough, except for the table view 
part. It doesn't seem to be to be a close enough fit to your requirements that 
it would be worth bothering trying to make it work that way. Instead, just 
create a custom view/controller that implements this display and have methods 
for adding, removing and reordering colours in that view.

A "one row table" is almost a contradiction in terms - if it has only one row, 
it's not a table. I see nothing in NSTableView that would bring anything to 
this that you couldn't do in a simpler and more direct way by just writing your 
own view subclass and a controller for it. It may sound like more work, but in 
fact it's sure to be less.

--Graham


_______________________________________________

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

Reply via email to