Contents

setPredicate(_:)

Sets the value of the views according to the given predicate.

Declaration

func setPredicate(_ predicate: NSPredicate)

Parameters

  • predicate:

    The predicate value for the receiver.

Discussion

This method is only called if match(for:) returned a positive value for the receiver.

You can override this to set the values of custom views.

See Also

Primitive Methods