Created
February 27, 2018 21:18
-
-
Save StanislavK/ff385e52bbb4a8e841f5af3310545049 to your computer and use it in GitHub Desktop.
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
class SharePromptView: UIView { | |
override init(frame: CGRect) { | |
super.init(frame: frame) | |
createSubviews() | |
} | |
required init?(coder aDecoder: NSCoder) { | |
super.init(coder: aDecoder) | |
createSubviews() | |
} | |
func createSubviews() { | |
// all the layout code from above | |
} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment