New in the development of Objective-C and iOS, I would like it here!
I wrote some code such that
IBOutletCollection(UILabel) NSArray *allLabels;
In IB, I linked all my shortcuts in my view to this collection, where I want to hide them for a specific condition. However, I do not know how to do this. Obviously, to hide one label that I would use
labelX.hidden = YES;
however for me it is not ideal for this without a collection, since I have many shortcuts to hide.
Thanks for your advice in advance!
source share