Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyome22/emojipalette

Emoji Picker for iOS using SwiftUI
https://github.com/kyome22/emojipalette

swift swiftui

Last synced: 3 months ago
JSON representation

Emoji Picker for iOS using SwiftUI

Awesome Lists containing this project

README

        

# EmojiPalette

Emoji Picker for iOS using SwiftUI.

## Requirements

- Development with Xcode 15.2+
- Written in Swift 5
- swift-tools-version: 5.8
- Compatible with iOS 16.4+

## Usage

```swift
import SwiftUI
import EmojiPalette

struct ContentView: View {
@State var showPopover: Bool = false
@State var emoji: String = ""

var body: some View {
VStack {
Button {
showPopover = true
} label: {
Text(emoji)
.font(.largeTitle)
}
.emojiPalette(selectedEmoji: $emoji,
isPresented: $showPopover)
}
.padding()
.onAppear {
emoji = EmojiParser.shared.randomEmoji().character
}
}
}
```

## Localization

- English (en)
- Japanese (ja)