Decodes a single value, whose Objective-C type is given by
- iOS 2.0–11.0Deprecated
- macOS 10.0–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
- watchOS 2.0–4.0Deprecated
value must contain exactly one type code, and the buffer specified by
data must be large enough to hold the value corresponding to that type code. For information on creating an Objective-C type code suitable for
value, see Type Encodings.
Subclasses must override this method and provide an implementation to decode the value. In your overriding implementation, decode the value into the buffer beginning at
This method matches an
encode message used during encoding.