In my viewcontroller, there are few views. All of that view's frames are depends on the variable
CGFloat borderWidth
These views are defined like
sec1 = [[MSSectionView alloc]initWithFrame:CGRectMake(self.borderWidth, self.borderWidth,self.frame.size.width/2-(self.borderWidth*3/2),self.frame.size.height/2 - (self.borderWidth*3/2) ) ];
i want to change the sec1's frame when i change the value of borderwidth
from another class.
how can we do that?
I know that
[sec1 setFrame:CGRectMake(self.borderWidth, self.borderWidth,self.frame.size.width/2-(self.borderWidth*3/2),self.frame.size.height/2 - (self.borderWidth*3/2) )];
will change the frame but there are lots of uiviews. so i cant set frame for all of them in this method.