• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
archiving a predicate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: archiving a predicate
      • From: Matthew Firlik <email@hidden>
  • Prev by Date: Core data issue with transient and binary data properties
  • Next by Date: Re: archiving a predicate
  • Previous by thread: Core data issue with transient and binary data properties
  • Next by thread: Re: archiving a predicate
  • Index(es):
    • Date
    • Thread