Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chipandtoast

macrumors member
Original poster
Nov 14, 2009
51
0
Wisconsin
I was following a tutorial on the iphone app (sdk iq)
and at the end of the view based tutorial I clicked build and run in xcode and xcode showed...



#import "HelloWorldViewController.h"

@implementation
HelloWorldViewController
@synthesize TextField, label; ! No declaration of property textfield found in interface
- (void) clickaction: (id) sender{
label.text = textField.text; !textfield undeclared
//hide keyboard on button click.
[TextField resignFirstResponder] ; !textfield undeclared
}


If anyone has advice please help. All the errors were in helloworldviewcontroller.m if that helps.
(If someone needs screenshots to be able to help me could you inform me how to take screenshots and post them on this page?)
 

chipandtoast

macrumors member
Original poster
Nov 14, 2009
51
0
Wisconsin
Objective-C is case-sensitive.

Thanks that helped a little bit now I only have 2 errors I'm at

code


@implementation
HelloWorldViewController
@synthesize TextField, label; !No declaration of property 'TextField' found in interface

- (void) clickaction: (id) sender{
label.text =TextField.text; ! 'TextField undeclared'
//hide keyboard on button click.
[TextField resignFirstResponder] ;
}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.