Swiftpack.co - myawesomehub/PickEmoji as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
myawesomehub/PickEmoji
Pick Emojis for Your Project
.package(url: "https://github.com/myawesomehub/PickEmoji.git", from: "1.0.0")

🤯 PickEmoji: A SwiftUI Extension to Pick the Emojis that you wish

You can use this library in your projects🙃 . You can search the emojis too. Below GIF tells you the most of it

🎥 Preview

Alt Text

🤔 How to Use?

You can just start using this libary by importing it in your project as a package and then writing these below code

import SwiftUI
import PickEmoji

struct ContentView: View {
    @State var selectedEmoji = "No Emoji"
    
    var body: some View {
        PickEmoji(numberOfEmojiPerRow: 6) { emoji in
            selectedEmoji = emoji
        }
    }
}

Not only that, You can customize the view as you wish. Try the below code

import SwiftUI
import PickEmoji

struct ContentView: View {
    @State var selectedEmoji = "No Emoji"

    var body: some View {
        VStack {
            ScrollView(.vertical, showsIndicators: false) {
                PickEmoji(numberOfEmojiPerRow: 6) { emoji in
                    selectedEmoji = emoji
                }
            }
            .frame(maxHeight: 400)
            .cornerRadius(14)

            Spacer()

            HStack {
                Text("Selected Emoji: ")
                Text(selectedEmoji)
            }
            .foregroundColor(.black)
            .padding()
            .background(Color.white)
            .cornerRadius(10)
            .shadow(color: .black.opacity(0.4), radius: 12, x: 6, y: 6)
        }
        .padding()
    }
}

🤗 Contributing

PickEmoji welcomes the contributing by opening an issue or creating a pull request.

Features Status
Multi Platform Supports(iPad, macOS, iWatch) false
Appearance (Dark & Light) false
Multiple Emoji Selection false

About API

I am using an API for fetching the emojies: https://api.emojisworld.fr/v1

About Me

LinkedIn: @in/my-pro-file
GitHub: @myawesomehub
Twitter: @mohdYasir03
Medium: @mdcode2021

GitHub

link
Stars: 2
Last commit: 2 weeks 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.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

Initial Release
2 weeks ago

This is a very first release to the library. This version has :

  • iOS Supports
  • Emoji PickerView
  • Searching Emojies

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