Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
- Subject: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
- From: "Mike R. Manzano" <email@hidden>
- Date: Mon, 10 Mar 2008 00:26:52 -0700
Here's an odd one: I have an NSTextView bound to an attribute of a
Core Data entity of type "binary". Works fine.
However, if I go into IB and check "Continuously Updates Value" on the
NSTextView's bindings settings, subsequent runs of the program tell me
that it "Cannot create NSData from object of class NSCFString".
It gets stranger. If I turn Continuously Updates Value" off, the
program still fails with the same error. I actually have to unbind the
text view, run the program, quit it, then re-bind with "Continuously
Updates Value" unselected to "fix" it again.
I am building this program on Xcode 3.1 (beta), compiling with GC, if
that makes a difference.
I'm at the end of my rope on trying to figure this one out. Can anyone
help?
Thanks,
Mike
_______________________________________________
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