• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Figuring out Interface Builder 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Figuring out Interface Builder 3.0


  • Subject: Re: Figuring out Interface Builder 3.0
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 29 Oct 2007 21:46:50 +0100


On lundi, octobre 29, 2007, at 08:17 PM, Monte Ohrt wrote:

Hello all,

I'm brand new to Cocoa development. I recently started learning with the Hillegas book and xcode 2. I was able to do the first tutorial (Random Number) fine in xcode 2, but I'm not exactly sure how to handle this in xcode 3 with the new interface builder. In the IB 2, the controller class created was automatically added to the xcode classes group. In IB 3, I don't see how to tie them together. This is what I've been able to make work:

In IB 3, create the controller instance, add the action and outlet items, and connect them. Then I go to File->Write Class Files... and browse to the project directory and save as "MyController". Then I go back to xcode and manually Add->Existing Files... to add MyController files to the classes group.

Another method I tried was to create the class files in xcode 3 first, then in IB 3, select the class file when I instantiate the object. But, I still have to write out the class files by browsing to the project folder, select the MyController.m file and prompt to replace the files.

Both methods require me to manually create the class relationship between xcode and IB. Is there a better approach?

Well, depending on one's point of view, IB 3 is either an evolution or a regression when it comes to this task.


As far as I've experienced it, it's a complete waste of time to try to define a class and its outlet in IB 3. The workflow for this task is now quite unintuitive (that's the regression part).

You are better off defining your class and outlets in Xcode 3 and benefit from the way improved synchronization features between IB and Xcode III (that's the evolution part).

Based on some attempts to use IB 3 for this, my personal feeling is that I accomplish this task way faster in Interface Builder 2.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Figuring out Interface Builder 3.0 (From: Monte Ohrt <email@hidden>)

  • Prev by Date: Re: Any word on developers already designing a new Xcode book ?
  • Next by Date: Re: [Leopard] Debugging GC
  • Previous by thread: Figuring out Interface Builder 3.0
  • Next by thread: Re: Figuring out Interface Builder 3.0
  • Index(es):
    • Date
    • Thread