Re: [問題] UITableView動態增加資料
抱歉小弟我剛好也有差不多的問題
所以借用一下標題
不過好像是出在陣列上
網址為小弟的程式碼
https://gist.github.com/lazyasa/5b5cc6f4915a6e7cec67
skip是從第幾筆開始撈json的意思
一開始沒問題
但撈第二次就會出現crash
錯誤碼是
2013-06-07 15:40:04.187 test[27940:c07]
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason:
'*** -[JKArray insertObject:atIndex:]:
mutating method sent to immutable object'
請問大家是我的陣列出錯了嗎?
關於looks我是寫
@property (nonatomic, retain) NSMutableArray *looks;
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.59.241.79
→
06/07 16:54, , 1F
06/07 16:54, 1F
→
06/07 16:56, , 2F
06/07 16:56, 2F
→
06/07 16:56, , 3F
06/07 16:56, 3F
→
06/07 17:01, , 4F
06/07 17:01, 4F
→
06/07 17:10, , 5F
06/07 17:10, 5F
→
06/07 17:11, , 6F
06/07 17:11, 6F
→
06/07 17:11, , 7F
06/07 17:11, 7F
→
06/07 17:21, , 8F
06/07 17:21, 8F
→
06/07 17:21, , 9F
06/07 17:21, 9F
推
06/07 17:23, , 10F
06/07 17:23, 10F
→
06/07 17:25, , 11F
06/07 17:25, 11F
→
06/07 17:26, , 12F
06/07 17:26, 12F
→
06/07 17:29, , 13F
06/07 17:29, 13F
→
06/07 18:16, , 14F
06/07 18:16, 14F
→
06/07 23:46, , 15F
06/07 23:46, 15F
→
06/08 00:37, , 16F
06/08 00:37, 16F
→
06/08 15:36, , 17F
06/08 15:36, 17F
→
06/08 15:36, , 18F
06/08 15:36, 18F
推
06/08 23:21, , 19F
06/08 23:21, 19F
推
06/10 09:11, , 20F
06/10 09:11, 20F
→
06/10 09:16, , 21F
06/10 09:16, 21F
→
06/10 11:59, , 22F
06/10 11:59, 22F
→
06/10 18:10, , 23F
06/10 18:10, 23F
→
06/11 16:15, , 24F
06/11 16:15, 24F
→
06/11 16:15, , 25F
06/11 16:15, 25F
→
06/11 16:15, , 26F
06/11 16:15, 26F
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):