On 9/11/12 4:36 PM, "Graham Cox" <graham....@bigpond.com> wrote: >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.
Creating a custom view/controller does sound straightforward, and easier than trying to use a table. >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. I don't agree that a "one row table" is almost a contradiction in terms, but I now agree that it would be simpler and more direct to write my own view subclass and a controller. Thanks for your help! Chuck _______________________________________________ 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