I have classes: PropertyCalcViewController
.m & .h
In the .h I have
IBOutlet UIButton *btnGo;
@property (nonatomic, retain) IBOutlet UIButton *btnGo;
and in the .m file I have
@synthesize *btnGo;
Now I also have another class Manager
.m & .h.
What I want to do is that access btnGo
from the Manager
class and remove it from PropertyCalcViewController
like
[btnGo removeFromSuperView]
How can I do this?