Skip to content

Instantly share code, notes, and snippets.

@Aymenworks
Created January 18, 2019 02:03
Show Gist options
  • Save Aymenworks/981188e55d623b209910645add26d393 to your computer and use it in GitHub Desktop.
Save Aymenworks/981188e55d623b209910645add26d393 to your computer and use it in GitHub Desktop.
class SearchView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
setup()
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
override func awakeFromNib() {
super.awakeFromNib()
setup()
}
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment