• 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
Core Data Validation and -[NSCFNumber length]: selector not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data Validation and -[NSCFNumber length]: selector not recognized


  • Subject: Core Data Validation and -[NSCFNumber length]: selector not recognized
  • From: "Andrew R. Kinnie" <email@hidden>
  • Date: Sun, 11 Mar 2007 21:28:18 -0400

I have a document-based Core Data app, with an Entity containing more than one attribute.

Each of the relevant attributes is an Int16 that must be between 8 and 16, and this is set up in the model. There is an arrayController for the entity.

The user interface has a textField and a stepper both with value bindings bound to the arrayController's selection.attributeName.

Problem is, when I directly edit the textField to change the value beyond the bounds I set (8-18), after I get the expected alert and discard the changes, I can't select another textField, and keep getting this error in the RunLog:
-[NSCFNumber length]: selector not recognized


I have no idea why this is being called, and another guy I sent the project to says he isn't getting the error. . .

Does anyone know what could be causing this or what can be done about it?

Thanks in advance.

Andrew
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Core Data Validation and -[NSCFNumber length]: selector not recognized
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: PDFView setDocument: autorelease crash?
  • Next by Date: Re: Printing crash: SOLVED
  • Previous by thread: Re: performclose vs close
  • Next by thread: Re: Core Data Validation and -[NSCFNumber length]: selector not recognized
  • Index(es):
    • Date
    • Thread