Created
March 4, 2015 14:07
-
-
Save nof/9d3cdf556dcc5040d8ad to your computer and use it in GitHub Desktop.
tap in swift (Dollar)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func excellent() { | |
let initSize = { | |
$0.width = self.width | |
$0.height = self.height | |
} | |
let haha = $.tap(Haha(), initSize) | |
let hoho = $.tap(Hoho(), initSize) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment