Add support for search

This commit is contained in:
2024-06-12 23:45:09 -04:00
parent af3212e70e
commit 2dafcc1287
6 changed files with 184 additions and 46 deletions

View File

@@ -15,14 +15,18 @@ let package = Package(
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", branch: "emoji-keywords")
// .package(url: "https://github.com/tyiu/EmojiKit", branch: "emoji-keywords")
.package(url: "https://github.com/tyiu/EmojiKit", revision: "719d405244ea9ef462867c16e3d3254b7386b71f"),
.package(url: "https://github.com/tyiu/swift-trie", .upToNextMajor(from: "0.1.1"))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "EmojiPicker",
dependencies: ["EmojiKit"]),
dependencies: [
.product(name: "EmojiKit", package: "EmojiKit"),
.product(name: "SwiftTrie", package: "swift-trie")]),
.testTarget(
name: "EmojiPickerTests",
dependencies: ["EmojiPicker"]),