From 4a3b5fafd6464ca8317943023f1f2631fe03047a Mon Sep 17 00:00:00 2001 From: Nicholas Maccharoli Date: Tue, 18 Apr 2017 12:19:30 +0900 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7161785..4202a97 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,12 @@ You can now simply start typing the name of the font enum and let code completio let font = UIFont(font: .arialBoldItalicMT, size: 12.0) ``` +There is also a handy (and way cooler) extension to the `Font` enumeration that allows the creation of `UIFont` objects with a certain size like so: + +```swift +let myFont = Font.helvetica.of(size: 12.0) +``` + ## Installation #### Carthage -- GitLab