[Interface Builder] Problem getting UI to my Project
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,
PS: Sorry for my bad english. :)