Re: Displaying image and core data
Re: Displaying image and core data
- Subject: Re: Displaying image and core data
- From: Scott Stevenson <email@hidden>
- Date: Wed, 16 Nov 2005 15:16:32 -0800
On Nov 16, 2005, at 3:04 PM, Justin Burns wrote:
Have you tried setting NSUnarchiveFromData as your Value
Transformer in the Data bindings pane?
It seems like this would do exactly what you need, assuming you
generated your original data with something like:
[personalityController setValue:[NSArchiver
archivedDataWithRootObject:anImage];
forKeyPath:@"selection.originalPicture"]
FWIW -- he said he was using a "data" binding for the image cell, in
which case the contents should probably stay as NSData.
- Scott
--
http://theocacao.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden