看板 MacDev 關於我們 聯絡資訊
最近在練習寫Core Data的存取... 想請問在Mac上 有沒有什麼工具可以直接讀取Core Data的資料呢? 不然都只能透過 simulator 用個TableView去抓資料出來看是否有寫進去 另外想請問 CoreData在ios app內的讀取 我是使用建立 project 一開始時把 Use Core Data 打勾 那當我在各個ViewController要去存取Core Data的時候 是這樣使用嗎? NSManagedObjectContext *managedObjectContext = [[[UIApplication sharedApplication] delegate] managedObjectContext]; 那這樣不就有要使用到的Controller都要去 import AppDelegate.h 呢? 新手上路,還請各位前輩不吝指教! 謝謝囉<(_._)> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.112.197.158
hearther:用FF的plugin SQLite Manager去開SQLite的檔案就可以看 09/19 13:14
hearther:到資料了 09/19 13:15
hearther:simulator的目錄在 09/19 13:16
hearther:/Users/[name]/Library/Application Support/iPhone Si 09/19 13:16
hearther:mulator/ 09/19 13:16
petertom:謝謝h大~^^ 09/20 00:26