mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-16 13:51:12 +01:00
tidy up
This commit is contained in:
1 parent
1d5cf5a4cc
commit
d3e0f576cf
11 files changed
+51
-50
No files matched your search
@@ -47,7 +47,8 @@ public extension NSManagedObject {
|
||||
|
||||
// MARK: Internal
|
||||
|
||||
internal dynamic class func createInContext(context: NSManagedObjectContext) -> Self {
|
||||
@nonobjc
|
||||
internal class func createInContext(context: NSManagedObjectContext) -> Self {
|
||||
|
||||
return self.init(
|
||||
entity: context.entityDescriptionForEntityType(self)!,
|
||||
@@ -55,6 +56,7 @@ public extension NSManagedObject {
|
||||
)
|
||||
}
|
||||
|
||||
@nonobjc
|
||||
internal func deleteFromContext() {
|
||||
|
||||
self.managedObjectContext?.deleteObject(self)
|
||||
|
||||
Reference in new issue
Block a user