- validateValue:forKey:error:
A pointer to a new value for the property identified by in
ey
. This method may modify or replace the value in order to make it valid.
Availability
Technology
ioValue
A pointer to a new value for the property identified by in
ey
. This method may modify or replace the value in order to make it valid.
inKeyPath
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 relationship
.
property
(with one or more relationships); for example department
or department
.
outError
If validation is necessary and io
is not transformed into a valid value, upon return contains an NSError
object that describes the reason that io
is not a valid value.
A Boolean that is YES
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 NO
.
The default implementation of this method gets the destination object for each relationship using value
and returns the result of calling the validate
method for the property.
- validateValue:forKey:error: