On 30.01.2011, at 22:59, Max Stottrop wrote:
> But now to my question. Can anyone of you explain me (slowly;)) how to add 
> another view (.xib) file to my iPhone project?  I tried several things, but 
> none worked for me. Thanks in advance.

 There are two steps to this:

1) Create a UIViewController subclass to load the XIB
2) Create the actual XIB file, and make sure you set the "custom class" of its 
"File's Owner" to the class of object that loads your XIB (i.e. the subclass 
from step 1)

Both of these can be achieved using the File -> New menu item in Xcode these 
days, and then opening and editing the resulting files.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to