Re: Problem with Currency Converter tutorial
Re: Problem with Currency Converter tutorial
- Subject: Re: Problem with Currency Converter tutorial
- From: "Martin Redington" <email@hidden>
- Date: Thu, 21 Jun 2007 22:45:43 +0100
On 6/21/07, Brian Smith <email@hidden> wrote:
On Jun 21, 2007, at 12:13 PM, Kevin Walzer wrote:
> After doing all this, I noticed that I had not added "convert" as
> an outlet along with rateField, etc. So I backed up and tried to
> select the "Outlets" tab in the inspector pane--but it won't let me
> add a new outlet. Selecting each outlet only connects/disconnects
> them from the ControllerConverter instance. I can't delete them and
> start over, either. Also, the "classes" menu is disabled, so I
> can't access it form there. As a result, I'm a bit stuck: how do I
> go back and add the "convert" outlet without trashing the whole
> project and starting over?
>
You can add the outlets in the class interface in Xcode's editor for
the class's header file, and then have IB re-parse the header
(Classes->Read Files..., or drag & drop the header to IB's nib
inspector panel) file to get it to recognize the new outlets in the
class. I prefer creating my classes in Xcode and the parsing the
header, instead of creating them in IB. Also, make sure the "Classes"
tab view is selected to enable the "Classes" menu items.
Me too. I'm never sure why you would want to add them in IB (although I think you can do it that way and then get IB to generate the headers, maybe some people prefer to work that way).
Another nice feature is that if you double-click on an instance in IB's Instances tabview, then it will switch to the Classes tabview and highlight the class, which make it easy to use the config file to read that classes header file when you've changed it in Xcode (I didn't realise that you could just drag and drop them).
Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman
/options/xcode-users/email@hidden
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