mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-20 00:24:26 +01:00
SwiftUI and Combine utilities appledocs. Bump up to 8.0 and iOS 11.0/macOS 10.13
This commit is contained in:
@@ -174,21 +174,6 @@ extension ObjectSnapshot where O: NSManagedObject {
|
||||
self.values[key] = newValue
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: Deprecated
|
||||
|
||||
@available(*, deprecated, message: "Accessing the property directly now works")
|
||||
public func value<V: AllowedObjectiveCKeyPathValue>(forKeyPath keyPath: KeyPath<O, V>) -> V! {
|
||||
|
||||
return self[dynamicMember: keyPath]
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "Mutating the property directly now works")
|
||||
public mutating func setValue<V: AllowedObjectiveCKeyPathValue>(_ value: V!, forKeyPath keyPath: KeyPath<O, V>) {
|
||||
|
||||
self[dynamicMember: keyPath] = value
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user