Question: what is nibname in swift?
Answer: Specifically, it looks for a nib file with an appropriate name (without the . ... It looks for a nib file whose name matches the name of the view controller class. For example, if the class name is MyViewController , it looks for a MyViewController. nib file.