• 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
Error Message with Core Data/Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error Message with Core Data/Bindings


  • Subject: Error Message with Core Data/Bindings
  • From: J Tichenor <email@hidden>
  • Date: Thu, 23 Jun 2005 15:44:58 -0700

I am pulling my hair out trying to find where the problem is. I have a very simple test app using Core Data -- one entity, with four properties. It's bound to a table. As simple as it gets. But when I try and change one of the values in the table, I get the following message:

"Unacceptable type of value for attribute: property = "numberOfUnits"; desired type = NSNumber; given type = NSCFString; value = 2."

Obviously what I am entering in the table column is reading as a String instead of Number to Core Data. I have blown away the table and added a new one. There is no formatters. I have also blown away the Data Model file and started over, but still get the same message on the same column. I have a feeling this is bugged.

Next step will be to blow away the project and start over, but I'd rather not. Has anyone come across this error?

TIA

James Tichenor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Error Message with Core Data/Bindings
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: NSTabView problem under Tiger
  • Next by Date: Re: Calling CFM Code
  • Previous by thread: Re: Cocoa-dev Digest, Vol 2, Issue 960
  • Next by thread: Re: Error Message with Core Data/Bindings
  • Index(es):
    • Date
    • Thread