Ya , there is much a easy way to handle this.....
You can take a Global Variable
In your Delegate.h file declare your variable:
@interface Smoke_ApplicationAppDelegate : NSObject {
UIWindow *window;
UINavigationController *navigationController;
NSString *messageString; //This would be your String Variable
}
@property(nonatomic,retain)NSString *messageString;
Secondly in Delegate.m file
@implementation Smoke_ApplicationAppDelegate
@synthesize window;
@synthesize navigationController;
@synthesize messageString; // Synthesize it over here..
This is Done .Now you can use this String Variable in All/any class you want..
To use this Global Variable.
Just import you Delegate file
make the obj of it....
import "DelegateFile.h"
@implementation About
DelegateFile *appDel;
Now in Your class.m
}
Now you can access it anywhere in your class by this Object:
appDel.messageString
Just follow my Steps Carefully
After giving so much pain to my finger,
I am sure this is definitely going to help you.....
Have a easy life,