Predicate builder severely limited / broken?
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