Skip to content

Instantly share code, notes, and snippets.

@StanislavK
Created February 27, 2018 21:18
Show Gist options
  • Save StanislavK/ff385e52bbb4a8e841f5af3310545049 to your computer and use it in GitHub Desktop.
Save StanislavK/ff385e52bbb4a8e841f5af3310545049 to your computer and use it in GitHub Desktop.
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