Skip to content

Instantly share code, notes, and snippets.

Created May 18, 2017 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ea72a4674cb567a403453d9d5b91ea46 to your computer and use it in GitHub Desktop.
Save anonymous/ea72a4674cb567a403453d9d5b91ea46 to your computer and use it in GitHub Desktop.
the description for this gist
import UIKit
extension UIView {
override open func awakeFromNib() {
super.awakeFromNib()
self.setupUI()
}
override open func prepareForInterfaceBuilder() {
super.prepareForInterfaceBuilder()
self.setupUI()
}
// Override to apply styling
func setupUI() { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment