摘要: 1. 枚举: ->在Swift中依然适用整数来标示枚举值,需搭配case关键字 enum Celebrity{ case DongXie,XiDu,Nandi,BeiGai } // 从左到右对应0,1,2,3 enum CompassPoint { case North case South ca 阅读全文
posted @ 2016-02-25 23:06 阿甘左 阅读(543) 评论(0) 推荐(0) 编辑