Last active
December 5, 2017 01:13
-
-
Save nanoxd/8b05bd5823cafb9c0082 to your computer and use it in GitHub Desktop.
Setup UIRefreshControl
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
lazy var refreshControl: UIRefreshControl = { | |
let refreshControl = UIRefreshControl() | |
refreshControl.addTarget(self, action: "handleRefresh:", forControlEvents: UIControlEvents.ValueChanged) | |
return refreshControl | |
}() | |
@objc func handleRefresh() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment