Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning iOS 4 Application Development
This is the forum to discuss the Wrox book Beginning iOS 4 Application Development by Wei-Meng Lee; ISBN: 978-0-470-91802-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iOS 4 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 7th, 2010, 02:31 PM
Registered User
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3. step 5

When control-clicking and dragging the File's Owner item to the Text Field view I do not receive a popup with the outlet named txtName. I do admit I personally typed the code but I also double and triple checked my code. It is exactly as the book instructs...Any suggestions as to what I may have done wrong? I am currently retyping the code now. Please any advice would be much appreciated.
Reply With Quote
  #2 (permalink)  
Old November 7th, 2010, 10:29 PM
Registered User
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you've declared the txtName in the OutletsAndActionsViewController interface like so:

IBOutlet UITextField *txtName;

and exposed as a property (outside the interface declaration) like so:

@property (nonatomic, retain) UITextField *txtName;

and synthesized txtName like so:

@synthesize txtName; (make sure you save your changes in the files)

and Option-clicked the Files Owner and dragged over the Text Field view, then the txtName should appear to select (make sure you hold down the Option key when you click and drag)

I know this is what you said you did, but sometimes we overlook something small like saving the files or using the Option key. Anyway, hope this helps.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 5 page 156 Example Step 4 NoraBelle BOOK: Professional Microsoft SQL Server 2008 Integration Services ISBN: 978-0-470-24795-2 1 August 2nd, 2010 03:29 PM
Chapter 5 | Pg.158 - Step 2 jwriddle BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 April 30th, 2009 02:03 AM
Chapter 4|Pg.120 - Step 7 jwriddle BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 April 28th, 2009 04:30 PM
Chapter 3 - Try it out, step 5 vsches BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 March 17th, 2009 11:00 PM



All times are GMT -4. The time now is 03:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.