
视图控制器
A_StayFoolish
这个作者很懒,什么都没留下…
展开
-
iOS开发 UI高级之代理实现传值
基本思路:创建一个实现传值协议,两个控制器都需实现协议,利用代理进行两端传值; 根视图: #import "RootViewController.h"#import "ModalViewController.h" @interface RootViewController () @property(nonatomic,strong)ModalViewController *moda原创 2016-08-24 21:15:26 · 409 阅读 · 0 评论 -
ios开发 UI高级 间距设置
// cell之间的间隔 -(void)setFrame:(CGRect)frame{ frame.origin.x = 5; frame.size.width -= 2 * frame.origin.x; frame.size.height -= 1; //分割线 [super setFrame:frame]; }原创 2016-08-30 20:51:36 · 664 阅读 · 0 评论