Dynamic Fonts
Dialing in the dynamic fonts for my new iOS personal project. I think dynamic fonts were a great accessibility addition to iOS 7 and something that are very beneficial for users. I see all the time people with the font cranked way up on iMessage so they can chat without their glasses. My mom even has this enabled and turned it on, it was something so beneficial that she saw it or discovered it on her own :)
There are 7 font sizes and then 5 additional accessibility sizes after that. I follow what Apple seems to do in iMessage which is to scale all of the fonts for the first 7 sizes, then just scale the body font for the additional 5 accessibility sizes so for people with poor vision the important body text can be great without glasses but the entire app isn't overwhelmed with huge fonts.
I put together a helper class to make making these dynamic fonts easier by defining a base font size and a step size. Just converted it to Swift today.