I have class A which has toolbar(created progmatically) & with property(nonatomic,retain) .In another class B i want to make toolbar of class A hidden. How to do that ? i am using
ClassA *aobj=[[classA alloc] init];
[aobj.toolbar sethidden:yes];
but it isn't working? please give me solution.