项目作者: davelyon

项目描述 :
A quick way to test out a resizable iOS app font stack at all sizes via UI testing
高级语言: Swift
项目地址: git://github.com/davelyon/ios-font-size-tester.git
创建时间: 2018-06-10T20:39:33Z
项目社区:https://github.com/davelyon/ios-font-size-tester

开源协议:MIT License

下载


Font Size Tester for iOS Apps

A quick way to test out a resizable font stack at all sizes via UI testing. For more info, see our UIFontMetrics guide over at iOS Dev Recipes.

Installation:

Clone the repo, open the xcodeproj and run in the simulator

Usage:

Change the fonts listed in UIFontTextStyle+CustomFont.swift to your preferences, and then run the app. You can generate a set of screenshots matching all content sizes by running the tests included with the project.

Generate a gif like this via the included script: ./gifit.sh (Requires imagemagick)

Supported By:

iOS Dev Recipes and related open source projects are maintained by Dave Lyon and Traboule Software.