fix compile errors for Xcode 9.1 beta

This commit is contained in:
John Rommel Estropia
2017-10-29 15:20:58 +09:00
committed by John Estropia
parent 588fa35c84
commit 305e2b61a0
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ import CoreData
*/ */
@available(OSX 10.12, *) @available(OSX 10.12, *)
@objc @objc
public protocol CSListObserver: class, AnyObject { public protocol CSListObserver: class {
/** /**
Handles processing just before a change to the observed list occurs Handles processing just before a change to the observed list occurs

View File

@@ -40,7 +40,7 @@ import CoreData
*/ */
@available(OSX 10.12, *) @available(OSX 10.12, *)
@objc @objc
public protocol CSObjectObserver: class, AnyObject { public protocol CSObjectObserver: class {
/** /**
Handles processing just before a change to the observed `object` occurs Handles processing just before a change to the observed `object` occurs

View File

@@ -33,7 +33,7 @@ import CoreData
Objective-C Foundation types that are natively supported by Core Data managed attributes all conform to `CoreDataNativeType`. Objective-C Foundation types that are natively supported by Core Data managed attributes all conform to `CoreDataNativeType`.
*/ */
@objc @objc
public protocol CoreDataNativeType: class, NSObjectProtocol, AnyObject {} public protocol CoreDataNativeType: class, NSObjectProtocol {}
// MARK: - NSNumber // MARK: - NSNumber

View File

@@ -31,7 +31,7 @@ import Foundation
/** /**
`CoreStoreObjectiveCType`s are Objective-C accessible classes that represent CoreStore's Swift types. `CoreStoreObjectiveCType`s are Objective-C accessible classes that represent CoreStore's Swift types.
*/ */
public protocol CoreStoreObjectiveCType: class, AnyObject { public protocol CoreStoreObjectiveCType: class {
/** /**
The corresponding Swift type The corresponding Swift type