ProductPromotion
Logo

Swift

made by https://0x3d.site

GitHub - ninjaprox/Inkwell: An inkwell to use custom fonts on the fly.
An inkwell to use custom fonts on the fly. Contribute to ninjaprox/Inkwell development by creating an account on GitHub.
Visit Site

GitHub - ninjaprox/Inkwell: An inkwell to use custom fonts on the fly.

GitHub - ninjaprox/Inkwell: An inkwell to use custom fonts on the fly.

Inkwell

CI Status Version Carthage compatible License Platform

Introduction

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.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

alt tag

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

More Resources
to explore the angular.

mail [email protected] to add your project or resources here ๐Ÿ”ฅ.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here ๐Ÿ”.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory