PDA

View Full Version : [Interface Builder] Problem getting UI to my Project


Erle
04-07-2008, 06:34 PM
Hello,
I'm new to the iPhone Dev Platform and Cocoa though I already programmed in other Languages.
Here's my Problem, after Building my Interface in IB (a simple one, a UIWindow with two UIToolbars one at the top, the other at the bottom of the Window), adding it to XCode and Writing the Class Files, I just can't get it run, in my XCode Project.

I noticed an error message that points out an impot of Cocoa.h, I changed that to the UIKit stuff and that error is not showing up anymore.

Then the compiler is detecting an error in the class files created by IB where it markes "redifiniton of struct UIWindow" (IB created UIWindow.h /.m)
When I change that to another Instance Name the message disappears and the App builds, but with an empty UI.

I searched the Apple Doc for some kind of "How-To" but I didn't found sth. helpful right now.

Is anybody here who can help me, I guess the problem's solving is obvious and "I'm seeing the forrest because of all the trees"

Hoping for help,

Erle

PS: Sorry for my bad english. :)

mitchellmoxo
04-10-2008, 02:04 AM
beta 3 is out and that problem is fixed.

thanks
mitch

jeanmaikel
04-10-2008, 06:15 PM
With SDK ß3 apple has published a document
iphone101.pdf "Your First iPhone Application" sort of User manual
for Interface Builder