tag:blogger.com,1999:blog-4654305895942962500.post2508479856816642636..comments2023-10-29T22:38:33.933+08:00Comments on 第二十四個夏天後: iOS 開發教學 - 使用 JSON 處理 Web Service 資料,以 Flickr API 為例Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4654305895942962500.post-50164599515857836182010-08-31T04:00:27.000+08:002010-08-31T04:00:27.000+08:00剛剛TRY了一下
發現程式根本就不會進入- (UITableViewCell *)tableView...剛剛TRY了一下<br />發現程式根本就不會進入- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 這個 function裡<br />所以可以請問一下這個function在哪裡呼叫的<br /><br />版主回覆:(08/31/2010 03:46:36 AM)<br /><br /><br />這個是程式架構上自動會呼叫的, 不然你可以試試自己建立一個 UITableViewController, 再把一些藍色標記的填補進去試試囉<br />kikinoreply@blogger.comtag:blogger.com,1999:blog-4654305895942962500.post-50000863769100281222010-08-31T03:25:07.000+08:002010-08-31T03:25:07.000+08:00請問一下除了你KEY的程式碼以外還要再加什麼嗎??
因為KEY完程式碼之後我只有出現格子,沒有出現圖...請問一下除了你KEY的程式碼以外還要再加什麼嗎??<br />因為KEY完程式碼之後我只有出現格子,沒有出現圖片跟台灣正妹的字<br />謝謝<br /><br />版主回覆:(08/07/2012 01:32:52 AM)<br /><br /><br />你可以看看 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 這個 function, 裡頭就是在更新格子裡的圖片跟文字<br /><br />當然也有可能從 Flickr 取得的資料有問題或是他的結構有更新, 你在把 dataSource 印出來看看比對, 例如查詢完資料後(viewDidLoad裡), 使用 NSLog( @"%@" , dataSource )kikinoreply@blogger.com