Adds a value to an array giving it the new largest index.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The array to which
valueis to be added. If
theis a limited-capacity array and it is full before this operation, the behavior is undefined.
A CFType object or a pointer value to add to
value parameter is retained by
the using the retain callback provided when
the was created. If
value is not of the type expected by the retain callback, the behavior is undefined. The
value parameter is assigned to the index one larger than the previous largest index and the count of
the is increased by one.