自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

文件解压重命名为12.1 (16B92),复制: /applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 文件夹下。 如果xcode还不支持12.1系统机器,请重启一下xcode就可以了。

2018-11-26

Xcode10 libstdc++.6.0.9

Xcode10 不再内置 libstdc++ ,将libstdc++.6.0.9.tbd拷贝到下面两个地方

2018-11-02

OpenCollada 3dsMax Maya插件

OpenCollada的插件,包括max/maya的导出插件,有windows(32位和64位都有)的,还有Mac的。多种版本(1.4.1、1.3.0、1.1.2、1.2.2)。

2017-05-19

xcode 10.3(14E269)_developer_diskimage 支持10.3(14E277)

xcode 10.3(14E269)_developer_diskimage 支持10.3(14E277) 文件解压复制: /applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 文件夹下。 如果xcode还不支持10.3系统机器,请重启一下xcode就可以了。

2017-03-31

Xcode iOS_10.2 (14C92)_developer_diskimage

解决设备升级后,Xcode不支持调试,错误:is running iOS 10.2 (14C92), which may not be supported。 下载后解压,放在这个目录下: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2017-01-13

阿里云服务器linux web环境一键安装包 1.5.5

阿里云服务器linux web环境一键安装包 此安装包可在阿里云所有linux系统上部署安装。 此安装包包含的软件及版本为: nginx:1.4.4 apache:2.2.29、2.4.10 mysql:5.1.73、5.5.40、5.6.21 php:5.2.17、5.3.29、5.4.23、5.5.7 php扩展:memcache、Zend Engine/ OPcache jdk:1.7.0 tomcat:7.0.54 ftp:(yum/apt-get安装) phpwind:8.7 GBK phpmyadmin:4.1.8 安装步骤: xshell/xftp上传sh目录 chmod –R 777 sh cd sh ./install.sh 安装完成后请查看account.log文件,数据库密码在里面。debian和ubuntu下默认shell是dash,执行 sudo dpkg-reconfigure dash 选择no,切换到bash环境 cd /home && mkdir tmp && cd tmp xftp上传sh目录 cd sh && chmod +x install*.sh && ./install.sh 安装完成后请查看tmp.log文件。数据库密码在里面

2016-11-06

iOS10 SDK下载

iOS10 SDK, 下载解压后放入Xcode的路径下/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport,解决 Could not find Developer Disk Image 问题

2016-10-08

IOS条码二维码生成和识别

NKDBarcode生成条码,libqrencode生成二维码,ZBarSDK识别条码和二维码的小例子.环境:ios5.0,xcode4.3,真机

2016-09-22

iOS - 控制动画播放与暂停的CALayer分类

iOS - 控制动画播放与暂停的CALayer分类

2016-07-04

iOS-demo 录音

一个简单ios录音demo

2016-04-21

Mac charles-proxy-3.9.1-applejava 破解版

Mac上的抓包工具Charles(附破解说明)

2016-04-04

iOS 9.2 真机调试 Disk Image

真机调试解决“Could not find Developer Disk Image”问题,资源包: 将文件解压拖入目录 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 中,运行Xcode即可

2016-03-29

iOS 9.3 真机调试 Disk Image

真机调试解决“Could not find Developer Disk Image”问题,资源包: 将文件解压拖入目录 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 中,运行Xcode即可

2016-03-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除