Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Beginning iPad Application Development
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 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 Display Modes
  #1 (permalink)  
Old February 23rd, 2011, 11:24 AM
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?!
Reply With Quote
  #2 (permalink)  
Old February 23rd, 2011, 12: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.
Reply With Quote
  #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.
Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools
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 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



All times are GMT -4. The time now is 02:17 PM.


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