Re: Recommended way to save NSPredicates in Core Data store?

2018-08-15 Thread Ken Thomases
On Aug 15, 2018, at 6:15 PM, Demitri Muna wrote: > > I'm building an interface that contains an NSPredicateEditor (think iTunes > smart playlists), and I want to save the predicate in a Core Data store. What > is the recommended way to do this? Serialize the NSPredicate object and save > it as

Recommended way to save NSPredicates in Core Data store?

2018-08-15 Thread Demitri Muna
Hi, I'm building an interface that contains an NSPredicateEditor (think iTunes smart playlists), and I want to save the predicate in a Core Data store. What is the recommended way to do this? Serialize the NSPredicate object and save it as a blob? Break apart the predicate into one or more NSEx