Skip navigation.
 
mlarchiving a predicate
FROM : John R. Timmer
DATE : Sun Jun 25 20:21:40 2006

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

Related mailsAuthorDate
mlarchiving a predicate John R. Timmer Jun 25, 20:21
mlRe: archiving a predicate Matthew Firlik Jun 25, 20:32