要想了解使用core data 的過程中颠放,底層的sql 是如何執(zhí)行的,可以在xcode 中這么設(shè)置一下:
打開xcode, 點擊Edit Schema, 在 ** Arguments Passed On Launch ** 中輸入下面的參數(shù)就可以了:
-com.apple.CoreData.SQLDebug 1
就可以了
要想了解使用core data 的過程中颠放,底層的sql 是如何執(zhí)行的,可以在xcode 中這么設(shè)置一下:
打開xcode, 點擊Edit Schema, 在 ** Arguments Passed On Launch ** 中輸入下面的參數(shù)就可以了:
-com.apple.CoreData.SQLDebug 1
就可以了