Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Predicate builder severely limited / broken?



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.