I have many occasions when a model's property needs to be transformed to another type for use in a view. In this case I have a string of pipe separated values that need to be transformed into a NSMutableArray, manipulated in the interface and then converted back to the pipe separated string before saving the model. Should this be in the model or in the controller or are there no hard set rules?

FWIW: NSValueTransformer, for some reason, does not perform/call the reverse transformation back to a string when an array controller is bound to my model's property... it will display the transformed value but like others I found it does not reverse the array back to a string.


Thanks
_______________________________________________

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 arch...@mail-archive.com

Reply via email to