All Projects → arnavgupta180 → Avfonts

arnavgupta180 / Avfonts

Licence: mit
AVFonts for change/swap fontname throughout app.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Avfonts

rofi-fontawesome
fontawesome icon list for rofi dmenu
Stars: ✭ 58 (-71%)
Mutual labels:  font, fonts, fontawesome, font-awesome
apple-emoji-linux
Apple Color Emoji for Linux
Stars: ✭ 392 (+96%)
Mutual labels:  font, fonts, font-awesome
Bootstrapcdn
Free Bootstrap CDN hosting
Stars: ✭ 1,075 (+437.5%)
Mutual labels:  font, fontawesome, font-awesome
Font Awesome Stylus
Stylus port for font-awesome 4.7.0
Stars: ✭ 77 (-61.5%)
Mutual labels:  font, fontawesome, font-awesome
FontRegister
FontRegister is a small Windows utility to install fonts and/or repair the font registry via commandline.
Stars: ✭ 17 (-91.5%)
Mutual labels:  font, fonts, font-awesome
Alfred Font Awesome Workflow
🎩 Font Awesome workflow for Alfred
Stars: ✭ 714 (+257%)
Mutual labels:  font, fontawesome, font-awesome
Font Awesome Php
A PHP library for Font Awesome 4.7.
Stars: ✭ 47 (-76.5%)
Mutual labels:  font, fontawesome, font-awesome
tstyle
Customize Termux Font & Colors
Stars: ✭ 186 (-7%)
Mutual labels:  font, fonts, font-awesome
FMX.FontAwesome
[FireMonkey] FontAwesome
Stars: ✭ 21 (-89.5%)
Mutual labels:  font, fontawesome, font-awesome
Nerd Fonts
Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
Stars: ✭ 31,778 (+15789%)
Mutual labels:  font, fonts, font-awesome
Swifticons
🎢Swift Library for Font Icons - ★ this library
Stars: ✭ 747 (+273.5%)
Mutual labels:  fonts, fontawesome, font-awesome
Swifticonfont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon)
Stars: ✭ 1,094 (+447%)
Mutual labels:  font, fonts
Stories About Ming Dynasty
明朝那些事儿(全七卷)
Stars: ✭ 52 (-74%)
Mutual labels:  font, font-awesome
Open Relay
Free and open source fonts from Kreative Software
Stars: ✭ 48 (-76%)
Mutual labels:  font, fonts
Svelte Awesome
Awesome SVG icon component for Svelte JS, built with Font Awesome icons. Based on Justineo/vue-awesome
Stars: ✭ 193 (-3.5%)
Mutual labels:  font, font-awesome
Linearicons
Linearicons is the highest quality set of line icons, matching with minimalist UI designs in iOS.
Stars: ✭ 64 (-68%)
Mutual labels:  font, fonts
Powerline Web Fonts
Powerline Web Fonts for Chromebook
Stars: ✭ 178 (-11%)
Mutual labels:  font, fonts
Fontawesome Module
Module to use Font Awesome icons in Nuxt.js
Stars: ✭ 79 (-60.5%)
Mutual labels:  fontawesome, font-awesome
Work Sans
A grotesque sans.
Stars: ✭ 1,319 (+559.5%)
Mutual labels:  font, fonts
Anicon
Animated icons for R markdown and Shiny apps
Stars: ✭ 109 (-45.5%)
Mutual labels:  fontawesome, font-awesome

AVFonts

CI Status Version License Platform

What's that for

AVFonts allows you to do anything you want to do with the fonts anywhere and everywhere in the app.

Why should you use this?

AVFonts can easily swap the system font or specific font you are using with the new font throughout the app. You can increment or decrement font size if needed, too. Now there's no need to select custom fonts in the Interface Builder. Save time by simply configuring its size and style, and then change "system font" to your "new font" everywhere with a single line of code. It's that easy.

Usage

1. import AVFonts to AppDelegate.

2. In didFinishLaunchingwithOptions change the font :

a) This will swap/change font from system or currentFontName to newFontName everywhere in the app.

AVFonts.changeFont(toFont: "Avenir-Heavy")
AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy")

b) Font swap/change for types provided i.e. [ .button, .label, .textField, .textView] throughout the app.

AVFonts.changeFont(toFont: "Avenir-Heavy", [.button, .label])
AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy", [.button, .label])

c) increment/decrement your orignal font size.

AVFonts.changeFont(toFont: "Avenir-Heavy", [.button,.label,.textfield], increment: 2)
AVFonts.changeFont(toFont: "Avenir-Heavy", [.button,.label,.textfield], increment: -2)

AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy", [.button, .label, .textfield], increment: 2)
AVFonts.swapFont(currentFont: "Avenir-Light", toFont: "Avenir-Heavy", [.button, .label, .textfield, .textview], increment: -2)

3. Call AVFonts.applyAVFonts() to apply all the changes.

Example

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

Requirements

  • iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 10.2
  • Swift 5.0

Installation

CocoaPods

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 AVFonts.

To integrate AVFonts into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
pod "AVFonts"
end

Then run the following command:

$ pod install

Author

Arnav Gupta, [email protected]

License

AVFonts is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].