displayableSubpredicates(of:)
Returns the subpredicates that should be made sub-rows of a given predicate.
Declaration
func displayableSubpredicates(of predicate: NSPredicate) -> [NSPredicate]?Parameters
- predicate:
A predicate object.
Return Value
The subpredicates that should be made sub-rows of predicate. For compound predicates (instances of NSCompoundPredicate), the array of subpredicates; for other types of predicate, returns nil. If a template represents a predicate in its entirety, or if the predicate has no subpredicates, returns nil.
Discussion
You can override this method to create custom templates that handle complicated compound predicates.