CategorySliderView
CategorySliderView copied to clipboard
Updating Buttons
If the user needs updated buttons showing x followers each time the user enters his/hers profile and that x value is fetched async from the web in viewWillAppear, how can you then update the button with the value x when the callback comes in? In other words, how can you update the buttons after they first have been laid out?
Thank you for your time Alexander
slider items hold in @property (nonatomic, strong) NSMutableArray *categoryViews which is a private property in CategorySliderView.m file. you can make it public by cutting and pasting into .h file.
after that you can easily change the properties of items you wanted by getting them from categoryViews array.
Thank you for the quick response! Will try it tomorrow.