silence deprecation internal warnings

This commit is contained in:
John Estropia
2019-01-23 12:25:52 +09:00
parent 94d9116299
commit 2863605d84
5 changed files with 68 additions and 57 deletions

View File

@@ -324,38 +324,6 @@ extension GroupBy: CustomDebugStringConvertible, CoreStoreDebugStringConvertible
}
#if os(iOS) || os(macOS)
// MARK: - ICloudStore
@available(*, deprecated, message: "Please see the release notes and Core Data documentation.")
extension ICloudStore: CustomDebugStringConvertible, CoreStoreDebugStringConvertible {
// MARK: CustomDebugStringConvertible
public var debugDescription: String {
return formattedDebugDescription(self)
}
// MARK: CoreStoreDebugStringConvertible
public var coreStoreDumpString: String {
return createFormattedString(
"(", ")",
("configuration", self.configuration as Any),
("storeOptions", self.storeOptions as Any),
("cacheFileURL", self.cacheFileURL),
("cloudStorageOptions", self.cloudStorageOptions)
)
}
}
#endif
// MARK: - InMemoryStore
extension InMemoryStore: CustomDebugStringConvertible, CoreStoreDebugStringConvertible {