Can we have mixed data types in an array, in Swift?

preview_player
Показать описание
If you ever tried to put different data types in the same array, you probably got a compiler error. There is a way, though, it can be done. However, my advice to you is: don't do it!

#arraysInSwift #SwiftArrays #SwiftProgramming
Рекомендации по теме