Created
February 19, 2018 17:14
-
-
Save azamsharp/fca52117254b78c765243fab00e15092 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
let addFloodButton = UIButton.buttonForAddingAnnotation() | |
.addToParent(view: self.view) | |
.centerX(in: self.view) | |
.bottomMargin(from: self.view, margin: -40) | |
.setWidth(width: 75) | |
.setHeight(height: 75) as! UIButton | |
addFloodButton.addTarget(self, action: #selector(addFloodAnnotationButtonPressed), for: .touchUpInside) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment