摘要:
UIViewController.preferredContentSize代理旧方法contentSizeForViewInPopover。self.contentSizeForViewInPopover= CGSizeMake(300.0,860.0); 阅读全文
posted @ 2015-08-22 22:19
小毛驴
阅读(897)
评论(0)
推荐(0)
摘要:
代码简化, 促进跨平台开发的目的. typedef 行为有点像 #define 宏,用其实际类型替代同义字。 不同点:typedef 在编译时被解释,因此让编译器来应付超越预处理器能力的文本替换。用法一:typedefint(*MYFUN)(int, int);这种用法一般用在给函数定义别名的时候上... 阅读全文
posted @ 2015-08-22 18:36
小毛驴
阅读(538)
评论(0)
推荐(0)
浙公网安备 33010602011771号