Control Service

Control Service

Method Overview

NameDescriptionReturn
loadNib()การ Load Control ของ AtlasXOptional(T)

Method Details

static func loadNib<T>(classObject: T.Type, nibName: String) -> T?

การ Load Control ของ AtlasX

Parameters

NameDescriptionType
TClass ของ Control ที่ต้องการ LoadClass
classObjectProtocol ของ Class Control ที่ต้องการ LoadT.Type
nibNameชื่อของ Nib ControlString

Example

let scrollStackView: ScrollStackView = Control.loadNib(classObject: ScrollStackView.self, nibName: "ScrollStackView")!