Set tag referenced in code, storyboard?
ios, objective-c, storyboard
Solution
The tag is a field under the view category in the preferences tab of the right pane of interface builder.
Problem
I'm updated an iOS app I did not initially build, and the tags from the storyboard where somehow used which I'm not familiar with how to set - are used to identify buttons within a scrollview. Could I get some help on how to setup in XCode 5 storyboards (if that is where it's set)? ``` //Set fonts for button 1 for(UIButton *button in view1.subviews){ if(button.tag == 1 || button.tag == 8 || button.tag == 13 || button.tag == 18){button.titleLabel.font = [UIFont fontWithName:@"Cachet-Bold" size:20];} else{button.titleLabel.font = [UIFont fontWithName:@"Cachet-Book" size:18];} } ```