1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // SKMineViewController.m
- // Artimenring
- //
- // Created by 振兴 刘 on 15/12/2.
- // Copyright © 2015年 BaH Cy. All rights reserved.
- //
- #import "SKMineViewController.h"
- #import "SKMineViewController+user.h"
- #import <UMMobClick/MobClick.h>
- @implementation SKMineViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
- self.title = NSLocalizedString(@"Tabbar.Mine", nil);
- [self.navigationController setNavigationBarHidden:NO];
- [self addMoreButtons];
- }
- - (void)viewWillAppear:(BOOL)animated {
- [super viewWillAppear:animated];
- [self.navigationController setNavigationBarHidden:NO];
- }
- - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
- return 1;
- }
- - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
- return 3;
- }
- - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
- return 64;
- }
- - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
- return [self userTableView:tableView cellForRowAtIndexPath:indexPath];
- }
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
- [self.mTableView deselectRowAtIndexPath:indexPath animated:YES];
- return [self userTableView:tableView didSelectRowAtIndexPath:indexPath];
- }
- - (void)onRefreshChildsDevices {
- [self.mTableView reloadData];
- }
- @end
|