Search code examples
iphoneipadmonoxamarin.iosmonodevelop

Where is the Interface Builder in the MonoDevelop application?


I'm having a play around with MonoTouch for the very first time. In the Hello World tutorial for Noobs-Like-Me, it says the following:

Launch Interface Builder by double-clicking on the MainWindow.xib file. Once Interface Builder starts up, you should see a surface (your window) and a Library that contains various components. Your Library should look like the following screenshot. If it is not there, select Library from the Tools menu

When I try that, nothing happens. No new 'window' shows. If I go to the Tools menu, there is no option for Library.

The solution type I made was a C# iPhone Window-based Project.


Solution

  • Interface Builder is part of the iOS SDK made available to developers by Apple; it is not part of MonoTouch or the MonoDevelop IDE. If nothing happens when you try to open a .xib file, IB may not be installed on your Mac.

    To obtain it, go to the iOS Dev Center and download Xcode 3.2.6 and iOS SDK. Make sure you download Xcode 3 and not Xcode 4, as IB is only a separate application in version 3. Quoting from this answer of mine to find the Xcode 3 download link:

    ... under the Xcode 4 + iOS SDK 4.3 download link you should find an Xcode 3.2.6 + iOS SDK 4.3 download link. If you don't see it you may need to log in first.

    Here it is: