• 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 transformer direction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core data transformer direction


  • Subject: Re: Core data transformer direction
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 3 Jul 2008 00:45:06 -0700

On Jul 2, 2008, at 23:37, mmalc crawford wrote:

It's not clear in what way the first paragraph "says that the forward transformation is NSData->SomeClass" -- it states that the transformer is used "to convert the attribute to and from an instance of NSData" -- at worst it's ambiguous. The second paragraph makes a definite statement that is unambiguous.


Yes, I ended up saying that apparently the documentation can be read as literally correct, but it's a *little* bit more than ambiguous -- because it's also surprising, given the way it's worded, that there's no "default" to-NSData transformer, just default behavior that happens to use the from-NSData transformer NSKeyedUnarchiveFromData as an implementation detail. Since '[attributeDescription setValueTransformerName: NSKeyedUnarchiveFromDataTransformerName]' won't work, why mention NSKeyedUnarchiveFromDataTransformerName at all?

But that's beside the point. I wasn't trying to beat up the documentation, just asking for clarification/confirmation.




_______________________________________________

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 transformer direction (From: Quincey Morris <email@hidden>)
 >Re: Core data transformer direction (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: How to converting a Carbon nib to Cocoa?
  • Next by Date: Loading Debugger After playing audio file
  • Previous by thread: Re: Core data transformer direction
  • Next by thread: [ANN] FileView framework available
  • Index(es):
    • Date
    • Thread