Encodes a size structure and associates it with the given string key.
SDKs
- macOS 10.2+
- Mac Catalyst 13.0+
Framework
- Foundation
Encodes a size structure and associates it with the given string key.
SDKs
Framework
- encode Array Of Obj CType: count: at:
Encodes an array of the given Objective-C type, provided the number of items and a pointer.
- encode Bool: for Key:
Encodes a Boolean value and associates it with the string key
.
- encode Bycopy Object:
An encoding method for subclasses to override such that it creates a copy, rather than a proxy, when decoded.
- encode Byref Object:
An encoding method for subclasses to override such that it creates a proxy, rather than a copy, when decoded.
- encode Bytes: length:
Encodes a buffer of data of an unspecified type.
- encode Bytes: length: for Key:
Encodes a buffer of data, given its length and a pointer, and associates it with a string key.
- encode Conditional Object:
An encoding method for subclasses to override to conditionally encode an object, preserving common references to it.
- encode Conditional Object: for Key:
An encoding method for subclasses to override to conditionally encode an object, preserving common references to it, only if it has been unconditionally encoded.
- encode Data Object:
Encodes a given data object.
- encode Double: for Key:
Encodes a double-precision floating point value and associates it with the string key.
- encode Float: for Key:
Encodes a floating point value and associates it with the string key.
- encode Int: for Key:
Encodes a C integer value and associates it with the string key.
- encode Integer: for Key:
Encodes an integer value and associates it with the string key.
- encode Int32: for Key:
Encodes a 32-bit integer value and associates it with the string key.
- encode Int64: for Key:
Encodes a 64-bit integer value and associates it with the string key.
- encode Object:
Encodes an object.
- encode Object: for Key:
Encodes an object and associates it with the string key.
- encode Point:
Encodes a point.
- encode Point: for Key:
Encodes a point and associates it with the string key.
- encode Property List:
Encodes a property list.
- encode Rect:
Encodes a rectangle structure.
- encode Rect: for Key:
Encodes a rectangle structure and associates it with the string key.
- encode Root Object:
An encoding method for subclasses to override to encode an interconnected group of objects, starting with the provided root object.
- encode Size:
Encodes a size structure.
- encode Value Of Obj CType: at:
Encodes a value of the given type at the given address.
- encode Values Of Obj CTypes:
Encodes a series of values of potentially differing Objective-C types.