mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-20 16:44:08 +01:00
removed deprecated functions in unit tests and demo app
This commit is contained in:
@@ -367,7 +367,7 @@ extension BaseDataTransaction: FetchableSource, QueryableSource {
|
||||
|
||||
// MARK: Deprecated
|
||||
|
||||
@available(*, deprecated: 4.0.0, renamed: "unsafeContext()")
|
||||
@available(*, deprecated, renamed: "unsafeContext()")
|
||||
public func internalContext() -> NSManagedObjectContext {
|
||||
|
||||
return self.unsafeContext()
|
||||
|
||||
@@ -330,7 +330,7 @@ extension DataStack: FetchableSource, QueryableSource {
|
||||
|
||||
// MARK: Deprecated
|
||||
|
||||
@available(*, deprecated: 4.0.0, renamed: "unsafeContext()")
|
||||
@available(*, deprecated, renamed: "unsafeContext()")
|
||||
public func internalContext() -> NSManagedObjectContext {
|
||||
|
||||
return self.unsafeContext()
|
||||
|
||||
@@ -164,6 +164,6 @@ public protocol FetchableSource: class {
|
||||
|
||||
// MARK: Deprecated
|
||||
|
||||
@available(*, deprecated: 4.0.0, renamed: "unsafeContext()")
|
||||
@available(*, deprecated, renamed: "unsafeContext()")
|
||||
func internalContext() -> NSManagedObjectContext
|
||||
}
|
||||
|
||||
@@ -90,6 +90,6 @@ public protocol QueryableSource: class {
|
||||
|
||||
// MARK: Deprecated
|
||||
|
||||
@available(*, deprecated: 4.0.0, renamed: "unsafeContext()")
|
||||
@available(*, deprecated, renamed: "unsafeContext()")
|
||||
func internalContext() -> NSManagedObjectContext
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user