pass xib view to configure function

This commit is contained in:
Ivan Smolin 2017-11-08 14:22:37 +03:00
parent 03cc92553c
commit ba94c670b3
1 changed files with 4 additions and 2 deletions

View File

@ -55,11 +55,13 @@ open class XibView: UIView {
addSubview(view)
configure()
backgroundColor = .clear
configure(xibView: view)
}
/// Provide initial configuration. Called once
open func configure() {
open func configure(xibView: UIView) {
}