[XIB] create a viewController to using XIBJameskrauser Lee·Follow2 min read·Mar 7, 2018--ShareCreated the MyViewController.xibDrag View to XIBwe get the view in XIBDrag a Labelwe create UIViewController for XIB , class name must as same as XIB file namewe Created the MyViewController.h and MyViewController.mclass File’s owner to setting class Name.Drag File’s owner to xib , click viewwrite the presentViewController in button sender().Democlick button to show XIB.Source Codehttps://github.com/jameskrauser/XIB