Wrox Programmer Forums
|
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 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 November 8th, 2010, 04:26 PM
Registered User
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 exercise not working

Chapter 3: Outlets and Actions Simulator fails to produce the alert view with welcome message (fig. 3-5). I used downloaded code and have triple checked it. Clicking OK button makes it turn blue while clicked but does not produce alert.
 
Old December 8th, 2010, 01:19 AM
Registered User
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by HairHelmut View Post
Chapter 3: Outlets and Actions Simulator fails to produce the alert view with welcome message (fig. 3-5). I used downloaded code and have triple checked it. Clicking OK button makes it turn blue while clicked but does not produce alert.
The same happens here. I think there is a glitch in the way xCode handles the code. All I can suggest is to close the xCode and launch everything again and it should work. At least that was my case.
 
Old March 26th, 2011, 12:53 AM
Registered User
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem Solved when...

I've noticed that the author of this book neglects to inform us of some minor details when instructing us to do things. For this particular coding, if you follow the author's instruction to Command + R to run the app while in the View Window you will only see the Text Field and the OK button. Clicking the OK button does not cause an alert.

However, if you click Build and Run (or Command + R) in the XCode Project Window or Editor Window then it will work.

I've tried three of these codes by the author and half of one worked. The other two and a half gave me errors up the wazzoo. The half worked only by me coming up to these forums and reading from someone that you have to Build and Run from the other interface.

I've never had a programming book that gave me so much trouble with just a simple "Hello World" program.

Half of the code snippets don't come with instructions clearly stating which file it should be written to.

Now I'm stuck on the UsingViews app where I get an error: Request for member 'tag' in something not a structure or union.

I've double checked the code line by line and have also copied "working" codes from the forum but still get the same error.

Last edited by VanDamme; March 26th, 2011 at 02:04 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7 - Exercise rickymartini76@yahoo.it BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 2 March 16th, 2010 07:32 PM
Chapter 5 exercise 3 Will BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 2 September 27th, 2009 02:41 PM
Chapter 3 Exercise 3 Matt WAXON BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 July 4th, 2005 02:19 AM
Chapter 4, Exercise 3 DRAYKKO BOOK: Beginning Java 2 3 July 9th, 2004 02:34 PM





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