. UIViews, " " UIButtons ( ).
UIButtons (, 1005 1010), UIViews , UIButton, .
Then I linked UIViews to the collection in Interface Builder. All UIButton events are in contact with the same function in my controller. This function gets the tag of the sender object, iterating through the NSArray ("IBOutletCollection (UIView)") list and compares the tag. Each time it hits, the corresponding action is performed.
Too bad NSArrays doesn't seem to keep order ...
Zuppa source
share