0
Swift, Array[T]. What mean [T] ?
Swift, Array[T]. What mean [T] ?
2 Answers
+ 2
I don't know swift, but it sounds like T is a generic type to me 🤔
0
I dont know if im understanding your question correctly, but i believe that the [T] is suppose to be where you put the initializer, meaning whether your array will be am [int], [double, [string], etc