fixed platform dependencies

This commit is contained in:
John Rommel Estropia
2016-06-17 01:24:19 +09:00
parent 76a2bc1da2
commit 2dc09289bf
33 changed files with 662 additions and 48 deletions

View File

@@ -27,6 +27,8 @@ import Foundation
import CoreData
#if os(iOS) || os(watchOS) || os(tvOS)
// MARK: - CSObjectObserver
/**
@@ -38,7 +40,6 @@ import CoreData
- SeeAlso: `ObjectObserver`
*/
@available(OSX, unavailable)
@objc
public protocol CSObjectObserver: class, AnyObject {
@@ -70,3 +71,5 @@ public protocol CSObjectObserver: class, AnyObject {
@objc
optional func objectMonitor(monitor: CSObjectMonitor, didDeleteObject object: AnyObject)
}
#endif