Creates a value object containing the specified value, interpreted with the specified Objective-C type.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A pointer to data to be stored in the new value object.
The Objective-C type of
value, as provided by the
@encode()compiler directive. Do not hard-code this parameter as a C string.
A new value object that contains
value, which is interpreted as being of the Objective-C type
This method has the same effect as
value and may be deprecated in a future release. You should use