• 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: Learning the Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Learning the Interface Builder


  • Subject: Re: Learning the Interface Builder
  • From: Bayes Scott F <email@hidden>
  • Date: Thu, 03 Nov 2011 12:19:59 -0700

> And in Xcode 4.2, if you write an IBAction method and *no* sender is connected to it, Xcode actually tells you so by an annotation in the gutter.

To clarify, that's the gutter in the controller's .h file. Click on the circle beside the line number to see the annotation.

And it will also show you whether IBOutlets are connected and give you an annotation showing *what* is connected to the IBOutlet. Further, if in IB you select a control and go to the Identity Inspector tab and enter some text in the Label field (under the 6th heading in that tab), e.g. "kinetic energy field", the annotation in your .h file gutter will now display that text instead of a generic name like "text field".

I think Xcode 4 really is quite a bit easier and more helpful for a beginner than 3, which was a vast improvement over version 2. I'd dump version 3 ASAP.


ScottB


On Nov 3, 2011, at 08:05 , Matt Neuburg wrote:

> On Wed, 02 Nov 2011 19:40:35 -0700, Amanda Rains <email@hidden> said:
>> Understood...  I'll probably keep using Xcode 3 for a little longer.
>
> I think that's a huge mistake, especially for a beginner. Xcode 4, for all its faults, makes certain things *so* much clearer and easier. Just to give a simple example, consider forming an action connection from a nib to code. Instead of having to work in two applications (Xcode and Interface Builder), you work in one application (Xcode). You can form the connect just by dragging from the sender to the target; Xcode will even write some code for you. And in Xcode 4.2, if you write an IBAction method and *no* sender is connected to it, Xcode actually tells you so by an annotation in the gutter.
>
> My point is that Xcode 4 makes both concepts and implementation much easier. And that's exactly what beginners need. If the book you're using isn't updated for Xcode 4, I'd suggest you use a different book. m.
>
> --
> matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
> A fool + a tool + an autorelease pool = cool!
> Programming iOS 4!
> http://www.apeth.net/matt/default.html#iosbook _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Learning the Interface Builder
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: Learning the Interface Builder (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: How To Run Terminal.app from Xcode
  • Next by Date: Re: How To Run Terminal.app from Xcode
  • Previous by thread: Re: Learning the Interface Builder
  • Next by thread: Re: Learning the Interface Builder
  • Index(es):
    • Date
    • Thread