Problem with Bindings, Core Data, Data Model, NSPathControl
Problem with Bindings, Core Data, Data Model, NSPathControl
- Subject: Problem with Bindings, Core Data, Data Model, NSPathControl
- From: Keith Lander <email@hidden>
- Date: Sun, 14 Dec 2008 17:59:30 +0000
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@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