I have an NSMutableArray that I have filled with UIButton objects. The problem I am having is that on a certain user action I want to hide all of the buttons that I have added to that array.
I tried something like:
but this did not work. It is like I lose that fact that the objects in the array are of UIButton type.
Any ideas how I can retrieve the type of the object to use it's properties?
Thanks
I tried something like:
Code:
[[myDateArray objectAtIndex:i] setHidden];
but this did not work. It is like I lose that fact that the objects in the array are of UIButton type.
Any ideas how I can retrieve the type of the object to use it's properties?
Thanks