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
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 mails | Author | Date |
|---|---|---|
| John R. Timmer | Jun 25, 20:21 | |
| Matthew Firlik | Jun 25, 20:32 |






Cocoa mail archive

