Hi,
I want to find the index of an item in an array. I need something like this:
Can you help me?
I want to find the index of an item in an array. I need something like this:
Code Block Swift let item = Item(title: "Test") let index : Int = myArray.indexFor(item) print(index)
Can you help me?