Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-07-2011, 07:28 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 2
rwehner186 is on a distinguished road
Unhappy @End Error

I am getting an error in my .m files. After writing a few lines of code. The error lies in line 3 'requires @end' and there is a warning next to the @end in line 8. This code is very basic, and I can't figure out how it's already messed up. I am using Xcode 4.x


1 #import "RootViewController.h"
2
3 @Implementation RootViewController
4
5 @synthesize tableArray;
6 @synthesize tableCell;
7
8 @end


My .h file looks like this:

#import <UIKit/UIKit.h>

@class TableViewCell; // custom cell design

@interface RootViewController: UITableViewController {
NSMutableArray *tableArray;
TableViewCell *tableCell; //defined in AppDelegate
}

@property (nonatomic, retain) NSMutableArray *tableArray;
@property (nonatomic, assign) IBOutlet TableCell *tableCell;

- (void)configureCell:(tableCell *)cell atIndexPath:(NSIndexPath *)indexPath;

@end
rwehner186 is offline   Reply With Quote
Old 06-07-2011, 12:08 PM   #2 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 864
nobre84 is on a distinguished road
Default

Maybe its the Capital "i" in @Implementation. It should be all lowercase.
nobre84 is offline   Reply With Quote
Reply

Bookmarks

Tags
@end, error, iphone sdk, uitableview, xcode 4

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 324
6 members and 318 guests
chemistry, Dnnake, iOS.Lover, jenniead38, pbart, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:19 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0