ios - Load UITabBarController from Nib -
how load uitabbarcontroller nib? for uiviewcontrollers this let viewcontroller = subclassofviewcontroller(nibname: "subclassofaviewcontroller", bundle: nil); but not find similar method load uitabbarcontroller nib any thoughts? thank you edit: not using storyboards if using storyboard let tabbarcontroller = [[uistoryboard storyboardwithname:@"main"bundle:null] instantiateviewcontrollerwithidentifier:@"subclassofaviewcontroller"]; where subclassofaviewcontroller identifier. else let viewcontroller = subclassofviewcontroller(nibname: "subclassofaviewcontroller", bundle: nil) this method fine. since uitabbarcontroller subclass of uiviewcontroller there no need of separate method here in subclass