fix compiler errors

This commit is contained in:
John Estropia committed 2019-01-31 16:50:43 +09:00
1 parent 9239370793
commit 41902fee2e
76 files changed
+140 -151

No files matched your search

+2 -2
View File
@@ -656,13 +656,13 @@ public final class DataStack: Equatable {
// MARK: Obsolete
@available(*, obsoleted: 3.1, renamed: "entityDescription(for:)")
@available(swift, obsoleted: 3.1, renamed: "entityDescription(for:)")
public func entityDescriptionForType(_ type: NSManagedObject.Type) -> NSEntityDescription? {
return self.entityDescription(for: type)
}
@available(*, obsoleted: 3.1, renamed: "objectID(forURIRepresentation:)")
@available(swift, obsoleted: 3.1, renamed: "objectID(forURIRepresentation:)")
public func objectIDForURIRepresentation(_ url: URL) -> NSManagedObjectID? {
return self.objectID(forURIRepresentation: url)