摘要: 2014-04-06 19:27:11.954 高仿网易新闻[2828:70b] -[__NSCFNumber length]: unrecognized selector sent to instance 0x8b3c310 2014-04-06 19:27:11.958 高仿网易新闻[2828:70b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber length]: unrecognized selector se 阅读全文
posted @ 2014-04-06 23:51 andy_shen 阅读(3654) 评论(0) 推荐(0) 编辑
摘要: #import "MainViewController.h"@interface MainViewController ()@end@implementation MainViewController#pragma mark 实例化视图- (void)loadView{ self.tableView = [[UITableView alloc]initWithFrame:[UIScreen mainScreen].applicationFrame style:UITableViewStylePlain];}#pragma mark - 数据源方法#pragma mark 分 阅读全文
posted @ 2014-04-06 10:44 andy_shen 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 在开发中我们经常要自定义tableview的cell,这时候系统自带的cell那条黑色的分割线在我们程序也太丑,所以我们要把它干掉,很简单,直接上码:- (void)viewDidLoad{ [super viewDidLoad]; //去除tableView的分割线 self.tableView.backgroundColor = [UIColor colorWithRed:233/255.0 green:233/255.0 blue:233/255.0 alpha:1.0]; self.tableView.separatorStyle = UITableVi... 阅读全文
posted @ 2014-04-06 09:46 andy_shen 阅读(544) 评论(0) 推荐(0) 编辑