I am fairly new to Cocoa (but not programming). I have a data model containing an entity with a String attribute representing a path to a folder. I am trying to use IB to bind an NSPathControl widget to the attribute in the window controller. I assume I need a value transformer to convert NSURL to String and back. I have written a crude one to do this, but it fails. In IB I have set the content path to the attribute name and the value transformer to the name of the transformer class. When I run the app the transformer is called during initialisation, but the value passed is an instance of NSCVString, which makes no sense to me.

Has anyone any idea what could be wrong or could point me to a tutorial that deals with this.

Cheers
Keith
_______________________________________________

Cocoa-dev mailing list ([email protected])

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