Skip to content

Instantly share code, notes, and snippets.

/post.swift

Created May 18, 2017
Embed
What would you like to do?
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
You can’t perform that action at this time.