- 博客(6)
- 收藏
- 关注
原创 三个tableView联动
#import "RootViewController.h"#define WIDTH self.view.frame.size.width#define HEIGHT self.view.frame.size.height@interface RootViewController ()<UITableViewDataSource,UITableViewDelegate>@property(n
2015-12-22 19:46:29 202
原创 TableView的编辑
//设置一下导航栏的编辑按钮self.navigationItem.rightBarButtonItem = self.editButtonItem;//重写一下系统提供的编辑按钮的点击方法-(void)setEditing:(BOOL)editing animated:(BOOL)animated{ [super setEditing:editing animated:animated];
2015-12-22 19:12:01 202
原创 UI06_UIPageControl
#define WIDTH self.view.frame.size.width#define HEIGHT self.view.frame.size.height@interface RootViewController ()<UIScrollViewDelegate>@property(nonatomic,retain)UIScrollView *scorllView;@property(
2015-12-15 20:46:28 290
原创 UI06_UIScrollView
//先定义宏#define WIDTH self.view.frame.size.width#define HEIGHT self.view.frame.size.height//创建UIScrollViewUIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT
2015-12-15 20:04:48 217
原创 UIButton
//UIButton// //button提供了通过便利构造器创建的方法// UIButton *button = [UIButton buttonWithType: UIButtonTypeSystem];// //设置尺寸// button.frame=CGRectMake(100, 100, 150, 50);// button.backgroundCo
2015-12-12 20:59:12 155
原创 UI的第一天
//创建一个window//创建一个Window,创建过程跟之前一样,用alloc进行创建,并且需要给Window一个尺寸 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];//给window设置一个背景颜色 self.window.backgroundColor = [UIC
2015-12-08 20:50:56 226
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人