//
// ViewController.m
// 仿QQ分组列表
//
// Created by lanqs on 15/1/26.
// Copyright (c) 2015年 Tanqihong. All rights reserved.
//
#import "ViewController.h"
/*网上的那些代码,太麻烦,也有点老了,自己写了一个,以后有遗忘可以回来看*/
@interface ViewController ()<UITableViewDataSource,UITableViewDelegate>
@property(nonatomic,strong)UITableView *tableView; //就是一个UItableView
@property(nonatomic,strong)NSMutableArray *dataSource;//存数据的,测试,没有用
@property(nonatomic,assign)NSInteger index; //返回的标题栏下标
@property(nonatomic,assign)BOOL sectionNotShow; //标题栏没有打开
@property(nonatomic,assign)NSInteger buttonPressedTag;//用来等于button的tag值的属性
- (void)initDataSource;
- (void)initUserInterface;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
[self initDataSource];
[self initUserInterface];
}
- (void)initDataSource {
_dataSource = [[NSMutableArray
仿QQ分组列表(UITableView)
最新推荐文章于 2022-08-06 00:00:21 发布