Created
November 22, 2017 12:17
-
-
Save stfalconaleks/a7213c2d587d9b2ff05080435e847395 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PersistentContainer: NSPersistentContainer{ | |
override class func defaultDirectoryURL() -> URL{ | |
return FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.sharingForTodayExtension")! | |
} | |
override init(name: String, managedObjectModel model: NSManagedObjectModel) { | |
super.init(name: name, managedObjectModel: model) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment