Is there a shorthand declaration in Swift for an empty Set similar to Array

前端 未结 0 1301
长情又很酷
长情又很酷 2020-11-27 07:47

In short, with Swift I can declare an empty Array of a particular type with something akin to the following (without having to use the initializer syntax):

var

相关标签:
回答
  • 消灭零回复
提交回复
热议问题