NSTimer
+Timer
Undocumented
NSTimer
-
+
- scheduledTimerWithTimeInterval(_:userInfo:repeats:callback:)
+ scheduledTimerWithTimeInterval(_:userInfo:repeats:callback:)
NSTimer
NSTimer
-
+
- scheduledTimerWithFireDate(_:repeatInterval:callback:)
+ scheduledTimerWithFireDate(_:repeatInterval:callback:)
NSTimer
NSTimer
NSTimer
Classes
-
-
- NotificationWatcher
+
+
+ TargetAction
Classes
Undocumented
+The TargetAction
class bridges the gap between Swift closures and the common
+Cocoa target (id
)/action (SEL
) paradigm. Construct a TargetAction
with
+a no-argument or single-argument callback closure. Then, use the target
and
+action
properties of the TargetAction
instance as you would normally
+anywhere Cocoa calls for a target/action.
Declaration
+Swift
+public class TargetAction
+
+ -
- - - NotificationObjectWatcher + + + NotificationWatcher
-
-
- - - TargetAction + + + NotificationObjectWatcher
@@ -118,21 +130,9 @@@@ -143,7 +143,7 @@Classes
--The
- - See more -TargetAction
class bridges the gap between Swift closures and the common -Cocoa target (id
)/action (SEL
) paradigm. Construct aTargetAction
with -a no-argument or single-argument callback closure. Then, use thetarget
and -action
properties of theTargetAction
instance as you would normally -anywhere Cocoa calls for a target/action.Declaration
NotificationObjectWatcher
-
+
- init(notificationName:object:startWatching:callback:)
+ init(notificationName:object:startWatching:callback:)
NotificationObjectWatcher
-
+
- init(notificationNames:object:startWatching:callback:)
+ init(notificationNames:object:startWatching:callback:)
NotificationObjectWatcher
NotificationWatcher
-
+
- init(notificationName:object:startWatching:callback:)
+ init(notificationName:object:startWatching:callback:)
NotificationWatcher
-
+
- init(notificationNames:object:startWatching:callback:)
+ init(notificationNames:object:startWatching:callback:)
NotificationWatcher
Declaration
Declaration
Swift
-public init(callback: () -> Void)
+ public init(callback: @escaping () -> Void)
Parameters
Declaration
Swift
-public init(callback: (AnyObject?) -> Void)
+ public init(callback: @escaping (AnyObject?) -> Void)
Parameters
Extensions
@@ -87,7 +87,7 @@Extensions
CleanroomBridging Docs (27% documented)
@@ -22,7 +22,7 @@NSTimer
+Timer
Undocumented
NSTimer
-
+
- scheduledTimerWithTimeInterval(_:userInfo:repeats:callback:)
+ scheduledTimerWithTimeInterval(_:userInfo:repeats:callback:)
NSTimer
NSTimer
-
+
- scheduledTimerWithFireDate(_:repeatInterval:callback:)
+ scheduledTimerWithFireDate(_:repeatInterval:callback:)