- 博客(6)
- 资源 (13)
- 收藏
- 关注
原创 iOS - 应用程序的生命周期执行顺序
应用程序的生命周期执行顺序应用程序:启动-[AppDelegate application:willFinishLaunchingWithOptions:] -[AppDelegate application:didFinishLaunchingWithOptions:] -[AppDelegate applicationDidBecomeActive:] 退到后台:-[AppDelegate
2016-11-27 17:03:34 408
原创 iOS swift - 高性能使用图形裁剪
一般对UIView进行圆形剪裁只要给layer的cornerRadius和masksToBounts赋值就可以搞定了,但一旦数量一多,性能问题也就随之而来了.用户体验就差解决方案:将处理过的图层缓存起来,再次使用就不用重新渲染了iconImgView.layer.cornerRadius = 25.0 // 半径iconImgView.layer.masksToBounds = true//
2016-11-21 19:55:23 3197
转载 iOS swift - 自定义init方法
原文链接 : http://blog.sina.com.cn/s/blog_12bebfaa50102y2di.html自定义init初始化构造函数实现参数传递对于UIKit框架类,不能像下面一样简单的重写:import UIKitclass WebViewController: UIViewController { var imageUrl:
2016-11-16 23:30:02 3425
原创 iOS swift - 移除所有子视图
在OC中我们可以这样移除所有子视图[self.view removeAllSubViews];但在Swift中已经没有removeAllSubViews这个方法了 解决方案:// 移除所有子视图_ = adverScrollView.subviews.map { $0.removeFromSuperview()}这样即可轻松移除所有子视图注: map是swift array的一个方法
2016-11-15 16:43:37 6885
转载 iOS - 解决the behavior of the UICollectionViewFlowLayout is not defined
文/大L君(简书作者)原文链接:http://www.jianshu.com/p/b7798ac5ad3d著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。问题描述前提 : 自定义UICollectionViewFlowLayout:包含若干个UIScroll理想现象 : 正常相应报错reason : 2016-04-12 19:17:59.919 we
2016-11-09 12:54:02 1854
原创 iOS - Xcode8编译卡顿的解决方法
选中storyboard,点击控制器,在Editor 中把 Automatically Refresh Views的勾去掉就好了如图所示, 记录一下
2016-11-07 19:30:14 2166
xcode 12.1 (16B92)_developer_diskimage
2018-11-26
OpenCollada 3dsMax Maya插件
2017-05-19
xcode 10.3(14E269)_developer_diskimage 支持10.3(14E277)
2017-03-31
Xcode iOS_10.2 (14C92)_developer_diskimage
2017-01-13
阿里云服务器linux web环境一键安装包 1.5.5
2016-11-06
iOS10 SDK下载
2016-10-08
iOS 9.2 真机调试 Disk Image
2016-03-29
iOS 9.3 真机调试 Disk Image
2016-03-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人