Yes, thank you. I got that working now.
I am facing another, more serious problem though. When I right-click and drag from an object to the UI elements, that black HUD with the outlets pops up and I’m supposed to select from among the options. The problem is that it just gets stuck there. I am unable to select the outlets or do anything at all. The spinning beachball does not but I cannot even quit Interface Builder at that point. The only option it leaves me is force quitting the app.
The first time, it got stuck when I was hooking up the first object itself. I force quit Interface Builder and relaunched it and this time it got stuck while I was hooking a UI element back to an object (to specify the action). Am I doing something wrong?
I’m running the latest version of everything—the OS and all the developer tools—on a MacBook.
On 23-Jan-2010, at 12:38 AM, Fritz Anderson wrote: On 22 Jan 2010, at 12:58 PM, Aayush Arya wrote: In the very first lecture, while making a very simple application, when I dragged an object into MainWindow.xib, the Identity tab in Interface Builder is showing the panes Class Identity and Interface Builder Identity but it won’t show Class Actions and Class Outlets.
How do I get these panes to show up?
By chance, is the tutorial using Xcode 3.1.2, and you are using 3.2.1? There are two things you can do: Select the object, and then the second (connections) tab in the inspector. You'll get a list, and bubbles next to each outlet/action from which you can drag to objects to fill the outlets or send the actions. or In the Library window, select the Classes tab and search for your class; select it. At the bottom is another set of tabs giving information about the class, including outlets and actions. This is available even if your XIB doesn't refer to that class. — F
-- Regular Contributor, Macworld
|