RockFont is a framework written in swift to change easier and fast all fonts in your app.
- [x] Change your all Fonts in your app with one line.
- [x] List all avaiable fonts.
- iOS 9.0+
- Xcode 8.0+
- Swift 3.0+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1.0+ is required to build RockFont 1.+.
To integrate RockFont into your Xcode project using CocoaPods, specify it in your
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_frameworks! target '<Your Target Name>' do pod 'RockFont' , '~> 0.0.2' end
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update $ brew install carthage
To integrate RockFont into your Xcode project using Carthage, specify it in your
carthage update to build the framework and drag the built
RockFont.framework into your Xcode project.
Swift Pacakge Manager
The Swift Pacakage Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding RockFont as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [ .Package(url: "https://github.com/andresilvagomez/RockFont.git") ]
Please include your fonts in your app, tutorial here
Add these lines in your app delegate and it's all enjoy your font.
Please keep in the storyboard the system font, It will change all fonts for your expected, but for example is you modify the style, It will change the font with this style.
For example if you have in your storyboard
System Semibold 17.0 the result is
Montserrat Semibold 17.0
If your font don't have a Semibold or you don't include this it will use the default
RockFont is released under the MIT license. See LICENSE for details.
Help us keep the lights on
0.0.2 - Nov 1, 2018
- Support for large titles
- Support for segment controls
0.0.1 - May 1, 2018
- Release Beta version.
- List all available fonts.
- List available fonts by family name.
- Upgrade the current font.