Last active
May 27, 2016 10:00
-
-
Save Broich/702d3d04d30de420e7c09fef9e664975 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
MyViewController: UIViewController { | |
let refreshControl: UIRefreshControl = { | |
$0.tintColor = Theme.currentTheme().textColor | |
$0.addTarget(self, action: #selector(refresh(_:)), forControlEvents: .ValueChanged) | |
return $0 | |
}(UIRefreshControl()) | |
override func viewDidLoad() { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment