• 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: associating a custom view for each object in a core data entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: associating a custom view for each object in a core data entity


  • Subject: Re: associating a custom view for each object in a core data entity
  • From: Chuck Soper <email@hidden>
  • Date: Tue, 11 Sep 2012 17:50:34 -0700
  • Thread-topic: associating a custom view for each object in a core data entity

On 9/11/12 4:36 PM, "Graham Cox" <email@hidden> wrote:
>On 12/09/2012, at 8:54 AM, Chuck Soper <email@hidden> 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 (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: 
 >Re: associating a custom view for each object in a core data entity (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: associating a custom view for each object in a core data entity
  • Next by Date: Cocoaheads Lake Forest meets tomorrow (Wednesday) night
  • Previous by thread: Re: associating a custom view for each object in a core data entity
  • Next by thread: Cocoaheads Lake Forest meets tomorrow (Wednesday) night
  • Index(es):
    • Date
    • Thread