-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{return 1;}-(NSInteger)tableView:(UI...
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
return 1;
}
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
return [_dataArray count];
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
static NSString *CellIndentifier=@"Cell";
UITableViewCell *cell=[tableView dequeueReusableCellStyleDefault reuseIdentifier:CellIdentifier];
if(cell==nil){
cell=[[UITableViewCell alloc]];
}
}
View Controllers are at the core of every application. They act as sort of the glue between your models and your views. View controllers are both responsible for fetching/initializing your models as well as loading up your views to display the information within them.
学员评论
千杉沐雪_ZHAO2013-09-30
老大_0f52013-09-17
轻步而来2012-10-19
001bufanbin2012-10-16
轻步而来2012-10-16
001bufanbin2012-10-15
kent2012-03-29
你感兴趣的课程
扫一扫 关注好知微信