2014年3月6日

摘要: 斯坦福的ios教学视频笔记一张,如下 阅读全文
posted @ 2014-03-06 18:24 timelyxyz 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 我是用的是Container.addSubView的方法。1. ParentViewController.m的@interface()中添加2个子vc的实例变量,代码如下1 @property (nonatomic, strong) EmojiViewController *emojiVC;2 @property (nonatomic, strong) ICMsgTypeViewController *msgTypeVC;2. 重写2个子vc的getter,因为复杂的页面切换逻辑很可能使2个子vc的实例被释放,所以在getter中作检查,并返回。代码如下 1 - (EmojiViewContr 阅读全文
posted @ 2014-03-06 18:18 timelyxyz 阅读(688) 评论(0) 推荐(0) 编辑

导航