语法 - iOS 消息传递机制
变更记录
序号
录入时间
录入人
备注
1
2016-03-22
Alfred Jiang
-
方案名称语法 - iOS 消息传递机制
关键字语法 \ 消息传递机制
需求场景
熟悉 iOS 消息传递机制
参考链接
bjccn - 消息传递机制
Objc - Communication Patterns
详细内容(见参考链接)
效果图(无)
备注(无)
语法 - Objective-C 基础集合类介绍
变更记录
序号
录入时间
录入人
备注
1
2016-03-22
Alfred Jiang
-
方案名称语法 - Objective-C 基础集合类介绍
关键字语法 \ 基础集合类
需求场景
熟悉 Objective-C 基础集合类
参考链接
CocoaChina - 基础集合类
Objc - The Foundation Collection Classes
详细内容(见参考链接):主要介绍以下基础集合类
NSArrayNSDictionaryNSSetNSOrderedSetNSHashTableNSMapTableNSPointerArrayNSCacheNSIndexSet效果图(无)
备注(无)
语法 - Objective-C Runtime 介绍
变更记录
序号
录入时间
录入人
备注
1
2016-03-22
Alfred Jiang
-
方案名称语法 - Objective-C Runtime 介绍
关键字语法 \ Runtime
需求场景
熟悉 Objective-C Runtime
参考链接
Yulingtianxia’s Blog - Objective-C Runtime(推荐)
详细内容(见参考链接):主要内容如下
引言简介与Runtime交互Runtime术语消息动态方法解析消息转发健壮的实例变量(Non Fragile ivars)Objective-C Associated ObjectsMethod Swizzling总结效果图(无)
备注
Apple documentation - Objective-C Runtime Programming Guide
Apple documentation - Objective-C Runtime Reference
特酷吧 - Objective-C Runtime 分析
Mac 系统 - 启用定时自动执行任务
变更记录
序号
录入时间
录入人
备注
1
2015-03-23
Alfred Jiang
-
方案名称Mac 系统 - 启用定时自动执行任务
关键字Mac 系统 \ MAC OS \ 定时执行 \ 自动执行
需求场景
需要 Mac 系统执行定时自动任务时
参考链接
Mac OS X launchd plist StartInterval and StartCalendarInterval examples
ITEYE - mac使用launchctl定时运行程序
CSDN - Mac上,执行定时脚本:launchctl
Apple documentation - launchd.plist
详细内容1. 进入 root 模式,参考 Mac 系统 - 修改 Mac OS X root 密码2. 编写自动执行脚本 sample.sh,并赋予执行权限
sh-3.2# cd /pathtoyoursh/sh-3.2# vim sample.shsh-3.2# chmod 777 sample.sh
输入任意脚本内容,也可以在 sh 中调用 python ...
专题 - 创建自己的 iOS 框架
变更记录
序号
录入时间
录入人
备注
1
2016-03-24
Alfred Jiang
-
方案名称专题 - 创建自己的 iOS 框架
关键字专题 \ iOS 框架 \ framework
需求场景
为其他项目提供 framework 框架时
参考链接
Creating your first iOS Framework
Segmentfault - 创建你的第一个iOS框架(推荐)
GitHub - 王巍_如何打造一个让人愉快的框架(推荐)
详细内容(见参考链接)
效果图(无)
备注(无)
UITextField - 使用备忘
变更记录
序号
录入时间
录入人
备注
1
2016-03-28
Alfred Jiang
-
方案名称UITextField - 使用备忘
关键字UITextField \ 使用备忘
需求场景
记录使用过程中的备忘
参考链接
CSDN - iOS开发笔记–设置UITextField键盘上return key不可点击
Stack Overflow - Xcode UITextField limit type of characters
Stack Overflow - How to limit character input in UIAlertView UITextField
详细内容1. 设置 return key 不可点击(类似 UISearchBar 效果)12textField.returnKeyType = UIReturnKeySearch; //设置按键类型为 Search 类型,return key 变为 "Search" 或 "搜索"textField.enablesReturnKeyAutomatical ...
专题 - GCD 介绍与使用(二)
变更记录
序号
录入时间
录入人
备注
1
2016-03-22
Alfred Jiang
-
1
2016-11-16
Alfred Jiang
-
方案名称专题 - GCD 介绍与使用(二)
关键字专题 \ Block \ Dispatch \ GCD \ 异步 \ 并行
需求场景
熟悉 Objective-C GCD
参考链接
GitHub - nixzhu/dev-blog - GCD 深入理解:第一部分
GitHub - nixzhu/dev-blog - GCD 深入理解:第二部分
Ray Wenderlich - Grand Central Dispatch In-Depth: Part 1/2
Ray Wenderlich - Grand Central Dispatch In-Depth: Part 2/2
伯乐在线 - GCD那些事(推荐)
详细内容以下内容整理自 伯乐在线 - GCD那些事 原文出处 : 像晨宇(@向晨宇_)
第一组 API : 信号量相关
dispatch_semaphore_t ...
Xcode - 插件开发学习备忘
变更记录
序号
录入时间
录入人
备注
1
2016-03-29
Alfred Jiang
-
2
2016-03-31
Alfred Jiang
-
方案名称Xcode - 插件开发学习备忘
关键字Xcode \ 插件开发 \ 开发插件
需求场景
开发自定义 Xcode 插件
参考链接
OneV’s Den - Xcode 4 插件制作入门(推荐)
CocoaChina - Xcode 6 插件开发入门:添加自己的想法和功能
Forkong - Xcode7 插件开发:从开发到pull到Alcatraz
ManiacDev - Xcode Plugin Guide – Find Xcode Plugins
GitHub - Forkong/FKConsole
GitHub - macoscope/CodePilot(推荐)
GitHub - zulkis/ZKKeyBindingsTeacher
详细内容1. 通过插件开发模板创建一个插件(1) 安装 Alcatraz
curl -fsSL https://raw.githubuse ...
界面设计 - 相关资料收集
变更记录
序号
录入时间
录入人
备注
1
2016-04-04
Alfred Jiang
-
方案名称界面设计 - 相关资料收集
关键字界面设计 \ UI \ UE \ 资料收集 \ Material Design
需求场景
界面设计参考
参考链接
GitHub - google/material-design-icons:Google 开源了 Material Design 系统图标包其中的 750 个字形。该系统图标包含常用的图标,如用于媒体播放、通讯、内容编辑、连接等等。在 Web 应用,安卓和 iOS 设计均适用。
GitHub - dekatotoro/GoogleMaterialDesignIcons:GoogleMaterialDesignIcons 是基于 Google Material Design Icons 的,字体文件包括了所有 material-design-icons svg 文件,非常容易使用,一共包括 1661 个图标。
详细内容(见参考链接)
效果图(无)
备注
文档 - iOS 人机交互指南
UILabel - UILabel 边缘黑线问题
变更记录
序号
录入时间
录入人
备注
1
2016-04-06
Alfred Jiang
-
方案名称UILabel - UILabel 边缘黑线问题
关键字UILabel \ 边缘黑线
需求场景
代码实现 UILabel 时出现的边缘黑线问题
参考链接
纯色UILabel右边缘的黑线问题
UILabel右边缘黑线问题
详细内容当 UILabel 的宽高出现浮点型数字时,在高清屏下有可能出现右侧边缘黑线问题,解决方法是使用 CGRectIntegral() 方法确保 frame 中不存在非整形数值
1label.frame = CGRectIntegral(CGRectMake(index_x, 0, ceil(width), 40));
效果图(无)
备注(无)