2018年7月25日
摘要: - (void)viewDidLoad { [super viewDidLoad]; //每个Item宽高 CGFloat W = 80; CGFloat H = 100; //每行列数 NSInteger rank = 3; //每列间距 CGFloat rankMargin = (self.vi 阅读全文
posted @ 2018-07-25 16:29 强者VS弱者 阅读(172) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h" #define width_w [UIScreen mainScreen].bounds.size.width #define height_h [UIScreen mainScreen].bounds.size.height #define P 阅读全文
posted @ 2018-07-25 14:17 强者VS弱者 阅读(266) 评论(0) 推荐(0) 编辑
摘要: NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:responseObject options:NSJSONReadingAllowFragments error:nil] ; 方法:解析并转码 - (NSString*)data 阅读全文
posted @ 2018-07-25 10:23 强者VS弱者 阅读(355) 评论(0) 推荐(0) 编辑