Enumeration

NSDecodingFailurePolicy

Policies describing the action the coder should take when encountering decode failures.

Declaration

typedef enum NSDecodingFailurePolicy : NSInteger {
    ...
} NSDecodingFailurePolicy;

Topics

Failure Policies

NSDecodingFailurePolicyRaiseException

A failure policy that directs the coder to raise an exception.

NSDecodingFailurePolicySetErrorAndReturn

A failure policy that directs the coder to capture the failure as an error object.

See Also

Inspecting a Coder

allowsKeyedCoding

A Boolean value that indicates whether the receiver supports keyed coding of objects.

- containsValueForKey:

Returns a Boolean value that indicates whether an encoded value is available for a string.

decodingFailurePolicy

The action the coder should take when decoding fails.