My app has several UILabels across it. There are several different styles that get re-used across the entire app, in different situations (different font sizes, different font colors, italic, etc). Is there a sane way to set global styles, without having several subclasses of UILabel?
My app has several UILabels across it. There are several different styles that get
Share
How about taking cue from UITableViewCell. Create an enumerated type for all your styles and have one class that handles all the setup for the different style. Something like
If you want to get clever, you can use bit fields to combine in different ways.
Hope that give you some ideas.