Swiftpack.co -  vidovalianto/EmojiPickerView as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
vidovalianto/EmojiPickerView
Emoji Picker View for iOS
.package(url: "https://github.com/vidovalianto/EmojiPickerView.git", from: "1.1.0")

EmojiPickerView

Emoji picker view for iOS ๐Ÿ“ฒ๐ŸŽ A library to enforce user to pick an emoji ๐Ÿ˜ƒ๐Ÿ‘.

Demo: https://github.com/vidovalianto/EmojiApp

Requirements

  • iOS 14.0+
  • Swift 5.0+

Configurations

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
  }
}

Swift Package Manager

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"))
]

Change picker view background color

import EmojiPickerView

// put inside a view controller
let emojiPicker = EmojiPickerView()
emojiPicker.color = .systemBackground
emojiPicker.collectionViewColor = .systemBackground

Features

  • Search for emoji
  • Change background color

GitHub

link
Stars: 0
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jackโ€™d and SCRUFF. We are two of the worldโ€™s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API