摘要:
import UIKit private let CycleCellID = "CycleCellID" class BannerCycleView: UIView { var layout : UICollectionViewFlowLayout! var collectionView :UICo 阅读全文
摘要:
以下是指南针四个方向的一个例子: enum CompassPoint { case North case South case East case West } 多个成员值可以出现在同一行上,用逗号隔开: enum Planet { case Mercury, Venus, Earth, Mars, 阅读全文
摘要:
import UIKit import Alamofire enum MethodType{ case GET case POST } class NetworkTool: NSObject { class func request(type : MethodType ,urlString : St 阅读全文