Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Jun 1, 2009, 08:33 AM   #1
macrumors newbie
Join Date: May 2009
IB inxcode3.1

Have two questions about IB in xcode3.1

In IB if is there some way to organize your modules (windows, objects, etc....) in the .xib window into folders or something of that nature for easier navigation when linking commands?

Is there a way for IB to behave like it did in xcode3.0 making you aware of what will not work in different a OS?
silentnosie is offline   0 Reply With Quote
Old Jun 1, 2009, 12:22 PM   #2
macrumors 68020
Krevnik's Avatar
Join Date: Sep 2003
The functionality that existed in 3.0 should also exist in 3.1. The only difference I am aware of is that in 3.1, XCode/IB default to creating XIBs targeting 10.5, so most warnings will get suppressed. You will want to bring up the file's info (in IB) to check/edit this.

If you have a single NIB/XIB that is getting complicated to the point where you need to figure out how to organize it... it is too big. There isn't anything like folders, but you can split it up into multiple NIBs/XIBs and load them programmatically.

An example would be: A XIB for the main program window, another for program preferences, a third for Get Info-like windows, etc.

This method of splitting up the XIB is also useful because a window in its own XIB that you load programmatically can be loaded multiple times and its window spawned multiple times. Something you can't do nearly as easily if the window lives in the same XIB as everything else.
iMac 2013 27", 13" rMBP, iPad 4, iPhone 5s
Krevnik is offline   0 Reply With Quote
Old Jun 1, 2009, 01:55 PM   #3
macrumors 6502a
Sayer's Avatar
Join Date: Jan 2002
Location: Austin, TX
Another salient point to mention is that when the NIB is loaded all of its objects are instantiated (loaded into memory, initialized, etc).

If you don't need everything at startup, then you should split out to separate NIBs (XIBs are just XML-based NIBs that get compiled into read-only NIBs on build).
Obama is a true statesman whose experience as a state senator, half-term US Senator & guest lecturer in a Constitutional Law class has fully prepared him to take control of our nuclear arsenal.-Me
Sayer is offline   0 Reply With Quote
Old Jun 1, 2009, 03:50 PM   #4
Thread Starter
macrumors newbie
Join Date: May 2009

that really is horrible thing it's doing with it suppressing the warnings. Guess the rumors about snow-leopard have some truth to them.
silentnosie is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
iOS 4.2.1 update lost all my text messages eriknba iPhone Tips, Help and Troubleshooting 39 Apr 3, 2011 04:05 AM
Broadcom BCM43xx 1.0 ( win7 driver ValleyPirate Windows, Linux & Others on the Mac 5 Mar 1, 2011 09:10 PM
iPad is totally dead 14 hours after 4.2.1 upgrade JBmac iPad Tips, Help and Troubleshooting 7 Dec 1, 2010 11:40 AM
Upgrading to 4.2.1 from GM 4.2 through iTunes FFArchitect iPhone/iPad Programming 4 Nov 24, 2010 09:33 AM
A really bad problem to me on 4.2.1 zjzjn1 iPod touch 2 Nov 22, 2010 02:20 PM

All times are GMT -5. The time now is 12:25 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC