Protocols
The following protocols are available globally.
-
Provides
See moreentityName
to map classes to entities.Declaration
Swift
public protocol EntityType
-
Conform to
KeyCodable
to provide keys for your NSManagedObject keys. It is reccomended that you use aString
enum.Declaration
Swift
public protocol KeyCodable
-
Conform to
See moreManagedObjectType
to expose your object to LiteData methods.Declaration
Swift
public protocol ManagedObjectType: EntityType