It is a customizable library implementing macOS style emoji picker popover.
If you are interested in how I developed it and what difficulties I encountered in the process, you can read an article on Medium, Habr about it.
And if you like the project, don’t forget to put star ★.
Limitations
Does not support two part emojis. For example:
Supported: 🤝🏻 🤝🏿
Not supported: 🫱🏿🫲🏻 🫱🏼🫲🏿
If you know how to fix it - welcome to the discussion.
Apps Using
If you use a MCEmojiPicker, add your application via Pull Request. Fore more information you can see contribution guide.
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate MCEmojiPicker into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'MCEmojiPicker'
Swift Package Manager
The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
To integrate MCEmojiPicker into your Xcode project using Xcode 11, specify it in Project > Swift Packages:
https://github.com/izyumkin/MCEmojiPicker
Manually
If you prefer not to use any of the aforementioned dependency managers, you can integrate MCEmojiPicker into your project manually. Put Source/MCEmojiPicker folder in your Xcode project. Make sure to enable Copy items if needed and Create groups.
MCEmojiPicker
About
It is a customizable library implementing macOS style emoji picker popover.
If you are interested in how I developed it and what difficulties I encountered in the process, you can read an article on Medium, Habr about it. And if you like the project, don’t forget to
put star ★
.Limitations
If you know how to fix it - welcome to the discussion.
Apps Using
If you use a
MCEmojiPicker
, add your application via Pull Request. Fore more information you can see contribution guide.Navigation
Requirements
4.2
&5.0
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate
MCEmojiPicker
into your Xcode project using CocoaPods, specify it in yourPodfile
:Swift Package Manager
The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
To integrate
MCEmojiPicker
into your Xcode project using Xcode 11, specify it inProject > Swift Packages
:Manually
If you prefer not to use any of the aforementioned dependency managers, you can integrate
MCEmojiPicker
into your project manually. PutSource/MCEmojiPicker
folder in your Xcode project. Make sure to enableCopy items if needed
andCreate groups
.Quick Start
Create
UIButton
and add selector as action:And then recieve emoji in the delegate method:
Usage
Selected emoji category tint color
Color for the selected emoji category. The default value of this property is
.systemBlue
.Arrow direction
The direction of the arrow for EmojiPicker. The default value of this property is
.up
.Horizontal inset
Inset from the
sourceView
border. The default value of this property is0
.Is dismiss after choosing
Defines whether to dismiss emoji picker or not after choosing. The default value of this property is
true
.Custom height
Custom height for EmojiPicker. The default value of this property is
nil
.Feedback generator style
Feedback generator style. To turn off, set
nil
to this parameter. The default value of this property is.light
.SwiftUI
Use like system popover. All settings are available in the method initializer.
or interact directly with the SwiftUI wrapper for the MCEmojiPickerViewController:
Localization
🌍 This library supports all existing localizations
TODO