Loi_HitList
Loi_HitList

NSManagedObject doesn’t know about the name attribute you defined in
your data model, so there’s no way of accessing it directly with a
property. The only way Core Data provides to read the value is key-
value coding, commonly referred to as KVC.

KVC is a mechanism in Cocoa and Cocoa Touch for accessing an object’s
properties indirectly using strings to identify properties. In this
case, KVC makes NSMangedObject behave more or less like a dictionary.
Key-value coding is available to all classes that descend from
NSObject, including NSManagedObject. You wouldn’t be able to access
properties using KVC on a Swift object that doesn’t descend from
NSObject.

loiwu/SCoreData,loiwu/SCoreData