Hey all i have been trying to figure out why i am getting this warning:
'TxtAppDelegate' may not respond to '-TCN' 'TxtAppDelegate' may not respond to '-TID'
when i try to use this code:
// .h file
@interface RootViewController : UITableViewController <UIActionSheetDelegate> {
NSString *theCompanyName;
NSString *theID;
}
@property (nonatomic, retain)NSString *theCompanyName;
@property (nonatomic, retain)NSString *theID;
// .m
NSString *theCompanyName;
NSString *theID;
@synthesize theCompanyName;
@synthesize theID;
TxtAppDelegate *customObjInstance = [[TxtAppDelegate alloc] init];
theCompanyName = [customObjInstance TCN];
theID = [customObjInstance TID];
I've added the header for the .h file that has the two functions in them. The code works but i really would like to solve the warning problem.
Any help would be great to solve this problem of mine :)
David