【iOS 知识汇】scrollview的contentSize
摘要:scrollview的contentSize scrollView的内容高度是0,就代表它的内容不能上下滑动 scrollView.contentSize=CGSizeMake(count * scrollViewW,0);
阅读全文
posted @
2020-05-28 17:59
wp7ers
阅读(455)
推荐(0) 编辑
【iOS 知识汇】字体
摘要:UIFont 三种格式: UIFont *font =[UIFont systemFontOfSize:20]; //标准字体 UIFont *font =[UIFont italicSystemFontOfSize:20]; //斜体 UIFont *font =[UIFont boldSyste
阅读全文
posted @
2020-05-26 15:57
wp7ers
阅读(130)
推荐(0) 编辑
pod 安装
摘要:https://www.jianshu.com/p/f43b5964f582 大致能成功。外加百度。蓝灯。
阅读全文
posted @
2020-05-21 19:41
wp7ers
阅读(105)
推荐(0) 编辑
【iOS入门】数组字典的遍历EnumerateObjectsUsingBlock 记录
摘要:结论1:当只是遍历NSArray的时候使用For-in会比较快速, 推荐使用For-in遍历数组. 结论2:当我们想遍历NSDictionary的时候, 推荐使用enumerateKeysAndObjectsUsingBlock 不仅仅是因为速度快, 更是因为代码更优雅和直观. 使用block同时遍
阅读全文
posted @
2020-05-18 13:44
wp7ers
阅读(1084)
推荐(0) 编辑
关于报错 transformClassesWithProfilers > 3
摘要:关于报错 transformClassesWithProfilers > 3 升级AndroidStudio3.0后,运行项目报错 Error:Execution failed for task ':ygj_new:transformClassesWithProfilers-transformFor
阅读全文
posted @
2020-05-13 15:04
wp7ers
阅读(148)
推荐(0) 编辑