Add frequently used emojis and multiple skin tone support
This commit is contained in:
22
README.md
22
README.md
@@ -4,15 +4,15 @@ This Swift package allows you to show a view with all available emoji on the OS,
|
||||
|
||||
## Screenshots
|
||||
|
||||
|Emoji list|Emoji search|
|
||||
|---|---|
|
||||
|||
|
||||
|Emoji list|Emoji search|Emoji settings|
|
||||
|---|---|---|
|
||||
||||
|
||||
|
||||
## Dependencies
|
||||
|
||||
- SwiftUI (iOS >= 15.0)
|
||||
- [EmojiKit](https://github.com/tyiu/EmojiKit) (0.1.0)
|
||||
- [SwiftTrie](https://github.com/tyiu/swift-trie) (0.1.1)
|
||||
- [EmojiKit](https://github.com/tyiu/EmojiKit) (0.1.2)
|
||||
- [SwiftTrie](https://github.com/tyiu/swift-trie) (0.1.2)
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -39,7 +39,7 @@ let package = Package(
|
||||
// ...
|
||||
dependencies: [
|
||||
// ...
|
||||
.package(url: "https://github.com/tyiu/EmojiPicker.git", .upToNextMajor(from: "0.1.0"))
|
||||
.package(url: "https://github.com/tyiu/EmojiPicker.git", .upToNextMajor(from: "0.1.1"))
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
@@ -96,7 +96,7 @@ struct ContentView: View {
|
||||
.padding()
|
||||
.sheet(isPresented: $displayEmojiPicker) {
|
||||
NavigationView {
|
||||
EmojiPickerView(selectedEmoji: $selectedEmoji, selectedColor: .orange)
|
||||
EmojiPickerView(selectedEmoji: $selectedEmoji)
|
||||
.padding(.top, 32)
|
||||
.navigationTitle("Emojis")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
@@ -107,14 +107,6 @@ struct ContentView: View {
|
||||
}
|
||||
```
|
||||
|
||||
### Select color
|
||||
|
||||
When a user selects an emoji, it is highlighted. By default the selection color is `blue` but you can change this value when creating the view:
|
||||
|
||||
```swift
|
||||
EmojiPickerView(selectedEmoji: $selectedEmoji, selectedColor: .orange)
|
||||
```
|
||||
|
||||
## Samples
|
||||
|
||||
You can access to sample project on folder `EmojiPickerSample`
|
||||
|
||||
Reference in New Issue
Block a user