• 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
Predicate builder severely limited / broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Predicate builder severely limited / broken?


  • Subject: Predicate builder severely limited / broken?
  • From: "Christoffer" <email@hidden>
  • Date: Fri, 28 Oct 2005 10:29:55 +0800

I am trying to write a few fetched properties for an entity but am running into problems.
Apparently any predicate that involves arithmetic, such as "a == b + 1" or even "a == 1 + 1" ("a = 2" works of course) fails during build with the following exception:

2005-10-27 17:57:41.182 momc[3295] *** +[_NSPredicateUtilities encodeWithCoder:]: selector not recognized
2005-10-27 17:57:41.183 momc[3295] *** Uncaught exception: <NSInvalidArgumentException> *** +[_NSPredicateUtilities encodeWithCoder:]: selector not recognized

Is this a broken feature or why can't this predicate be serialized? The predicate works as expected if generated in the code itself.

It looks like anything Predicate Builder can't parse into components is shown as a single "Expression", and such an expression also happens to be what Predicate Builder's utilities fail to be able to serialize...?


/Christoffer

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: distributed build limited to 6 CPUs
  • Next by Date: Re: distributed build limited to 6 CPUs
  • Previous by thread: Re: distributed build limited to 6 CPUs
  • Next by thread: XCode 2.2
  • Index(es):
    • Date
    • Thread