重構,將方法移動到實體中。在Core Data 入門(1) 的範例中,我們把對資料庫動作的所有程式都寫在ViewController 裡面,這樣的做法不太好,既然這些動作和Product 實體有關 ...
確定! 回上一頁