美文网首页
100 Days of SwiftUI 02

100 Days of SwiftUI 02

作者: 脑子 | 来源:发表于2020-11-03 05:11 被阅读0次

数组按顺序,[red, green, blue]
集合不重复,Set(["red", "green", "blue"])
元组定长度,var name = (first: "Taylor", last: "Swift")
字典有键值,let top3NBAHeights = ["姚明": 2.28]
枚举要分组 enum PostListCategory { case recommend, hot}

相关文章

网友评论

      本文标题:100 Days of SwiftUI 02

      本文链接:https://www.haomeiwen.com/subject/mfavvktx.html