Skip to content

Instantly share code, notes, and snippets.

View nicolastinkl's full-sized avatar
🌏
Trading

Zeus nicolastinkl

🌏
Trading
View GitHub Profile
@nicolastinkl
nicolastinkl / gist:e33ab89b56b27af2808b
Last active April 4, 2017 23:34
how to use 'Currying' and implement UIControl
protocol TargetAction{
func performAction()
}
struct TargetActionWrapper<T:AnyObject>:TargetAction {
weak var target : T?
var action:(T)->()->()