Classes
The following classes are available globally.
-
The
See moreTargetActionclass bridges the gap between Swift closures and the common Cocoa target (id)/action (SEL) paradigm. Construct aTargetActionwith a no-argument or single-argument callback closure. Then, use thetargetandactionproperties of theTargetActioninstance as you would normally anywhere Cocoa calls for a target/action.Declaration
Swift
open class TargetAction
View on GitHub
Classes Reference