2016年10月11日

制作10.11MAC OS系统启动盘

摘要: 详情请参考:https://support.apple.com/zh-cn/HT201372 阅读全文

posted @ 2016-10-11 11:07 Rao-Joyce 阅读(455) 评论(0) 推荐(0)

2016年9月20日

NSFileHandle类和NSFileManager,追加数据的操作

摘要: NSFileHandle类主要对文件内容进行读取和写入操作 NSFileManager类主要对文件的操作(删除、修改、移动、复制等等) 常用处理方法 + (id)fileHandleForReadingAtPath:(NSString *)path 打开一个文件准备读取 + (id)fileHand 阅读全文

posted @ 2016-09-20 17:08 Rao-Joyce 阅读(1645) 评论(0) 推荐(0)

IOS后台运行音频文件

摘要: 首先在配置文件中打开后台运行音频,如上图。 下一步在代码中添加 //设置后台播放 AVAudioSession *audioSession = [AVAudioSession sharedInstance]; [audioSession setCategory:AVAudioSessionCateg 阅读全文

posted @ 2016-09-20 16:09 Rao-Joyce 阅读(292) 评论(0) 推荐(0)

2016年5月31日

IOS第三方库管理器-CocoaPods安装和使用教程

摘要: FQ用蓝灯- lantern 1.下载 一般mac系统都自带Ruby环境,然后在终端运行 sudo gem install cocoapods 有反应执行 pod setup 如果没有反应,安装不成功。检查你的本地路径是否正确。 查看源路径 gem sources -l 如果是https://rub 阅读全文

posted @ 2016-05-31 16:58 Rao-Joyce 阅读(164) 评论(0) 推荐(0)

2016年5月30日

NSScaner类的用法 判断输入的字符串类型

摘要: //判断是否为整形 + (BOOL)isInt:(NSString *)str { NSInteger intStr = 0; NSScanner *scan = [NSScanner scannerWithString:str]; return [scan scanInteger:&intStr] 阅读全文

posted @ 2016-05-30 13:43 Rao-Joyce 阅读(1338) 评论(0) 推荐(0)

导航