Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliessolved.tooltip
Replied In
Array Index Out of Range?
If I understood that correctly, you want the elements of the getArray () method to be equal to the arraylist myArray.That is my suggestion://Array
var myArray: [String] = []
//Set the data
myArray = getArray()
//Method
func getArray() -> [String] {
return ["a","b","c"]
}