SyntaxFix
Write A Post
Hire A Developer
Questions
If you are still working in Swift 1.x
then try,
let testArray = ["A","B","C"] let indexOfA = find(testArray, "A") let indexOfB = find(testArray, "B") let indexOfC = find(testArray, "C")