I guess this has been asked before but I can’t find something that I can use to answer my question and get this to work. So, here’s what I have. In once class, I have the following:
IBOutlet UILabel *totalAmountLabel;
and I’ve also setup the following the score the total in:
@property (nonatomic, strong) NSString *finalTotal;
So I’ve set my amount to that String in one class, but how exactly do I get at it in another class? I assume I import my class, but once I’ve done that, what do I type to get at this variable? How would I declare an instance of my class to get at this variable, and even then, would I have access to it? Or do I go via the getters and setters that are done for me – if so how do I know what they’re called?
I hope that makes sense, thanks in advance so your help.
you can use NsUser default
set you object with your keyword
than get that object any where in you project