• 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: core data - beyond the simple example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: core data - beyond the simple example


  • Subject: Re: core data - beyond the simple example
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 4 Apr 2008 13:49:15 -0400

>  I'll give that a go, thanks. May I ask why NSImageCell?

  Actually, that was an incomplete thought. Using an NSImageCell would
negate the need to subclass anything. You could just drag one into the
appropriate column in Interface Builder, then bind the column to your
color property. You can then (in the bindings settings) specify a
(custom made) value transformer to turn the color into a "swatch"
image (fancy term for "solid rectangle of a given color). The image
cell will display the image of the color of the given instance of your
entity.

  Of course this doesn't allow editing. The second e-mail I sent that
mentioned NSCollectionView is probably the better way to go, since you
can use the standard NSColorWell control and ignore basically
everything I said ... ;-)

>  Well, you have to have goals :-)

  Agreed, but airline captains don't learn to fly with passenger jets
for very good reasons ... Best to start with crop dusters until you
master the basics of flight and airplane operations.

--
I.S.
_______________________________________________

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: 
 >core data - beyond the simple example (From: Torsten Curdt <email@hidden>)
 >Re: core data - beyond the simple example (From: "I. Savant" <email@hidden>)
 >Re: core data - beyond the simple example (From: Torsten Curdt <email@hidden>)
 >Re: core data - beyond the simple example (From: "I. Savant" <email@hidden>)
 >Re: core data - beyond the simple example (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: Need for a creator code?
  • Next by Date: Re: Need for a creator code?
  • Previous by thread: Re: core data - beyond the simple example
  • Next by thread: Re: core data - beyond the simple example
  • Index(es):
    • Date
    • Thread