Add Lion Fullscreen feature in a Xcode 3 project
- Open your *.xib files by Interface Builder 3.2.6 (which is included in Xcode 3.2.6), press OPT+CMD+I to open the Info panel, change “Development Target” to “Interface Builder 3.2”.
- Open your *.xib file in any text editor (Such as Kod, Sublime Text 2, TextMate, etc.).
- Search and find
<object class="NSWindowTemplate" id="xxxxxxxxx">
- Copy and paste the following code between the found object tag
- Save and build your project, you will see the full-screen button on the top-right corner of your window if your system is Lion.