Nib name and Xib name


#1

Hi I realized something in this book is that whenever the book uses code that load nib file like this

and

the nib name they fill in are always the same with the xib name. Is this the naming convention or something? How are we suppose to know the nib name through xib name?


#2

The thing you work with in Interface Builder is a XIB file. The compiled version of a XIB, the file that is actually on the file system when the application is running, is a NIB file (as you can see here: cl.ly/image/1Z1r2j1l2l42). They will always be the same name.