Throws an error when the value specified by a given pointer is not valid for a given key path relative to the receiver.
- iOS 2.0+
- macOS 10.3+
- tvOS 9.0+
- watchOS 2.0+
A pointer to a new value for the property identified by
in. This method may modify or replace the value in order to make it valid.
The name of one of the receiver's properties. The key path must specify an attribute or a to-one relationship. The key path has the form
property(with one or more relationships); for example
.manager .last Name
A Boolean that is
true if the value pointed at by
io is valid for the property identified by
in, or if the method is able to modify the value at
io to make it valid; otherwise