Subscript syntax in Swift

The subscript syntax is similar to instance method syntax and computed property syntax.

 

Leave a Reply