Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old February 23rd, 2011, 12:24 PM
Registered User
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 Outlets and Actions

Greetings all, newbie here and very confused!

I am using the latest Version 3.2.5 (1760) Xcode.

I have gone through the first section of chapter 3 to create the Outlets and Actions project. However when I click ‘OK’ I don’t get an alert view with the message.

So, I assume a school boy error and start again from scratch - same issue.
Third time lucky? - no, same again.

OK, let’s download the sample code off here and compare - that doesn’t work either!!

Is the code actually correct or do I have gremlins?!
  #2 (permalink)  
Old February 23rd, 2011, 01:35 PM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

Without seeing your code or project I can only speculate. The first thing I would check is that, after making your connections in IB, you saved your work. Xcode does not know about the connections made in IB until this is done. The author omits this step.
It should be the last line of step 7 p. 48.
If this is not the problem, either post your code or email your nonworking project to
ipadhelper@me.com and I will check it out.
Bob

When you state the downloaded code doesn't work, compiles and doesn't work or doesn't compile? It should run fine. The only issue would be making sure the Base SDK is updated.
  #3 (permalink)  
Old June 15th, 2011, 03:34 AM
Registered User
 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to run Outlets and Actions example

I am encountering the same exact problem as described by Jimillenium - there are no evil gnomes running around.

Quite sadly, I would have been looking for more precise instructions since this book is targeted at beginners.

Just to be clear, I was not able to perform step 6 - to control click and drag the OK button view to the File Owner's item. There is no action that pops up. (the steps were to select the btnClicked action).

Last edited by sayhong; June 15th, 2011 at 03:53 AM..
  #4 (permalink)  
Old June 15th, 2011, 07:49 AM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

What version of Xcode are you using?
If you are not using Xcode 4, recheck for typos, and make sure you have saved the changes in Xcode before going to Interface Builder.(And save your changes in IB before returning to Xcode) In Xcode 4 for you just will need to check for typos. Download the project code compile and run the project. Compare them and look for discrepancies. If you are using Xcode 4, I would suggest downloading the last version of Xcode 3 and completing the project successfully there, and then repeating it in Xcode 4.

If you still have a problem, you should post your code for the Controller class, or send your project to
ipadhelper@me.com
and I will take a look at it.

Bob


Similar Threads
Thread Thread Starter Forum Replies Last Post
CHAPTER 3 - Outlets and Actions TRY IT OUT program is not working tduraipkt BOOK: Beginning iPad Application Development 2 August 25th, 2010 05:47 AM
Linking View Controller to Outlets & Actions Ricacomp BOOK: Beginning iPhone SDK Programming with Objective-C 2 July 23rd, 2010 11:14 PM
trigger actions b00gieman Beginning VB 6 1 September 25th, 2007 07:23 AM
e-mail actions... ruhin Beginning PHP 4 May 4th, 2005 10:52 AM





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