Wrox Programmer Forums
BOOK: Beginning iPad Application Development
This is the forum to discuss the Wrox book Beginning iPad Application Development by Wei-Meng Lee; ISBN: 9780470641651
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iPad Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 26th, 2010, 09:02 AM
Registered User
Join Date: Oct 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 - Page 46

I need help on the exercise on Creating Outlets and Actions.

Apparently, I followed all the instruction and when i executed the codes, i got this as part of the alert:


Hello, <UITextField: 0x4922E0, frame..... ; text = 'Wei Meng - Lee"...

Any idea on what caused this?

Old October 26th, 2010, 01:07 PM
Friend of Wrox
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts

When allocating and defining your NSString
NSString *str = [[NSString alloc] initWithFormat:@"Hello, %@", txtName.text];
did you include the dot operator?

I can recreate your error if the line is
NSString *str = [[NSString alloc] initWithFormat:@"Hello, %@", txtName];
If this is not the error post your -(IBAction)btnClicked method in a response, in case a typo or error of omission has occurred. It will make it easier to rule out possible causes for the error.

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 8, page 300 misken BOOK: Beginning SharePoint 2010 Development 3 September 13th, 2010 05:17 PM
Chapter 6 page 207 greigle BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 5 March 19th, 2010 12:50 PM
chapter 2 - page 41 problem creating the page.. jorjiana BOOK: Beginning Oracle Application Express ISBN: 9780470388372 2 August 22nd, 2009 04:25 AM
Try It Out Page 146 Chapter 5 sosborne BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 August 7th, 2006 05:53 PM
chapter 3.0 try it out page 74 rat BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 August 3rd, 2006 01:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.