fix xcode hints

This commit is contained in:
John Rommel Estropia
2017-05-21 09:11:34 +09:00
parent 3f268e8376
commit d44721fef0

View File

@@ -228,7 +228,7 @@ public extension NSManagedObject {
self.setPrimitiveValue(value, forKey: KVCKey)
}
@available(*, deprecated, renamed: "setValue(_:forKvcKey:didSetValue:)")
@available(*, deprecated, renamed: "setValue(_:forKvcKey:willSetValue:didSetValue:)")
@discardableResult
@nonobjc
public func setValue<T>(_ value: Any?, forKVCKey KVCKey: KeyPath, _ didSetPrimitiveValue: (Any?) throws -> T) rethrows -> T {