A type-safe auto-generated Swift wrapper around fluentui-emoji

Overview

fluentui-emoji.swift

A type-safe auto-generated Swift wrapper around fluentui-emoji.

Usage

Requirements

  • iOS 13+
  • macOS 10.15+
  • tvOS 13+
  • watchOS 6+

Installation

fluentui-emoji.swift is distributed as a Swift package. Add this repo to your project through Xcode GUI or Package.swift.

dependencies: [
    .package(url: "https://github.com/xnth97/fluentui-emoji.swift.git", .upToNextMajor(from: "1.2.0"))
]

Example

import FluentUIEmoji

/// AppKit or UIKit
let image = FluentUIEmoji.smilingFace.image

/// SwiftUI
FluentUIEmoji.smilingFace.swiftUIImage
    .resizable()
    .frame(width: 128, height: 128)

/// Groups
LazyVGrid(columns: [GridItem(.adaptive(minimum: 64, maximum: 64))]) {
    ForEach(FluentUIEmoji.emojis(for: .smileysAndEmotion)) { emoji in
        emoji.swiftUIImage
            .resizable()
            .frame(width: 64, height: 64)
            .padding()
    }
}

Codegen

Run codegen script to sync with fluentui-emoji repo updates.

cd Codegen
npm install --save
node index.js

TODO

  • SwiftUI support
  • Build as XCAssets
  • Load on demand
  • Codegen testing
  • Categories
  • Raw name
  • Picker GUI

License

fluentui-emoji.swift is available under the MIT license. See the LICENSE file for more info.

You might also like...
EasyFirebase - a Swift wrapper for all things Firebase
EasyFirebase - a Swift wrapper for all things Firebase

🔥 A Swifty solution for all things Firebase. Quickly implement Firestore and Authentication on iOS + macOS using Swift protocols and methods.

A SwiftUI dynamic property wrapper for fetching media from your photo library. (iOS, tvOS, macOS)

Media Also available as a part of my SwiftUI+ Collection – just add it to Xcode 13+ A package for simplifying the user of the camera and the user's ph

An iPhone Simulator
An iPhone Simulator "Wrapper" for SwiftUI Apps on macOS

SwiftUIPhone Run a SwiftUI app (or any SwiftUI view) in an iPhone Simulator "wrapper", directly on macOS! To be clear, this is not an iPhone Simulator

A new property wrapper for SwiftUI ObservableObject.

SharedObject 🍱 @SharedObject is an alternative to @StateObject, @ObservedObject, @EnvironmentObject to handle ObservableObject. If you need to have m

Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21
Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21

Pile Up Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21 Descrição Pile Up é um quebra cabeça cujo objetivo é empilhar os bloc

Swift Language Weather is an iOS weather app developed in Swift
Swift Language Weather is an iOS weather app developed in Swift

Swift Language Weather SwiftWeather has renamed to Swift Language Weather. Because this repo is ranked number one in Google when we search "Swift Weat

Todo-app-swift- - A Todo Lists app built using swift

TODO-Lists App Available on the App Store What is this? This is a todo app I mad

Matrix-rust-components-swift - Swift package providing components from the matrix-rust-sdk

Swift package for Matrix Rust components This repository is a Swift Package for

Swift playground teaching basics of buffer overflow vulnerability and ARM64 assembly by exploiting vulnerable app on ARM64 emulator (WWDC22 Swift Student Challenge Winner)
Swift playground teaching basics of buffer overflow vulnerability and ARM64 assembly by exploiting vulnerable app on ARM64 emulator (WWDC22 Swift Student Challenge Winner)

Pwnground Project overview Pwnground is a project created as my submission for WWDC22 Swift Student Challenge (winner). It is an interactive Swift Pla

Releases(1.2)
Owner
Yubo Qin
iOS + API Engineer @LinkedIn
Yubo Qin
xcode project wrapper around the Elixir TodoApp Desktop app to run on iOS

TodoApp iOS: An iOS Sample App This xcode project wraps the Desktop Sample App to run on an iPhone. How to build & run Install xcode from the app stor

elixir-desktop 41 Sep 20, 2022
A SwiftUI wrapper around the `Add to Siri` button used to donate INIntents to the system.

AddToSiri A SwiftUI wrapper around the Add to Siri button used to donate INIntents to the system. Originally created by Reddit user u/dippnerd (Github

Florian Schweizer 4 Apr 22, 2022
A swift package(SPM) with iOS UI component that loads and displays images from remote urls or local assets and displays in a slide-show form with auto scroll feature.

MDBannersView A swift package with an iOS UI component that loads and displays images from remote urls, local assets and displays in a slide-show form

Madhav Deva 2 Feb 5, 2022
A simple App to Track the status of Covid-19 around the World. Using SwiftUI and GraphQL

CovidUI CovidUI is a simple App to Track the status of Covid-19 around the World. This is a simple App I made to track the spread of Covid-19 for me a

Mathias Quintero 76 May 7, 2022
Want to know the current weather around the globe? Clima has your back!

Clima (a weather app) Dreaming about going on vacation somewhere? Use Clima to find real time weather from around the world or use your GPS to get loc

null 0 Dec 27, 2021
You can share and communicate with developers around the world through the Fabula app.

FabulaItemsProvider This is the source package for the Fabula project. You can share and communicate with developers around the world through the Fabu

jasu 181 Sep 23, 2022
Standard Notes is a safe place for your notes, thoughts, and life's work

Standard Notes iOS & Android App Standard Notes is a safe place for your notes, thoughts, and life's work. It focuses on being simple, so you don't ha

Standard Notes 850 Sep 28, 2022
ProteGO Safe iOS App

ProteGO Safe iOS App Project overview This is an iOS application for ProteGO Safe project and it implements two main features: User daily triage Conta

STOP COVID - ProteGO Safe 88 Sep 2, 2022
COVID Safe Paths (based on Private Kit) is an open and privacy preserving system to use personal information to battle COVID

COVID Safe Paths is a mobile app for digital contract tracing (DCT) sponsored by Path Check a nonprofit and developed by a growing global community of engineers, designers, and contributors. Safe Paths is based on research originally conducted at the MIT Media Lab.

PathCheck Foundation 471 Jul 15, 2022
An App that gives a nice interface where the user can type in their start location and destination

SixtCarSummoner What it does We developed an App that gives a nice interface where the user can type in their start location and destination. The user

Dominik Schiwietz 1 Nov 21, 2021