relax NSManagedObject return types so callers don't need to cast every time

This commit is contained in:
John Estropia
2016-05-10 21:49:50 +09:00
parent 57b66cff34
commit 8b95d337a3
10 changed files with 32 additions and 32 deletions

View File

@@ -41,7 +41,7 @@ public final class CSObjectMonitor: NSObject, CoreStoreObjectiveCType {
/**
Returns the `NSManagedObject` instance being observed, or `nil` if the object was already deleted.
*/
public var object: NSManagedObject? {
public var object: AnyObject? {
return self.bridgeToSwift.object
}