YIem`s Blog -心比天高命比纸薄-链接找不到的请在站内搜索内容!

2015-12-24-UITableVIewController

//
// AppDelegate.h
// UI12_UITableVIewController
//
// Created by YIem on 15/12/22.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end


//
// AppDelegate.m
// UI12_UITableVIewController
//
// Created by YIem on 15/12/22.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import "AppDelegate.h"

import "MyTableViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

@end



//
// MyTableViewController.h
// UI12_UITableVIewController
//
// Created by YIem on 15/12/22.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import <UIKit/UIKit.h>

@interface MyTableViewController : UITableViewController

@end


//
// MyTableViewController.m
// UI12_UITableVIewController
//
// Created by YIem on 15/12/22.
// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.
//

import "MyTableViewController.h"

@interface MyTableViewController ()

@end

@implementation MyTableViewController

warning 如果使用tableViewCController 必须注册一个cell;

[self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];

}

pragma mark - Table view data source

warning Incomplete implementation, return the number of sections

return 1;

}

warning Incomplete implementation, return the number of rows

return 10;

}

/*
// Override to support conditional editing of the table view.

*/

/*
// Override to support editing the table view.

*/

/*
// Override to support rearranging the table view.

*/

/*
// Override to support conditional rearranging of the table view.

*/

/*

pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation

*/

@end



当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »