All Projects → kazuomatz → AwesomeBadge

kazuomatz / AwesomeBadge

Licence: MIT license
a view class as Like a badge using fontawesome 5.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to AwesomeBadge

fa-svelte
Font Awesome 5 for svelte.js
Stars: ✭ 72 (+323.53%)
Mutual labels:  fontawesome, fontawesome5
fontawesome-subset
Creates subsets of FontAwesome fonts for optimized use on the web.
Stars: ✭ 41 (+141.18%)
Mutual labels:  fontawesome, fontawesome5
fa5pro-downloader
A tool that allows you to download Font Awesome 5 Pro for free
Stars: ✭ 34 (+100%)
Mutual labels:  fontawesome, fontawesome5
FontAwesome5
WPF controls for the iconic SVG, font, and CSS toolkit Font Awesome 5.
Stars: ✭ 93 (+447.06%)
Mutual labels:  fontawesome, fontawesome5
ecommerce-template
This is a simple and easy to integrate e-commerce design template based on Bootstrap 5.
Stars: ✭ 34 (+100%)
Mutual labels:  fontawesome, fontawesome5
react-native-fontawesome-pro
Easily use your FontAwesome Pro icons in React-Native
Stars: ✭ 44 (+158.82%)
Mutual labels:  fontawesome, fontawesome5
Fontawesome Axure Library
FontAwesome iconic font for Axure 7+
Stars: ✭ 121 (+611.76%)
Mutual labels:  fontawesome
Avfonts
AVFonts for change/swap fontname throughout app.
Stars: ✭ 200 (+1076.47%)
Mutual labels:  fontawesome
Bootstrap Simple Admin Template
The most reliable HTML, CSS, and JavaScript simple admin template for developing responsive, mobile first web applications on the web.
Stars: ✭ 92 (+441.18%)
Mutual labels:  fontawesome
Reactjs Crud Boilerplate
Live Demo
Stars: ✭ 83 (+388.24%)
Mutual labels:  fontawesome
bootstrap4-snippets
Visual studio extension & Intellij plugin for Bootstrap 4, Font awesome 4, Font Awesome 5 Free & Pro snippets/live templates
Stars: ✭ 113 (+564.71%)
Mutual labels:  fontawesome5
bootstrap4-glyphicons
How use Glyphicons with Bootstrap 4 (without getting mad)
Stars: ✭ 40 (+135.29%)
Mutual labels:  fontawesome
Fontawesome.sharp
A library for using Font Awesome in WPF & Windows Forms applications
Stars: ✭ 185 (+988.24%)
Mutual labels:  fontawesome
D2 Admin
An elegant dashboard
Stars: ✭ 11,012 (+64676.47%)
Mutual labels:  fontawesome
Icons
R package to easily insert web icons to RMarkdown
Stars: ✭ 216 (+1170.59%)
Mutual labels:  fontawesome
Anicon
Animated icons for R markdown and Shiny apps
Stars: ✭ 109 (+541.18%)
Mutual labels:  fontawesome
jsonresume-theme-kendall
A theme for jsonresume
Stars: ✭ 43 (+152.94%)
Mutual labels:  fontawesome
Angular2 Fontawesome
Angular5 Components and Directives for Fontawesome
Stars: ✭ 87 (+411.76%)
Mutual labels:  fontawesome
Vue Fontawesome
Font Awesome 5 Vue component
Stars: ✭ 2,255 (+13164.71%)
Mutual labels:  fontawesome
Font Awesome
The iconic SVG, font, and CSS toolkit
Stars: ✭ 66,937 (+393647.06%)
Mutual labels:  fontawesome

AwesomeBadge

Version License Platform

AwesomeBadgeView is a view class as Like a badge using fontawesome 5. As a use, at the mission reward of the game app etc.

Example

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

Requirements

FontAwesome.swift

Installation

AwesomeBadge is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AwesomeBadge'

Usage

import AwesomeBadge


let badgeView = AwesomeBadgeView(
            fontStyle: .brands,            // font awesome style .solid / .regular / .brands
            fontName: "fa-android",        // font awesome font name 'fa-xxxxx'
            frame: CGRect(x:0, y:0, width: 100,height: 100),
            backgroundColor: "#a4c639"     // Color (Hex String)
        )
self.view.addSubView(badgeView)       

let badgeView = AwesomeBadgeView(
            fontStyle: .brands,            // font awesome style .solid / .regular / .brands
            fontName: "fa-android",        // font awesome font name 'fa-xxxxx'
            frame: CGRect(x:0, y:0, width: 100,height: 100),
            backgroundColor: "#a4c639"     // Color (Hex String)
            gradient: false               // not add GradientLayer
        )
self.view.addSubView(badgeView)       

@IBOutlet weak var badgeView:AwesomeBadgeView!

badgeView.drawBadge(
    fontStyle: .solid,
    fontName: "fa-star-and-crescent",
    radius: 200,
    backgroundColor: "#273751",
    gradient: true,
    foregroundColor: "#f4e242"
)

Structure of Views

Author

kazuomatz, [email protected]

License

  • AwesomeBadge is available under the MIT license. See the LICENSE file for more info.
  • All font files licensed under SIL OFL 1.1
  • FontAwesome.swift licensed under MIT
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].