Returns the first index where the specified value appears in the collection.
- iOS 7.0–12.2Deprecated
- macOS 10.9–10.14.4Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–12.2Deprecated
- watchOS 2.0–5.2Deprecated
- Xcode 10.2–10.2Deprecated
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