Obtains a specified value from a set.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The set to examine.
The value for which to search in
the. Comparisons are made using the equal callback provided when
thewas created. If the equal callback was
NULL, pointer equality (in C, ==) is used.
A pointer to the requested value, or
NULL if the value is not in
the. If the value is a Core Foundation object, Ownership follows the The Get Rule.
Since this function uses the equal callback,
value all elements in the set must be understood by the equal callback. Depending on the implementation of the equal callback specified when creating
the, the value returned may not have the same pointer equality as