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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to