2015年11月19日

UITableView动态存放、重用机制

摘要: 一、UITableView动态存放#import "ViewController.h"@interface ViewController (){ UITableView *tableview; NSMutableArray *_arr;//盛放要显示的东西}@end@implementation V... 阅读全文
posted @ 2015-11-19 17:54 子嫣然兮 阅读(187) 评论(0) 推荐(0)

UITableView表格视图、UITableView代理方法及应用

摘要: 一、基本知识点UITableView表格视图,是一个可以滚动的界面(理解为垂直滚动的UIScrollView),可展示多行数据,没有行数的限制,只能有一列。使用UITableView:1、展示信息,显示大量的列表数据2、导航通常选择单元格导航至另一界面。主界面是tableview,通常是导航界面(n... 阅读全文
posted @ 2015-11-19 17:53 子嫣然兮 阅读(163) 评论(0) 推荐(0)

UIPageControl页控制器

摘要: 一、基本知识#import "ViewController.h"@interface ViewController (){ UIScrollView *scrollview; UIPageControl *page;}@end@implementation ViewController- (void... 阅读全文
posted @ 2015-11-19 17:50 子嫣然兮 阅读(181) 评论(0) 推荐(0)

UIScrollView滚动视图

摘要: 一、基本知识1、初始化 UIScrollView#import "ViewController.h"#define WIDTH[[UIScreen mainScreen]bounds].size.width#define HEIGHT[[UIScreen mainScreen]bounds].siz... 阅读全文
posted @ 2015-11-19 17:47 子嫣然兮 阅读(186) 评论(0) 推荐(0)