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
| FAQ | Members List | 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 Search this Thread Display Modes
  #1 (permalink)  
Old October 2nd, 2010, 08:56 AM
Registered User
 
Join Date: Sep 2010
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Unhappy Can someone help me debug ?

When I attempted to build the code given in chapter 3 I got the following error codes (5 total)

In the OutletsAndActionsViewController.h

Code:
@end
I got the error Expected ',' before 'end'

here is all the code I have under OutletsAndActionsViewController.h :
Code:
//  OutletsAndActionsViewController.h
//  OutletsAndActions
//


#import <UIKit/UIKit.h>

@interface OutletsAndActionsViewController : UIViewController {
//---declaring the outlet----
	IBOutlet UITextField *txtName;
}
//---expose the outlet as a property---//
@property (nonatomic, retain) UITextField *textName;
//---declaring the action--
-(IBAction) btnClicked: (id) sender

@end
Can someone explain to me what that error means and what the code should look like ?
Thank you
Reply With Quote
  #2 (permalink)  
Old October 3rd, 2010, 07:21 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

You are missing the semicolon at the end of your -(IBAction) declaration.
-(IBAction) btnClicked: (id) sender
should be
-(IBAction) btnClicked: (id) sender;
Reply With Quote
The Following User Says Thank You to thepianoguy For This Useful Post:
bryman (October 12th, 2010)
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
debug code iceman90289 C# 2005 2 March 31st, 2008 03:39 AM
Help Debug arholly Access VBA 19 December 18th, 2006 01:52 PM
Can't debug in VBA Cr0vaX Access VBA 3 September 15th, 2004 08:23 PM
Can't debug sithlrd General .NET 9 July 28th, 2004 05:00 PM
Can't Debug shmacgregor General .NET 6 March 1st, 2004 05:10 PM



All times are GMT -4. The time now is 02:10 AM.


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