• 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: Displaying image and core data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Displaying image and core data
      • From: Justin Burns <email@hidden>
References: 
 >Displaying image and core data (From: Kubernan from 10191 Technologies <email@hidden>)
 >Re: Displaying image and core data (From: Justin Burns <email@hidden>)

  • Prev by Date: Re: Displaying image and core data
  • Next by Date: Re: Batch faulting
  • Previous by thread: Re: Displaying image and core data
  • Next by thread: Re: Displaying image and core data
  • Index(es):
    • Date
    • Thread