Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I see code for nib/xib files?

Is it possible for us to see the source code generated behind the out of xib/nib files (I know they are xml files)? I heard about NIBTOOL but I believe it is no longer available or replaced by some other tool which I cannot find. Does anyone know about it?

Thank you very much for responses.

like image 729
RLT Avatar asked Jun 23 '11 09:06

RLT


People also ask

Where are XIB files located?

Select New Project -> Application -> SingleView Application and you will see here . xib file. :) Save this answer.

What is difference between XIB and NIB?

NIBs and XIBs are effectively the same thing: XIBs are newer and are used while you're developing, whereas NIBs are what get produced when you create a build. In modern versions of iOS and macOS, NIBs and XIBs have effectively been replaced by storyboards, although you may still meet them if you work on older projects.

How do I open a .NIB file?

If you cannot open your NIB file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a NIB file directly in the browser: Just drag the file onto this browser window and drop it.


1 Answers

Nitish edited answer is : Just right click on nib file and Open As Source Code

like image 181
Shaheer Palolla Avatar answered Sep 22 '22 03:09

Shaheer Palolla