• 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: Value Transformer Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Value Transformer Name


  • Subject: Re: Value Transformer Name
  • From: Richard Somers <email@hidden>
  • Date: Fri, 10 Apr 2009 12:27:47 -0600

On Apr 10, 2009, at 11:54AM, Quincey Morris wrote:

Core Data runs a custom transformer in the forward direction, but it runs the default transformer in the reverse direction.

The documentation states "Core Data uses an instance of NSValueTransformer to convert the attribute to and from an instance of NSData. By default, Core Data uses the NSKeyedUnarchiveFromDataTransformerName transformer."


So a single instance of NSValueTransformer is used in both directions and the default is an instance of NSKeyedUnarchiveFromDataTransformerName transformer.

You could be right but the documentation explicitly states otherwise.

Richard

_______________________________________________

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


  • Follow-Ups:
    • Re: Value Transformer Name
      • From: Quincey Morris <email@hidden>
References: 
 >Value Transformer Name (From: Richard Somers <email@hidden>)
 >Re: Value Transformer Name (From: Keary Suska <email@hidden>)
 >Re: Value Transformer Name (From: Quincey Morris <email@hidden>)
 >Re: Value Transformer Name (From: Richard Somers <email@hidden>)
 >Re: Value Transformer Name (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: best way to skin a QTMovie Player
  • Next by Date: Re: Changing CAConstraint for a CALayer
  • Previous by thread: Re: Value Transformer Name
  • Next by thread: Re: Value Transformer Name
  • Index(es):
    • Date
    • Thread