iOS 开发error/debug

error:property with ‘retain(strong)’ attribute must be of object type cause: 没有包含相应地头文件,造成变量引用错误,指针指向未知……

阅读全文

Xcode如何添加pch文件

Xcode6.0之后去掉了Precompile Prefix Header 文件,主要原因可能在于Prefix Header大大的增加了Build的时间。没有了Pref……

阅读全文

iOS端App的icon和Launch Image规格实时更新

<th scope="col" class="TableHeading_TableRow_TableCell" style="background-color: rgb(249, 249, 249); border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-color: rgb(233, 233, 233); margin: 0px; outline: 0px; vertical-align: baseline; font-weight: 400;"> <p class="para" style="background-color: transparent; border: 0px; font-size: 1.4em; margin-top: 0px; margin-bottom: 0px; outline: 0px; padding-top: 0px; padding-bottom: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px; word-break: break-word; min-width: 50px;"> iPhone 6 Plus (@3x) </p> </th> <th scope="col" class="TableHeading_TableRow_TableCell" style="background-color: rgb(249, 249, 249); border-top-width: 0px;……

阅读全文

Xcode如何添加pch文件

Xcode6.0之后去掉了Precompile Prefix Header 文件,主要原因可能在于Prefix Header大大的增加了Build的时间。没有了Pref……

阅读全文

iOS如何判断应用是否开启摄像头权限

NSString* mediaType = AVMediaTypeVideo; AVAuthorizationStatusauthorizationStatus = [AVCaptureDeviceauthorizationStatusForMediaType:mediaType]; if(authorizationStatus == AVAuthorizationStatusRestricted|| authorizationStatus == AVAuthorizationStatusDenied) { UIAlertController* alertC = [UIAlertControlleralertControllerWithTitle:@"摄像头……

阅读全文

iOS NSString

字符串处理:截取字符串、匹配字符串、分隔字符串 1.截取字符串 NSString*string=@"sdfsfsfsAdfsdf"; string = [string substringToIndex:7];//截取下标7之后的字符串 NSL……

阅读全文

NSData转int

有一种借助string的方法,经验证不对,找了半天终于找到了一个合适的,可是没有看的太明白,特补充记录在此。 1.int -> data int i = 1; NSData *data = [NSData dataWithBytes: &i length: si……

阅读全文

SEOer的优化思路

SEO是一门复杂的学问,手法很多,提高权重可以从很多角度着手,但是,什么样的网站需要用到什么样的手法,网站的不同阶段,又需要怎么样提高排名?……

阅读全文

关于iOS

iOS是苹果apple公司移动端设备的运行平台,该平台包括iPhone,iPad,iTouch,Apple Watch等多款设备终端。 范子就是……

阅读全文

关于iOS

iOS是苹果apple公司移动端设备的运行平台,该平台包括iPhone,iPad,iTouch,Apple Watch等多款设备终端。 范子就是……

阅读全文

入定法门

中国人讲究打坐入定,现在则流行瑜伽冥想,名 不同,而 实 不异。 以下为道家的入定法门: 心如止水无波,太虚无云,一寂然不动之境,然玄开一窍之中。存定……

阅读全文

title: 面试 date: 2018-08-16 tags: [面试] categories: [iOS] 当面试,问对象深拷贝,浅拷贝的时候,面试官实际上是想问什么? 拷贝方法的实现原理 指针拷贝和值拷贝 各种数据结构的 选择倾向……

阅读全文

App Store 上架流程

App Store上架流程 申请开发者账号 登录开发者网站,注册cer APP ID, profile (xcode 只能解决测试证书配置) 登录iTunes connection网站,注册……

阅读全文

docker 使用规则

[TOC] 硬件/操作系统 要求 Docker支持以下的发行版版本: Ubuntu18.04 LTS 是目前对docker兼容性最好的发行版 CentOS 7 (64-bit),要求内核版本不低于 3.10 。……

阅读全文

docker 安装并使用Redis

docker 安装并使用Redis docker search redis docker pull redis #获得的是lasted版本 redis:3.2 配置redis mkdir -p /root/redis/data mkdir -p /root/redis/conf vi redis.conf # redis.conf bind 127.0.0.1 protected-mode yes appendonly no//持久化 # requirepass foobared p.s. protected-mode 是在没有显……

阅读全文