Currently, I have the following handy generic function, which enables me to create custom view from XIB
extension UIView { static func instanceFromNib<