自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x

Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x不知道assets发生了什么~~可能是我直接从另一个的项目拷贝进来的assets方案一:重启治百病方案二:1. kill模拟器进程sudo killall -9 com.apple.CoreS...

2019-08-29 13:57:00 235

转载 stdc++.6.0.9动态库缺失

问题ld: library not found for -lstdc++.6.0.9clang: error: linker command failed with exit code 1 (use -v to see invocation)官方解释Xcode更新后没有这个库了,可是老的代码依赖了这个库,所以要从Xcode1...

2019-08-28 13:50:00 366

转载 iOS AOP实战

AOP: 面向切面编程,偏向于处理业务的某个阶段适用场景:  1. 参数校验:网络请求前的参数校验,返回数据的格式校验等等  2. 无痕埋点:统一处理埋点,降低代码耦合度  3. 页面统计:帮助统计页面访问量  4. 事务处理:拦截指定事件,添加触发事件  5. 异常处理:发生异常时使用面向切面的方式进行处理  6. 热修复:AOP可以让我们在某方法执行前后或...

2019-08-25 13:45:00 220

转载 解决警告“ld: warning: directory not found for option

因为已经把文件编译到项目中,删除的话会出现找不到文件或文件夹的警告。1选择工程, 编译的 (targets)2选择 Build Settings 菜单3查找 Library Search Paths 和 Framework Search Paths, 删掉编译报warning的路径即OKLibrary Search PathsFramework Se...

2016-11-23 16:36:00 251

转载 在Mac OS X 下快速安装Nginx

1 安装brew—brew是Mac OS X 下的软件管理工具ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"2 安装nginxbrew install nginx 自动会安装pcre和ssl等依赖库。3 看看...

2016-11-12 17:01:00 85

转载 升级Xcode8控制台打印出来这些东西

升级Xcode 8之后每次控制台都会出现以下情况:subsystem: com.apple.BackBoardServices.fence, category: App, enable_level: 1, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable...

2016-10-24 09:36:00 89

转载 切换根控制器

Incompatible pointer types assiging to "UIViewController" *_Nullable' from 'AppDelegate*'本人遇到此问题的情况:在AppDelegate.h中判断版本号时,进行跳转引导页或主控制器。 self.window.rootViewController =[self initRootV...

2016-09-06 22:01:00 88

转载 ios导航器跳转动画

出栈或压栈简单实现动画  CATransition *animation1=[CATransition animation];//类方法创建一个切换对象 animation1.duration=0.45;//动画持续时间 animation1.type=@"cube";//动画效果// rippleEffect。波浪效果// cube。立方体效果...

2016-08-17 09:25:00 89

转载 Xcode使用HTTP配置

Xcode7 出现获取网络请求时出现如下异常:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist fi...

2016-08-03 13:29:00 163

转载 OC编码问题输出中文

#import <Foundation/Foundation.h>int main(int argc, const char * argv[]) { @autoreleasepool { NSMutableArray *arr=[NSMutableArray arrayWithObjects:@"中文",@"英文",@"编码", nil];...

2016-07-21 22:28:00 197

空空如也

空空如也

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

TA关注的人

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