Skip to content

Instantly share code, notes, and snippets.

@ksmandersen
Created May 26, 2016 19:54
Show Gist options
  • Save ksmandersen/1a66a45f79ce81b6eadea4cc22eec8c3 to your computer and use it in GitHub Desktop.
Save ksmandersen/1a66a45f79ce81b6eadea4cc22eec8c3 to your computer and use it in GitHub Desktop.
Good Swift, Bad Swift - Part 1
public class View: UIView {
public init() {
super.init(frame: CGRect.zero)
configureView()
}
public required init?(coder: NSCoder) {
super.init(coder: coder)
configureView()
}
internal func configureView() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment