UIView

public extension UIView

Extension for UIView.

  • Loads the view from the nib file from the specified bundle and adds it as subview.

    Declaration

    Swift

    func loadFromNib(bundle: Bundle)

    Parameters

    bundle

    The bundle containing nib file.