摘要: 1. A view controller’s view is not created until it needs to appear on the screen . This optimization is called lazy loading, and it can conserve memo... 阅读全文
posted @ 2014-09-16 17:58 1oo1 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 一、重写 DrwaRect-(void)drawRect:(CGRect)rect{ CGRect bounds = self.bounds; CGPoint center; center.x = bounds.origin.x + bounds.size.width / ... 阅读全文
posted @ 2014-09-16 13:43 1oo1 阅读(277) 评论(0) 推荐(0) 编辑