Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 07-14-2011, 01:10 PM   #1 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 2
nettles is on a distinguished road
Default How to edit code for GUI-constructed nib files?

I'm new to iOS development and working through the Mark/Nutting/LaMarche book.

I am wondering how to open nib files (such as ViewController.xib) in a regular text editor, rather than using the GUI that initially constructs them. I can see and edit the relevant code without difficulty if I open the project's .xcodeproj file in an external editor, but I'm wondering how to do this within Xcode 4 — Xcode always seems to want to open the nib as a graphical interface. Is there a way to open it as editable text?

Thanks for your patient reply.

[edited: found the answer through play:]
It turns out that right-click on the nib file brings up a menu, from which Open As->Source Code gives me what I want.

Last edited by nettles; 07-14-2011 at 01:18 PM. Reason: found the answer
nettles is offline   Reply With Quote
Reply

Bookmarks

Tags
editing, xib files

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 412
12 members and 400 guests
AppleDev, chemistry, Emy, Gi-lo, ipodphone, mistergreen2011, pipposanta, QuantumDoja, Retouchable, RobTaku, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,924
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:29 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0