• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
      • From: Ben Lachman <email@hidden>
  • Prev by Date: Re: Causing CFLog error messages
  • Next by Date: Raw pixel data <-> jpeg
  • Previous by thread: Re: Causing CFLog error messages
  • Next by thread: Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Index(es):
    • Date
    • Thread