Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
=======================================================================
DynamicText - Responding to text size changes

Version 1.0   06 October 2013   Initial version.
Version 1.1   30 December 2013  Added UYLScaledTextViewController
=======================================================================

This is a example project showing how to respond to the user changing
the preferred text size.


The UYLTextStyleViewController shows the standard way to listen for
and respond to changes to the users preferred text size using the
built-in UIFont Text Styles.

For further details see the following blog post:
http://useyourloaf.com/blog/2013/12/17/supporting-dynamic-type.html


The UYLScaledTextStyleViewController extends the basic approach by
showing how to scale the preferred fonts using a UIFontDescriptor.
A convenience method to return the scaled font is added as a
category of UIFont for this purpose.

For further details see the following blog post:
http://useyourloaf.com/blog/2013/12/30/scaling-dynamic-type-with-font-descriptors.html