- 博客(5)
- 资源 (23)
- 收藏
- 关注
原创 iOS AutoLayout: 关联 Xib 和 UIView
在博客 iOS AutoLayout: 关联 Xib 和 UIViewController 中介绍了 UIViewController 如何关联 xib 文件, 并给组件连线和一些问题.今天继续 Autolayout 的话题. 新建一个 Single View 的 iOS 项目 新建一个 Empty 的 Userinterface View, 取名为 View.xib 新建一
2016-05-29 17:30:20 2511
原创 iOS AutoLayout: 关联 Xib 和 UIViewController
今天主要跟大家分享两个内容 * UIViewController 如何作为 Xib 的 File’s Owner * Xib 中的组件如何和 UIViewController 连线 创建工程 MZXibAndVC简单的创建一个 Single View 的 iOS 工程即可. 创建 xib 文件 View.xib新建文件/iOS/UserInterface View/Empty 编
2016-05-29 15:41:09 3026
原创 iOS内存话题: 弱引用下的懒加载
iOS内存话题: 弱引用下的懒加载阅读下面的内容之前, 你应该知道什么是懒加载, 话句话说就是延时加载.今天跟大家聊聊对于一个弱引用对象如何使用懒加载, 以及注意事项!直接上例子.工程比较简单, 只有一个 ViewController.#import "ViewController.h"@interface ViewController ()@property (nonatomic, weak)
2016-05-20 23:56:33 1792
原创 Cocoapods: 打造本地 pod 库
如果你想了解和学习更多关于 cocoapods 的知识,可以去 这里 查看,有关于搭建私有仓库的知识和一些踩过的坑。项目到了一定规模, 项目的代码组织和结构显得尤为重要.重构项目结构, 可以从分离代码开始.代码分离, 可以把常用稳定的组件封装抽离出来.我的做法是使用 cocoapods 来管理.下面进入今天的主题: 使用 cocoapods 管理自己的本地代码.Mac OS...
2016-05-14 18:38:16 15662 2
原创 iOS内存话题: 实例变量造成的循环引用
OC 中关于成员变量和属性的区别, 在阅读下面内容之前请自行 google.工程目录如下示例较简单, ViewController 直接打开 CoreViewController.Person.h#import typedef void(^PlayFunction)(int x);@interface Person : NSObject@property
2016-05-02 23:08:58 2117
InstanceVar
2016-05-02
Android线程机制_2011_9_30更新
2011-09-30
ADT12.0 androidPlugin
2011-07-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人