From ada55ed8e52fa2506f17e88331e49b599fe1d9c7 Mon Sep 17 00:00:00 2001 From: sergdort Date: Sat, 25 Jun 2016 22:14:04 +0300 Subject: [PATCH] Fixed compile error on all tests MAC os --- Tests/RxCocoaTests/DelegateProxyTest+Cocoa.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/RxCocoaTests/DelegateProxyTest+Cocoa.swift b/Tests/RxCocoaTests/DelegateProxyTest+Cocoa.swift index 4a71f3b2..1fe55af3 100644 --- a/Tests/RxCocoaTests/DelegateProxyTest+Cocoa.swift +++ b/Tests/RxCocoaTests/DelegateProxyTest+Cocoa.swift @@ -54,7 +54,7 @@ class NSTextFieldSubclass var test: Observable { return rx_delegate .observe(#selector(NSTextFieldDelegateSubclass.testEventHappened(_:))) - .map { a in (a[0] as! NSNumber).integerValue } + .map { a in (a[0] as! NSNumber).intValue } } func setMineForwardDelegate(_ testDelegate: TestDelegateProtocol) -> Disposable {