Re: [問題] 如何等待alert結束?
- (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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 7 之 8 篇):
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章