You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EmojiKit is a simple emoji-querying framework in Swift. It is used in [Paste](https://github.com/dasmer/Paste), an Emoji Search app in the [App Store](https://itunes.apple.com/us/app/paste-emoji-search/id1070640289).
3
+
4
+
Installation
5
+
------------
6
+
If you’re using [Carthage](http://github.com/Carthage/Carthage), add EmojiKit to your `Cartfile`:
7
+
```
8
+
github "dasmer/EmojiKit"
9
+
```
10
+
11
+
Otherwise, if you're using [Cocoapods](http://cocoapods.org), add EmojiKit to your `Podfile`:
12
+
```
13
+
pod 'EmojiKit', '~> 1.0'
14
+
```
15
+
16
+
Usage
17
+
-----
18
+
##### 1. Create an EmojiFetcher instance variable.
19
+
```
20
+
let fetcher = EmojiFetcher()
21
+
```
22
+
##### 2. Use EmojiFetcher's `query` function to get an array of `Emoji` structs that match the given search string.
23
+
```
24
+
fetcher.query("food") { emojiResults in
25
+
// Use emojiResults
26
+
}
27
+
```
28
+
29
+
Contributing
30
+
------------
31
+
32
+
The best way to contribute is by submitting a pull request. You can also submit a [new Github issue](https://github.com/dasmer/EmojiKit/issues/new) if you find bugs or have questions. :octocat:
33
+
34
+
Please make sure to follow the general coding style and add test coverage for new features!
0 commit comments