There are different ways to declare Array in Swift. I will write few examples below: Example 1: let a : Array? = [“hello”,”hi”] – See more at: FindNerd.
↧