Instance Property

predicateFormat

The predicate's format string.

Declaration

var predicateFormat: String { get }

Discussion

The return value of this property is not guaranteed to be the same as the string used to create the predicate using predicateWithFormat: or similar methods.

You cannot use this method to create a persistent representation of a predicate suitable for recreating the original predicate. If you need a persistent representation of a predicate, create an archive instead, as described in Object archiving (NSPredicate adopts the NSCoding protocol).