archiving a predicate
archiving a predicate
- Subject: archiving a predicate
- From: "John R. Timmer" <email@hidden>
- Date: Sun, 25 Jun 2006 14:21:40 -0400
I tried to use an NSValueTransformer to convert an NSPredicate to
data, but it doesn't seem to work (the following gets logged:
"exception: *** -encodeObject:forKey: only defined for abstract
class. Define -[NSArchiver encodeObject:forKey:]!"). I could break
the predicate down into format string and the values to substitute,
but it's supposedly NSCoding compliant. Any advice on how to handle
this?
Cheers,
JT
____________________________________
Science writer, Ars Technica (among other things)
http://arstechnica.com/journals/science.ars
_______________________________________________
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