Add frequently used emojis and multiple skin tone support

This commit is contained in:
2024-06-17 23:17:50 -04:00
parent 9f40464d27
commit 0c28b4a1a6
14 changed files with 486 additions and 127 deletions

View File

@@ -5,18 +5,19 @@ import PackageDescription
let package = Package(
name: "EmojiPicker",
platforms: [.iOS(.v15)],
defaultLocalization: "en",
platforms: [.macOS(.v13), .iOS(.v15)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "EmojiPicker",
targets: ["EmojiPicker"]),
targets: ["EmojiPicker"])
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/tyiu/EmojiKit", .upToNextMajor(from: "0.1.0")),
.package(url: "https://github.com/tyiu/swift-trie", .upToNextMajor(from: "0.1.1"))
.package(url: "https://github.com/tyiu/EmojiKit", .upToNextMajor(from: "0.1.2")),
.package(url: "https://github.com/tyiu/swift-trie", .upToNextMajor(from: "0.1.2"))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -25,9 +26,11 @@ let package = Package(
name: "EmojiPicker",
dependencies: [
.product(name: "EmojiKit", package: "EmojiKit"),
.product(name: "SwiftTrie", package: "swift-trie")]),
.testTarget(
name: "EmojiPickerTests",
dependencies: ["EmojiPicker"]),
.product(name: "SwiftTrie", package: "swift-trie")
],
resources: [
.process("Resources")
]
)
]
)