A framewok like BlocksKit with using Swift .
Pull "UIViewExt.swift" into the project.
The UIView and its subviews can do like this:
button_2.whenTapped { () -> Void in
print("button_2 has been clicked")
}| Name | Name | Last commit date | ||
|---|---|---|---|---|