ManagedObjectType
public protocol ManagedObjectType: EntityType
Conform to ManagedObjectType
to expose your object to LiteData methods.
-
This property will be used for
sortedFetchRequest
andsortedFetchedResults
.The first descriptor in the array will be used for the
sectionNameKeyPath
ofsortedFetchedResults
.Declaration
Swift
static var defaultSortDescriptors: [NSSortDescriptor]
-
sortedFetchRequest
Extension methodA fetch request created using
defaultSortDescriptors
.Declaration
Swift
public static var sortedFetchRequest: NSFetchRequest