2016-06-09 47 views
-1

當我創建NSManagedOjectSubclass時,XCode爲我創建了兩個文件,最左側的屬性爲「A」。 A是什麼意思?我看過其他屬性爲「M」的文件,以及一些沒有屬性的文件。CoreData文件屬性含義A vs M vs Nothing

enter image description here

回答

7

這些字符是指文件的源代碼控制狀態(他們沒有任何與核心數據)。更多here

M = Locally modified 

U = Updated in repository 

A = Locally added 

D = Locally deleted 

I = Ignored 

R = Replaced in the repository 

– = The contents of the folder have mixed status; display the contents to see individual status 

? = Not under source control 
+1

將它們識別爲來自源代碼管理系統的狀態以清楚它不是特定於Core Data的可能是很好的。 – jszumski

+0

在狀態代碼之前提供一個簡短的總結會很有幫助。 – DJohnson