Emoji picker view for iOS 📲🍎 A library to enforce user to pick an emoji 😃👍.
Demo: https://github.com/vidovalianto/EmojiApp
- iOS 14.0+
- Swift 5.0+
import EmojiPickerView
// put inside a view controller
let emojiPicker = EmojiPickerView()
emojiPicker.delegate = self
// conform the view controller to delegate
extension ViewController: EmojiPickerViewDelegate {
func emojiDidClicked(emoji: String) {
// set UILabel
self.label.text = emoji
}
}
Adding EmojiPickerView as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [
.package(url: "https://github.com/vidovalianto/EmojiPickerView.git", .upToNextMajor(from: "1.1.0"))
]
import EmojiPickerView
// put inside a view controller
let emojiPicker = EmojiPickerView()
emojiPicker.color = .systemBackground
emojiPicker.collectionViewColor = .systemBackground
- Search for emoji
- Change background color