Re: image in CoreData
Re: image in CoreData
- Subject: Re: image in CoreData
- From: "I. Savant" <email@hidden>
- Date: Thu, 6 Nov 2008 16:58:41 -0500
On Thu, Nov 6, 2008 at 1:09 PM, Georg Seifert <email@hidden> wrote:
> I have a NSCollectionView populated with bindings. I want to show images
> witch are generated dynamically. I do not want to store those images in
> CoreData (at least not written to disk).
>
> should I use an extra dictionary? Or subclass my entity?
If you subclass your entity and add a dynamic attribute (that hands
back the generated image as NSData), you can bind the NSImageView's
data binding to that attribute.
--
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