Instance Property


A representation of the ordered set as an array.


@property(readonly, strong) NSArray<ObjectType> *array;


This returns a proxy object for the receiving ordered set, which acts like an immutable array.

While you cannot mutate the ordered set through this proxy, mutations to the original ordered set will be reflected in the proxy and it will appear to change spontaneously, because a copy of the ordered set is not being made.

See Also

Converting Other Collections


A representation of the set containing the contents of the ordered set.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software