This question already has an answer here:
- In Swift, Array [String] slicing return type doesn't seem to be [String] 5 answers
after using the prefix method on an Array I get what is called an arraySlice. How can I transform this into an Array?
I am trying to fetch Ints from FacebookGraphApi then asking for the first 3 (prefix(3)) and trying to add them into a new array.
Thank you in advance