专题 - iOS 使用 XMPP 实现即时聊天
变更记录
序号
录入时间
录入人
备注
1
2016-03-08
Alfred Jiang
-
方案名称专题 - iOS 使用 XMPP 实现即时聊天
关键字专题 \ XMPP \ 即时聊天
需求场景
利用 XMPP 实现即时聊天
参考链接(见详细内容)
详细内容
GitHub - IOSXMPPDemoByJackyHuang
标哥的技术博客 - iOS XMPP:Openfire+spark环境搭建(一)
标哥的技术博客 - iOS XMPP:了解XMPP协议(二)
标哥的技术博客 - XMPPFramework核心类介绍(三)
标哥的技术博客 - iOS XMPP花名册细讲(四)
标哥的技术博客 - iOS XMPP:电子名片细讲(五)
CSDN - IOS XMPP Study(推荐)
其他
GitHub - nplexity/xmpp-file-transfer-demo
效果图(无)
备注(无)
打包 - 使用 Jenkins 进行 App 自动化打包
变更记录
序号
录入时间
录入人
备注
1
2016-02-29
Alfred Jiang
-
方案名称打包 - 使用 Jenkins 进行 App 自动化打包
关键字打包 \ Xcode \ Jenkins \ 持续集成 \ 自动化打包
需求场景
希望构建自动化打包的持续集成平台
参考链接
Jenkins
Jenkins+GitHub+Xcode+fir搭了一个持续集成环境
Code Review - iOS 下如何自动化打包 App
阿里云构建Jenkins服务
Installing Jenkins on Ubuntu
CSDN - Jenkins用户配置
使用 Xcodebuild + Jenkins + Apache 做 iOS 持续集成
Segmentfault - Jenkins+Github持续集成
详细内容安装环境
服务器:阿里云软件系统:Ubuntu 14.04 64位硬件系统:CPU - 1核;内存 - 512 MB;带宽 - 1Mbps
1. 安装 JAVA 环境创建 /usr/java/ 目录并进入
$ sudo ...
测试 - 使用 DVR 进行网络请求数据的录制与测试
变更记录
序号
录入时间
录入人
备注
2
2015-12-24
Alfred Jiang
-
方案名称测试 - 使用 DVR 进行网络请求数据的录制与测试
关键字测试 \ DVR \ 网络请求 \ 测试框架
需求场景
需要进行网络接口请求的录制测试时
参考链接
GitHub - DVR
详细内容直接将 DVR 源代码加入工程中,使用方法如下
1234567let session = Session(cassetteName: "example")let task = session.dataTaskWithRequest(request) { data, response, error in // Do something with the response}// Nothing happens until you call `resume` as you'd expect.task.resume()
该请求会优先读取本地已录制的 example.json 文件作为请求的返回数据,如果本地没有 exampl ...
Xcode - 使用 LLDB 调试代码
变更记录
序号
录入时间
录入人
备注
2
2015-12-24
Alfred Jiang
-
方案名称Xcode - 使用 LLDB 调试代码
关键字Xcode \ 调试 \ Debug \ LLDB
需求场景
利用 LLDB 调试代码
参考链接
简书 - 小笨狼与LLDB的故事
Objc - Dancing in the Debugger — A Waltz with LLDB
The LLDB Debugger
详细内容#####expression
简写 e ,别名有 expr & p & print & call
作用 1 是执行某个表达式。
1234// 改变颜色(lldb) expression -- self.view.backgroundColor = [UIColor redColor]// 刷新界面(lldb) expression -- (void)[CATransaction flush]
作用 2 是将返回值输出。
12(lldb) expression -- self.view(UIView *) $1 = 0x ...
Auto Layout - 约束冲突断点调试方法
变更记录
序号
录入时间
录入人
备注
1
2016-01-05
Alfred Jiang
-
方案名称Auto Layout - 约束冲突断点调试方法
关键字Auto Layout \ 调试 \ 断点 \ 约束冲突
需求场景
遇到 Auto Layout 约束冲突时
参考链接
NSHint - Autolayout Breakpoints
详细内容当遇到以下 Auto Layout 约束冲突提示时
123456789101112Unable to simultaneously satisfy constraints.Probably at least one of the constraints in the following list is one you don't want.Try this:(1) look at each constraint and try to figure out which you don't expect;(2) find the code that added the unwanted constrain ...
专题 - Mac & iOS 完整开源项目源代码参考
变更记录
序号
录入时间
录入人
备注
1
2015-12-28
Alfred Jiang
-
2
2016-02-02
Alfred Jiang
-
3
2016-02-14
Alfred Jiang
更新 Mac 开源项目相关
4
2016-11-15
Alfred Jiang
-
5
2017-10-18
Alfred Jiang
更新 Mac 开发翻译
方案名称专题 - Mac & iOS 完整开源项目源代码参考
关键字专题 \ Mac \ iOS \ 完整 \ 项目 \ 工程 \ 源代码
需求场景
希望通过完整的项目工程源代码学习 Mac \ iOS 开发。
参考链接
知乎 - GitHub 上有哪些完整的 iOS-App 源码值得参考
OPEN SOURCE IPHONE SOFTWARE - iOS 平台上一些比较有名的开源软件集合(推荐阅读)
OPEN SOURCE MAC - Mac OS X 平台上一些比较有名的开源软件集合(推荐阅读)
标哥的技术博客 - iOS完整App资源收集
GitHub - dkhamsing ...
Xcode - 使用 chisel 提高 LLDB 调试效率
变更记录
序号
录入时间
录入人
备注
1
2016-01-08
Alfred Jiang
-
方案名称Xcode - 使用 chisel 提高 LLDB 调试效率
关键字Xcode \ 调试 \ 断点 \ 页面 \ 约束
需求场景
需要对复杂页面进行调试时
参考链接
GitHub - chisel
简书 - LLdb篇2教你使用faceBook的chisel来提高调试效率
简书 - 小笨狼的LLDB技巧:chisel
详细内容安装1. 安装 Homebrew (如果已经安装了,可以跳过这一步)
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
2. 更新 Homebrew (如果已经最新了,可以跳过这一步)
brew update
3. 通过 Homebrew 安装 chisel
brew install chisel
4. 添加 chisel 命令至 ~/.lldbinit
touch ~/.lldbinite ...
NSURL - 特殊字符处理
变更记录
序号
录入时间
录入人
备注
1
2016-01-18
Alfred Jiang
-
方案名称NSURL - 特殊字符处理
关键字NSURL \ 特殊字符 \ 参数 \ 请求
需求场景
针对某些带有特殊字符的 URL 无法正确请求数据的场景
参考链接
简书 - iOSURL特殊字符处理
博客园 - ios中对url中得特殊字符处理
详细内容iOS 9 之前方法一 : CFURLCreateStringByAddingPercentEscapes12345NSString *UrlEncodedString(NSString *sourceText){ NSString *result = (NSString *)CFBridgingRelease(CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,(CFStringRef)sourceText ,NULL ,CFSTR("!*'();@&+$?%#[]") ,kCFStringEncod ...
语法 - Objective-C 中 BOOL 类成员变量的判断陷阱
变更记录
序号
录入时间
录入人
备注
1
2016-01-20
Alfred Jiang
-
方案名称语法 - Objective-C 中 BOOL 类成员变量的判断陷阱
关键字语法 \ Objective-C \ BOOL \ 成员变量 \ 判断
需求场景
对某对象的 BOOL 类成员变量做肯定判断时,可能出现的判断错误
参考链接(无)
详细内容当自定义的类中包含 BOOL 类公共成员变量时,若该类的对象为空,
对该对象 BOOL 类成员变量做肯定判断时,无论逻辑上 BOOL 类成员变量是否为 YES,都会判断为 NO。
123456789101112131415161718192021222324252627TestObject *tObject0 = nil;tObject0.isEmpty = YES;if (tObject0.isEmpty) { NSLog(@"tObject0 is Empty");}else{ NSLog(@"tObject0 is not Empty") ...
专题 - iOS 应用证书、真机调试与发布 Appstore
变更记录
序号
录入时间
录入人
备注
1
2016-01-19
Alfred Jiang
-
方案名称专题 - iOS 应用证书、真机调试与发布 Appstore
关键字专题 \ 证书 \ 开发证书 \ 应用证书 \ 真机调试 \ Appstore
需求场景
需要配置 iOS 开发证书相关
参考链接(见详细内容)
详细内容
iOS 证书学习推荐 - iOS证书及ipa包重签名探究
iOS 证书学习推荐 - 代码签名探析
博客园 - In App Purchases 入门[译](原文)
博客园 - iOS 推送小结–swift语言
开源中国 - iOS Developer:真机测试
开源中国 - iOS 发布应用程序到App Store
开源中国 - iOS 申请发布证书-图文详解
效果图(无)
备注
Xcode - 真机调试问题 (Could not locate device support files)