Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kyome22/emojipalette
- Owner: Kyome22
- License: mit
- Created: 2023-09-11T00:07:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T16:02:59.000Z (11 months ago)
- Last Synced: 2024-10-31T22:52:00.585Z (3 months ago)
- Topics: swift, swiftui
- Language: Swift
- Homepage:
- Size: 542 KB
- Stars: 40
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 EmojiPalettestruct 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)