Evaluates a given predicate against the mutable ordered set’s content and leaves only objects that match.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The predicate to evaluate against the set’s elements.
Adding, Removing, and Reordering Entries
Appends a given object to the end of the mutable ordered set, if it is not already a member.
Appends the given number of objects from a given C array to the end of the mutable ordered set.
Appends to the end of the mutable ordered set each object contained in a given array that is not already a member.
Inserts the given object at the specified index of the mutable ordered set, if it is not already a member.
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