摘要: OC中的for循环写法: for (int i = 0;i < 100;i++) { NSLog(@"i=%zd",i); } Swift中的for循环写法: let a = 100; for i in 0 ..< a { print("a=\(i)"); } Swift中for循环不需要i的写法: 阅读全文
posted @ 2019-03-11 10:02 whx060900 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1第一步是我们获取数据源 一般我们都是从接口请求数据 NSArray *subColumnsArray = nil; NSDictionary *dict = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMuta 阅读全文
posted @ 2019-03-11 09:59 whx060900 阅读(4479) 评论(0) 推荐(0) 编辑