Re: [問題] 如何等待alert結束?
※ 引述《markzog21 (殘羽星辰)》之銘言:
: : 最後在需要cell的地方塞object進去
: : [[sectionArray objectAtIndex:0] addObject:[NSString stringWithFormat:
: : @"%@",TextField.text]];
: 上面這行我一註解後就可以跑,但是就沒有cell被放進 sectionarray裡
: 錯誤我有點不知道是怎樣抓出來
: 跑Build and Debug 在最下面會有一行寫
: GDB: Data Formatters temporarily unavailable, will re-try after a 'continue'.
: (Cannot call into the loader at present , it is locked.)
: 我在想是不是因為我add進去的是NSString?
: 搞不懂
: 頭大
有可能NSString 因為out of scope 被release 掉了
改成這樣試試?
[
[sectionArray objectAtIndex:0] addObject:
[
[NSString alloc] initWithString:
[NSString stringWithFormat:@"%@",TextField.text]]];
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.203.213.213
※ 編輯: johnlinvc 來自: 210.203.213.213 (09/03 02:19)
→
09/03 02:45, , 1F
09/03 02:45, 1F
→
09/03 02:46, , 2F
09/03 02:46, 2F
→
09/03 10:57, , 3F
09/03 10:57, 3F
→
09/03 11:21, , 4F
09/03 11:21, 4F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 8 篇):
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章