作者markzog21 (残羽星辰)
看板MacDev
标题Re: [问题] 如何等待alert结束?
时间Fri Sep 3 23:49:07 2010
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return [sectionArray count];
}
- (NSInteger)tableView:(UITableView *)tableView
numberOfRowsInSection:(NSInteger)section {
return [[sectionArray objectAtIndex:section] count];
}
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSInteger row = [indexPath row];
NSInteger section = [indexPath section];
// Create a cell if one is not already available
UITableViewCell *cell = [self.tableView
dequeueReusableCellWithIdentifier:@"any-cell"];
if (cell == nil)
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero
reuseIdentifier:@"any-cell"] autorelease];
// Set up the cell by coloring its text
[cell.textLabel setText: [sectionArray objectAtIndex:0]];
return cell;
}
--
[请问] 吹风机插头一直不拔会不会怎样
推 eggimage:= = 建议千万别这样做..上次有人这样 结果占用一个插座.. 10/26 08:05
推 WhatCanIDo:楼上..然後呢@@ 10/26 08:07
推 eggimage:就少一个插座用 很不方便.. 10/26 08:08
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 203.72.87.32