我有以下代码:
//RootViewController.h:
#import <UIKit/UIKit.h> @interface RootViewController : UIViewController{ IBOutlet UITextField *login_uname; IBOutlet UITextField *login_pword; IBOutlet UIActivityIndicatorView *login_thinger; IBOutlet UIImageView *logo; IBOutlet UISwitch *login_remember; IBOutlet UIScrollView *scrollView; } -(IBAction) login_submitClick:(id)sender; -(IBAction) doneEditing:(id)sender; -(IBAction) clearPword:(id)sender; -(void) showSignUp:(id)sender; -(void)dologout:(id)sender; //for file handling: -(NSString *)documentsPath; -(NSString *)readFromFile:(NSString *)filePath; -(void) writeToFile:(NSString *)text withFileName:(NSString *) filePath; @end
//RootViewController.m
#import "RootViewController.h" //#import "Main.h" //#import "SignUp.h" #import "ASIHTTPRequest.h" #import "ASIFormDataRequest.h" #import "CommonCrypto/CommonHMAC.h" #import "Details.h" //#import "signUpSMS.h" #import "JSON.h" @implementation PrestoCab3ViewController @synthesize login_uname; //this line throws the error in the title ...
我正在使用XCode 4.1并且想知道是否有人可以帮我解决这个错误的底部.我对XCode很新.
提前谢谢了,