mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-17 14:37:11 +01:00
relax NSManagedObject return types so callers don't need to cast every time
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user