Description
In brief, Inkwell is a font library to use custom fonts on the fly. Inkwell takes responsibilities for: - Downloading fonts from Google Fonts or custom resources. - Registering custom fonts to the system. - Loading and using custom fonts dynamically and seamlessly.
Inkwell alternatives and similar libraries
Based on the "Fonts" category.
Alternatively, view Inkwell alternatives based on common mentions on social networks and blogs.
-
UIFontComplete
Font management (System & Custom) for iOS and tvOS -
SwiftIconFont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon) -
FontBlaster
Programmatically load custom fonts into your iOS, macOS and tvOS app. -
GoogleMaterialDesignIcons
Google Material Design Icons Font for iOS -
GoogleMaterialIconFont
Google Material Design Icons for Swift and ObjC project -
TypographyKit
📰 Consistent & accessible visual styling on iOS with support for Dynamic Type. -
SwiftFonts
An app to list the available fonts on iOS, written in Swift using the MVVM pattern. -
SwiftFontName
OS font complements library. Localized font supported. -
SwiftUIFontIcon
The easiest way to implement font icons in your SwiftUI project. -
Swicon
Use 1600+ icons (and more!) from FontAwesome and Google Material Icons in your swift/iOS project in an easy and space-efficient way!
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Inkwell or a related project?
README
Inkwell
Introduction
In brief, Inkwell is a font library to use custom fonts on the fly. Inkwell takes responsibilities for:
- [x] Downloading fonts from Google Fonts or custom resources.
- [x] Registering custom fonts to the system.
- [x] Loading and using custom fonts dynamically and seamlessly.
Example
To run the example project, clone the repo, and run pod install
from the Example
directory first.
Installation
CocoaPods
Install CocoaPods if need be.
$ gem install cocoapods
Add Inkwell
in your Podfile
.
use_frameworks!
pod 'Inkwell'
Run the following command.
$ pod install
Carthage
Install Carthage if need be.
$ brew update
$ brew install carthage
Add Inkwell
in your Cartfile
.
github "ninjaprox/Inkwell"
Run carthage
to build the framework and drag the built Inkwell.framework
into your Xcode project.
Usage
Firstly, set the Google API key in the app delegate.
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
Inkwell.shared.APIKey = "paste your key here"
}
Now you are ready to use Inkwell with only one API to remember.
let font = Font(family: "ABeeZee" variant: .regular)
let fontSize = 27
Inkwell.shared.font(for: font, size: fontSize) { uifont in
// Do something with the `uifont`.
}
Note: Do not forget to import Inkwell
in any file using Inkwell.
Documentation
For full API documentation, please check Inkwell's documentation.
Dependency
License
Inkwell is available under the MIT license. See the LICENSE file for more info.
Copyright (c) 2017 Vinh Nguyen @ninjaprox
*Note that all licence references and agreements mentioned in the Inkwell README section above
are relevant to that project's source code only.