• 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
Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure


  • Subject: Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • From: Ben Lachman <email@hidden>
  • Date: Mon, 10 Mar 2008 04:20:27 -0400

Is there any reason you can't write a NSString to NSData two-way value transformer? It would probably be more bulletproof than relying on something that doesn't work consistently.

->Ben
--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email@hidden
740.590.0009



On Mar 10, 2008, at 3:26 AM, Mike R. Manzano wrote:

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

_______________________________________________

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: "Mike R. Manzano" <email@hidden>
References: 
 >Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure (From: "Mike R. Manzano" <email@hidden>)

  • Prev by Date: Raw pixel data <-> jpeg
  • Next by Date: Re: Raw pixel data <-> jpeg
  • Previous by thread: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Next by thread: Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Index(es):
    • Date
    • Thread