Tag: xib

  • iOS Swift Initialising XIB And Bind To The Controller Without Storyboard

    iOS Swift Initialising XIB And Bind To The Controller Without Storyboard

    It is very useful to able to initialise  xib files independently from storyboard. Here is what to do with a line of code: //Calling the initializer in the ViewController convenience override init() { // ViewName is by convenience same name. // I use like: BlahV.xib BlahVC.swift self.init(nibName: “BlahV.xib”, bundle: nil) //initializing the view Controller form specified…