| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- //
- // RecyleViewController.m
- // WSCloudStorage
- //
- // Created by JonathanH on 2017/8/9.
- // Copyright © 2017年 wswinsoft. All rights reserved.
- //
- #import "RecyleViewController.h"
- #import "CSFileCell.h"
- @interface RecyleViewController ()
- @property (nonatomic,weak)UITableView *tableView;
- @end
- @implementation RecyleViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- self.title = @"回收站";
- // Do any additional setup after loading the view.
- [self initSubView];
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- - (void)initSubView{
- CGFloat screenH = SCREEN_HEIGHT;
- CGFloat screenW = SCREEN_WIDTH;
- UITableView *tableView = [[UITableView alloc]initWithFrame:self.view.bounds style:UITableViewStylePlain];
- [self.view addSubview:tableView];
- self.tableView = tableView;
- CALayer *layer = [CALayer layer];
- layer.frame = CGRectMake(0, screenH-44, screenW, 44);//44-30 = 14 7 7
- layer.backgroundColor = RGB(121, 121, 121).CGColor;
- UIButton *clearAllBtn = [UIButton buttonWithType:UIButtonTypeSystem];
- clearAllBtn.frame = CGRectMake(40, layer.frame.origin.y+7, screenW -80, 30);
- [clearAllBtn setTitle:@"一键清空" forState:UIControlStateNormal];
- clearAllBtn.backgroundColor = RGB(132,178,237);
- [self.view addSubview:clearAllBtn];
-
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- @end
|