The Great Giphy Purge

This commit is contained in:
Nihaal Sharma committed 2026-08-01 00:35:35 +05:30
1 parent 7a4a83ace8
commit 944149f333
11 files changed
+138 -325

No files matched your search

+16 -96
View File
@@ -38,12 +38,6 @@
A957C1752ECCE2CE00EA3EE9 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1732ECCE2CE00EA3EE9 /* SettingsView.swift */; }; A957C1752ECCE2CE00EA3EE9 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1732ECCE2CE00EA3EE9 /* SettingsView.swift */; };
A957C1772ECD008E00EA3EE9 /* Bundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1762ECD008E00EA3EE9 /* Bundle.swift */; }; A957C1772ECD008E00EA3EE9 /* Bundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1762ECD008E00EA3EE9 /* Bundle.swift */; };
A957C1782ECD008E00EA3EE9 /* Bundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1762ECD008E00EA3EE9 /* Bundle.swift */; }; A957C1782ECD008E00EA3EE9 /* Bundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1762ECD008E00EA3EE9 /* Bundle.swift */; };
A957C17A2ECE542D00EA3EE9 /* GifManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1792ECE542D00EA3EE9 /* GifManager.swift */; };
A957C17B2ECE542D00EA3EE9 /* GifManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1792ECE542D00EA3EE9 /* GifManager.swift */; };
A957C17C2ECE542D00EA3EE9 /* GifManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C1792ECE542D00EA3EE9 /* GifManager.swift */; };
A957C17E2ECFAA1100EA3EE9 /* GifView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C17D2ECFAA1100EA3EE9 /* GifView.swift */; };
A957C17F2ECFAA1100EA3EE9 /* GifView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C17D2ECFAA1100EA3EE9 /* GifView.swift */; };
A957C1802ECFAA1100EA3EE9 /* GifView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A957C17D2ECFAA1100EA3EE9 /* GifView.swift */; };
A96D59963013D6450086948E /* MessagesPackListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A96D59953013D6450086948E /* MessagesPackListView.swift */; }; A96D59963013D6450086948E /* MessagesPackListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A96D59953013D6450086948E /* MessagesPackListView.swift */; };
A96D59973013D6670086948E /* MessagesPackListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A96D59953013D6450086948E /* MessagesPackListView.swift */; }; A96D59973013D6670086948E /* MessagesPackListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A96D59953013D6450086948E /* MessagesPackListView.swift */; };
A96D599A3013DE140086948E /* Int.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4672F6AA17C00BB84C6 /* Int.swift */; }; A96D599A3013DE140086948E /* Int.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4672F6AA17C00BB84C6 /* Int.swift */; };
@@ -75,6 +69,12 @@
A986A6D12EB659E000B6E0FA /* MainInterface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A986A6C92EB659E000B6E0FA /* MainInterface.storyboard */; }; A986A6D12EB659E000B6E0FA /* MainInterface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A986A6C92EB659E000B6E0FA /* MainInterface.storyboard */; };
A98BD15C2FF5242700ADC264 /* EmojiPackPreview.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98BD15B2FF5242700ADC264 /* EmojiPackPreview.swift */; }; A98BD15C2FF5242700ADC264 /* EmojiPackPreview.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98BD15B2FF5242700ADC264 /* EmojiPackPreview.swift */; };
A98BD15D2FF5242700ADC264 /* EmojiPackPreview.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98BD15B2FF5242700ADC264 /* EmojiPackPreview.swift */; }; A98BD15D2FF5242700ADC264 /* EmojiPackPreview.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98BD15B2FF5242700ADC264 /* EmojiPackPreview.swift */; };
A98C51BB301D290D006CB5A9 /* GifView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98C51BA301D290D006CB5A9 /* GifView.swift */; };
A98C51BC301D290D006CB5A9 /* GifView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98C51BA301D290D006CB5A9 /* GifView.swift */; };
A98C51BD301D290D006CB5A9 /* GifView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98C51BA301D290D006CB5A9 /* GifView.swift */; };
A98C51BF301D2925006CB5A9 /* GifManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98C51BE301D2925006CB5A9 /* GifManager.swift */; };
A98C51C0301D2925006CB5A9 /* GifManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98C51BE301D2925006CB5A9 /* GifManager.swift */; };
A98C51C1301D2925006CB5A9 /* GifManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98C51BE301D2925006CB5A9 /* GifManager.swift */; };
A98FA65B2FF3B29700D50212 /* EmojiTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98FA65A2FF3B29700D50212 /* EmojiTableView.swift */; }; A98FA65B2FF3B29700D50212 /* EmojiTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98FA65A2FF3B29700D50212 /* EmojiTableView.swift */; };
A98FA65C2FF3B29700D50212 /* EmojiTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98FA65A2FF3B29700D50212 /* EmojiTableView.swift */; }; A98FA65C2FF3B29700D50212 /* EmojiTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98FA65A2FF3B29700D50212 /* EmojiTableView.swift */; };
A98FA6612FF3BD5400D50212 /* EmojiCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98FA6602FF3BD5400D50212 /* EmojiCollectionView.swift */; }; A98FA6612FF3BD5400D50212 /* EmojiCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98FA6602FF3BD5400D50212 /* EmojiCollectionView.swift */; };
@@ -86,27 +86,7 @@
A995D95C2F6EBBDD0043E5F5 /* TestStructures.swift in Sources */ = {isa = PBXBuildFile; fileRef = A995D95A2F6EBBDD0043E5F5 /* TestStructures.swift */; }; A995D95C2F6EBBDD0043E5F5 /* TestStructures.swift in Sources */ = {isa = PBXBuildFile; fileRef = A995D95A2F6EBBDD0043E5F5 /* TestStructures.swift */; };
A99C4B8D2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A94693D62FEF0A4200E56AC5 /* TabbedContentView.swift */; }; A99C4B8D2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A94693D62FEF0A4200E56AC5 /* TabbedContentView.swift */; };
A99C4B8E2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A94693D62FEF0A4200E56AC5 /* TabbedContentView.swift */; }; A99C4B8E2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A94693D62FEF0A4200E56AC5 /* TabbedContentView.swift */; };
A9A7A43F2F6835F800BB84C6 /* Trending.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A43E2F6835F800BB84C6 /* Trending.swift */; };
A9A7A4402F6835F800BB84C6 /* Trending.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A43E2F6835F800BB84C6 /* Trending.swift */; };
A9A7A4422F68360200BB84C6 /* GifObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4412F68360200BB84C6 /* GifObject.swift */; };
A9A7A4432F68360200BB84C6 /* GifObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4412F68360200BB84C6 /* GifObject.swift */; };
A9A7A4452F68360900BB84C6 /* Pagination.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4442F68360900BB84C6 /* Pagination.swift */; };
A9A7A4462F68360900BB84C6 /* Pagination.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4442F68360900BB84C6 /* Pagination.swift */; };
A9A7A4482F68361200BB84C6 /* Meta.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4472F68361200BB84C6 /* Meta.swift */; };
A9A7A4492F68361200BB84C6 /* Meta.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4472F68361200BB84C6 /* Meta.swift */; };
A9A7A44B2F6837A800BB84C6 /* GiphyUser.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A44A2F6837A800BB84C6 /* GiphyUser.swift */; };
A9A7A44C2F6837A800BB84C6 /* GiphyUser.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A44A2F6837A800BB84C6 /* GiphyUser.swift */; };
A9A7A44E2F68383900BB84C6 /* GiphyImages.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A44D2F68383900BB84C6 /* GiphyImages.swift */; };
A9A7A44F2F68383900BB84C6 /* GiphyImages.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A44D2F68383900BB84C6 /* GiphyImages.swift */; };
A9A7A4572F69568700BB84C6 /* GifHoarder.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30EE2F5B004800A57668 /* GifHoarder.swift */; };
A9A7A4582F69569100BB84C6 /* Trending.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A43E2F6835F800BB84C6 /* Trending.swift */; };
A9A7A4592F69569100BB84C6 /* Pagination.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4442F68360900BB84C6 /* Pagination.swift */; };
A9A7A45A2F69569100BB84C6 /* Meta.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4472F68361200BB84C6 /* Meta.swift */; };
A9A7A45B2F69569100BB84C6 /* GifObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4412F68360200BB84C6 /* GifObject.swift */; };
A9A7A45C2F69569100BB84C6 /* GiphyImages.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A44D2F68383900BB84C6 /* GiphyImages.swift */; };
A9A7A45D2F69569100BB84C6 /* GiphyUser.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A44A2F6837A800BB84C6 /* GiphyUser.swift */; };
A9A7A45E2F6956B700BB84C6 /* StickerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */; }; A9A7A45E2F6956B700BB84C6 /* StickerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */; };
A9A7A45F2F69570200BB84C6 /* Gif.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F12F5B004E00A57668 /* Gif.swift */; };
A9A7A4682F6AA17C00BB84C6 /* Int.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4672F6AA17C00BB84C6 /* Int.swift */; }; A9A7A4682F6AA17C00BB84C6 /* Int.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4672F6AA17C00BB84C6 /* Int.swift */; };
A9A7A4692F6AA17C00BB84C6 /* Int.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4672F6AA17C00BB84C6 /* Int.swift */; }; A9A7A4692F6AA17C00BB84C6 /* Int.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A7A4672F6AA17C00BB84C6 /* Int.swift */; };
A9B9A82E2EB2CCBE004C9245 /* StickerSlackTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B9A82C2EB2CCBE004C9245 /* StickerSlackTests.swift */; }; A9B9A82E2EB2CCBE004C9245 /* StickerSlackTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B9A82C2EB2CCBE004C9245 /* StickerSlackTests.swift */; };
@@ -121,10 +101,6 @@
A9BDEADF2F82BC93002798DF /* NoStickersView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BDEADD2F82BC93002798DF /* NoStickersView.swift */; }; A9BDEADF2F82BC93002798DF /* NoStickersView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BDEADD2F82BC93002798DF /* NoStickersView.swift */; };
A9BDEAE02F82BCB4002798DF /* NoStickersView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BDEADD2F82BC93002798DF /* NoStickersView.swift */; }; A9BDEAE02F82BCB4002798DF /* NoStickersView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BDEADD2F82BC93002798DF /* NoStickersView.swift */; };
A9BE30EC2F5AFE1E00A57668 /* StickerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */; }; A9BE30EC2F5AFE1E00A57668 /* StickerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */; };
A9BE30EF2F5B004800A57668 /* GifHoarder.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30EE2F5B004800A57668 /* GifHoarder.swift */; };
A9BE30F02F5B004800A57668 /* GifHoarder.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30EE2F5B004800A57668 /* GifHoarder.swift */; };
A9BE30F22F5B004E00A57668 /* Gif.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F12F5B004E00A57668 /* Gif.swift */; };
A9BE30F32F5B004E00A57668 /* Gif.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F12F5B004E00A57668 /* Gif.swift */; };
A9BE30F62F5B011A00A57668 /* StickerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */; }; A9BE30F62F5B011A00A57668 /* StickerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */; };
A9BE30F72F5B011A00A57668 /* StickerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */; }; A9BE30F72F5B011A00A57668 /* StickerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */; };
A9BE30F82F5B02BF00A57668 /* StickerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */; }; A9BE30F82F5B02BF00A57668 /* StickerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */; };
@@ -245,8 +221,6 @@
A955B3F42EC22EE900E1732D /* SearchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchView.swift; sourceTree = "<group>"; }; A955B3F42EC22EE900E1732D /* SearchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchView.swift; sourceTree = "<group>"; };
A957C1732ECCE2CE00EA3EE9 /* SettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsView.swift; sourceTree = "<group>"; }; A957C1732ECCE2CE00EA3EE9 /* SettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsView.swift; sourceTree = "<group>"; };
A957C1762ECD008E00EA3EE9 /* Bundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bundle.swift; sourceTree = "<group>"; }; A957C1762ECD008E00EA3EE9 /* Bundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bundle.swift; sourceTree = "<group>"; };
A957C1792ECE542D00EA3EE9 /* GifManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GifManager.swift; sourceTree = "<group>"; };
A957C17D2ECFAA1100EA3EE9 /* GifView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GifView.swift; sourceTree = "<group>"; };
A969D6932EA3E86500399C05 /* Messages.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Messages.framework; path = Library/Frameworks/Messages.framework; sourceTree = DEVELOPER_DIR; }; A969D6932EA3E86500399C05 /* Messages.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Messages.framework; path = Library/Frameworks/Messages.framework; sourceTree = DEVELOPER_DIR; };
A96D59953013D6450086948E /* MessagesPackListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesPackListView.swift; sourceTree = "<group>"; }; A96D59953013D6450086948E /* MessagesPackListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesPackListView.swift; sourceTree = "<group>"; };
A96D599B301945240086948E /* MessagesRootViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesRootViewController.swift; sourceTree = "<group>"; }; A96D599B301945240086948E /* MessagesRootViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesRootViewController.swift; sourceTree = "<group>"; };
@@ -263,16 +237,12 @@
A986A6C82EB659E000B6E0FA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainInterface.storyboard; sourceTree = "<group>"; }; A986A6C82EB659E000B6E0FA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainInterface.storyboard; sourceTree = "<group>"; };
A986A6CA2EB659E000B6E0FA /* MessagesAppViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesAppViewController.swift; sourceTree = "<group>"; }; A986A6CA2EB659E000B6E0FA /* MessagesAppViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesAppViewController.swift; sourceTree = "<group>"; };
A98BD15B2FF5242700ADC264 /* EmojiPackPreview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiPackPreview.swift; sourceTree = "<group>"; }; A98BD15B2FF5242700ADC264 /* EmojiPackPreview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiPackPreview.swift; sourceTree = "<group>"; };
A98C51BA301D290D006CB5A9 /* GifView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GifView.swift; sourceTree = "<group>"; };
A98C51BE301D2925006CB5A9 /* GifManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GifManager.swift; sourceTree = "<group>"; };
A98FA65A2FF3B29700D50212 /* EmojiTableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiTableView.swift; sourceTree = "<group>"; }; A98FA65A2FF3B29700D50212 /* EmojiTableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiTableView.swift; sourceTree = "<group>"; };
A98FA6602FF3BD5400D50212 /* EmojiCollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiCollectionView.swift; sourceTree = "<group>"; }; A98FA6602FF3BD5400D50212 /* EmojiCollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiCollectionView.swift; sourceTree = "<group>"; };
A99589AE2F5E0D83003A4A8C /* image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = image.png; sourceTree = "<group>"; }; A99589AE2F5E0D83003A4A8C /* image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = image.png; sourceTree = "<group>"; };
A995D95A2F6EBBDD0043E5F5 /* TestStructures.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestStructures.swift; sourceTree = "<group>"; }; A995D95A2F6EBBDD0043E5F5 /* TestStructures.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestStructures.swift; sourceTree = "<group>"; };
A9A7A43E2F6835F800BB84C6 /* Trending.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Trending.swift; sourceTree = "<group>"; };
A9A7A4412F68360200BB84C6 /* GifObject.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GifObject.swift; sourceTree = "<group>"; };
A9A7A4442F68360900BB84C6 /* Pagination.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Pagination.swift; sourceTree = "<group>"; };
A9A7A4472F68361200BB84C6 /* Meta.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Meta.swift; sourceTree = "<group>"; };
A9A7A44A2F6837A800BB84C6 /* GiphyUser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyUser.swift; sourceTree = "<group>"; };
A9A7A44D2F68383900BB84C6 /* GiphyImages.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyImages.swift; sourceTree = "<group>"; };
A9A7A4672F6AA17C00BB84C6 /* Int.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Int.swift; sourceTree = "<group>"; }; A9A7A4672F6AA17C00BB84C6 /* Int.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Int.swift; sourceTree = "<group>"; };
A9B9A8232EB2CCB5004C9245 /* StickerSlackTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StickerSlackTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; A9B9A8232EB2CCB5004C9245 /* StickerSlackTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StickerSlackTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
A9B9A82C2EB2CCBE004C9245 /* StickerSlackTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StickerSlackTests.swift; sourceTree = "<group>"; }; A9B9A82C2EB2CCBE004C9245 /* StickerSlackTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StickerSlackTests.swift; sourceTree = "<group>"; };
@@ -280,8 +250,6 @@
A9BDEADD2F82BC93002798DF /* NoStickersView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NoStickersView.swift; sourceTree = "<group>"; }; A9BDEADD2F82BC93002798DF /* NoStickersView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NoStickersView.swift; sourceTree = "<group>"; };
A9BDEAE12F82BFF8002798DF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; A9BDEAE12F82BFF8002798DF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StickerType.swift; sourceTree = "<group>"; }; A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StickerType.swift; sourceTree = "<group>"; };
A9BE30EE2F5B004800A57668 /* GifHoarder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GifHoarder.swift; sourceTree = "<group>"; };
A9BE30F12F5B004E00A57668 /* Gif.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Gif.swift; sourceTree = "<group>"; };
A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StickerProtocol.swift; sourceTree = "<group>"; }; A9BE30F52F5B011A00A57668 /* StickerProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StickerProtocol.swift; sourceTree = "<group>"; };
A9BE30F92F5B03F400A57668 /* Sticker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sticker.swift; sourceTree = "<group>"; }; A9BE30F92F5B03F400A57668 /* Sticker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sticker.swift; sourceTree = "<group>"; };
A9BE30FD2F5FA47100A57668 /* Hoarder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Hoarder.swift; sourceTree = "<group>"; }; A9BE30FD2F5FA47100A57668 /* Hoarder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Hoarder.swift; sourceTree = "<group>"; };
@@ -461,7 +429,6 @@
A949B1F12EA04E8200215164 /* StickerSlackApp.swift */, A949B1F12EA04E8200215164 /* StickerSlackApp.swift */,
A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */, A9BE30EB2F5AFE1E00A57668 /* StickerType.swift */,
A9BE30F42F5B011400A57668 /* Stickers */, A9BE30F42F5B011400A57668 /* Stickers */,
A9BE30ED2F5B003A00A57668 /* Gifs */,
A9E8C7942FF72550009A38B5 /* EmojiHoarder */, A9E8C7942FF72550009A38B5 /* EmojiHoarder */,
A949B1F92EA0517800215164 /* Emoji */, A949B1F92EA0517800215164 /* Emoji */,
A91C09892EBBD75A00210C34 /* Trie */, A91C09892EBBD75A00210C34 /* Trie */,
@@ -478,9 +445,9 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
A924C3712EA9127200F20781 /* Emoji.swift */, A924C3712EA9127200F20781 /* Emoji.swift */,
A98C51BA301D290D006CB5A9 /* GifView.swift */,
A98C51BE301D2925006CB5A9 /* GifManager.swift */,
A91C098B2EBBD78700210C34 /* Categorisation */, A91C098B2EBBD78700210C34 /* Categorisation */,
A957C1792ECE542D00EA3EE9 /* GifManager.swift */,
A957C17D2ECFAA1100EA3EE9 /* GifView.swift */,
); );
path = Emoji; path = Emoji;
sourceTree = "<group>"; sourceTree = "<group>";
@@ -533,24 +500,10 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
A9A7A4522F68448A00BB84C6 /* Cachet */, A9A7A4522F68448A00BB84C6 /* Cachet */,
A9A7A4512F68448500BB84C6 /* Giphy */,
); );
path = Models; path = Models;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
A9A7A4512F68448500BB84C6 /* Giphy */ = {
isa = PBXGroup;
children = (
A9A7A43E2F6835F800BB84C6 /* Trending.swift */,
A9A7A4412F68360200BB84C6 /* GifObject.swift */,
A9A7A4442F68360900BB84C6 /* Pagination.swift */,
A9A7A4472F68361200BB84C6 /* Meta.swift */,
A9A7A44A2F6837A800BB84C6 /* GiphyUser.swift */,
A9A7A44D2F68383900BB84C6 /* GiphyImages.swift */,
);
path = Giphy;
sourceTree = "<group>";
};
A9A7A4522F68448A00BB84C6 /* Cachet */ = { A9A7A4522F68448A00BB84C6 /* Cachet */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@@ -579,15 +532,6 @@
path = StickerSlackTests; path = StickerSlackTests;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
A9BE30ED2F5B003A00A57668 /* Gifs */ = {
isa = PBXGroup;
children = (
A9BE30F12F5B004E00A57668 /* Gif.swift */,
A9BE30EE2F5B004800A57668 /* GifHoarder.swift */,
);
path = Gifs;
sourceTree = "<group>";
};
A9BE30F42F5B011400A57668 /* Stickers */ = { A9BE30F42F5B011400A57668 /* Stickers */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@@ -782,30 +726,26 @@
A9FB3EE42FA7AB3A00030E2A /* UIKitGifView.swift in Sources */, A9FB3EE42FA7AB3A00030E2A /* UIKitGifView.swift in Sources */,
A9E8C79E2FF726DA009A38B5 /* EmojiHoarder.LetterStats.swift in Sources */, A9E8C79E2FF726DA009A38B5 /* EmojiHoarder.LetterStats.swift in Sources */,
A949B1F52EA04E8200215164 /* StickerSlackApp.swift in Sources */, A949B1F52EA04E8200215164 /* StickerSlackApp.swift in Sources */,
A9A7A4452F68360900BB84C6 /* Pagination.swift in Sources */,
A9104C802EB4022500D160EA /* MSSticker.swift in Sources */, A9104C802EB4022500D160EA /* MSSticker.swift in Sources */,
A98FA65C2FF3B29700D50212 /* EmojiTableView.swift in Sources */, A98FA65C2FF3B29700D50212 /* EmojiTableView.swift in Sources */,
A9A7A43F2F6835F800BB84C6 /* Trending.swift in Sources */,
A9A7A4422F68360200BB84C6 /* GifObject.swift in Sources */,
A9E8C79A2FF7256B009A38B5 /* EmojiHoarder.Packs.swift in Sources */, A9E8C79A2FF7256B009A38B5 /* EmojiHoarder.Packs.swift in Sources */,
A9E8C7A32FF7B815009A38B5 /* EmojiPackDetailViewController.swift in Sources */, A9E8C7A32FF7B815009A38B5 /* EmojiPackDetailViewController.swift in Sources */,
A97322A62FA8CA2B004B657D /* JumboMojiTestView.swift in Sources */, A97322A62FA8CA2B004B657D /* JumboMojiTestView.swift in Sources */,
A98C51C1301D2925006CB5A9 /* GifManager.swift in Sources */,
A975F9192FA38C8D00A5C62E /* EmojiPackGridView.swift in Sources */, A975F9192FA38C8D00A5C62E /* EmojiPackGridView.swift in Sources */,
A957C1772ECD008E00EA3EE9 /* Bundle.swift in Sources */, A957C1772ECD008E00EA3EE9 /* Bundle.swift in Sources */,
A957C17F2ECFAA1100EA3EE9 /* GifView.swift in Sources */,
A957C1742ECCE2CE00EA3EE9 /* SettingsView.swift in Sources */, A957C1742ECCE2CE00EA3EE9 /* SettingsView.swift in Sources */,
A9D53AEE2FFB0E83001C1BB9 /* EmojiPackListView.swift in Sources */, A9D53AEE2FFB0E83001C1BB9 /* EmojiPackListView.swift in Sources */,
A9A7A44B2F6837A800BB84C6 /* GiphyUser.swift in Sources */,
A9E8C7A62FF7C34A009A38B5 /* EmojiPackDetailViewRepresentable.swift in Sources */, A9E8C7A62FF7C34A009A38B5 /* EmojiPackDetailViewRepresentable.swift in Sources */,
A9EB72392EB93FDB00658CEB /* EmojiTableViewRepresentable.swift in Sources */, A9EB72392EB93FDB00658CEB /* EmojiTableViewRepresentable.swift in Sources */,
A98BD15D2FF5242700ADC264 /* EmojiPackPreview.swift in Sources */, A98BD15D2FF5242700ADC264 /* EmojiPackPreview.swift in Sources */,
A955B3EE2EC22C4A00E1732D /* DownloadedView.swift in Sources */, A955B3EE2EC22C4A00E1732D /* DownloadedView.swift in Sources */,
A949B1FB2EA0518800215164 /* SlackResponse.swift in Sources */, A949B1FB2EA0518800215164 /* SlackResponse.swift in Sources */,
A957C17A2ECE542D00EA3EE9 /* GifManager.swift in Sources */,
A9C52F6F2F89A22000078588 /* Wiggle.metal in Sources */, A9C52F6F2F89A22000078588 /* Wiggle.metal in Sources */,
A9BDEADE2F82BC93002798DF /* NoStickersView.swift in Sources */, A9BDEADE2F82BC93002798DF /* NoStickersView.swift in Sources */,
A9D53AEB2FFB0272001C1BB9 /* EmojiPackManagerController.swift in Sources */, A9D53AEB2FFB0272001C1BB9 /* EmojiPackManagerController.swift in Sources */,
A955B3F52EC22EE900E1732D /* SearchView.swift in Sources */, A955B3F52EC22EE900E1732D /* SearchView.swift in Sources */,
A98C51BD301D290D006CB5A9 /* GifView.swift in Sources */,
A935437B2EB2A3C800BB80A4 /* FilterCategory.swift in Sources */, A935437B2EB2A3C800BB80A4 /* FilterCategory.swift in Sources */,
A917BAD12F9B7B68008DB31E /* PlainEmojiCollectionViewCell.swift in Sources */, A917BAD12F9B7B68008DB31E /* PlainEmojiCollectionViewCell.swift in Sources */,
A9C52F6D2F8988CE00078588 /* EmptyCollectionView.swift in Sources */, A9C52F6D2F8988CE00078588 /* EmptyCollectionView.swift in Sources */,
@@ -814,7 +754,6 @@
A9F7B3812F8951210071F198 /* EmojiPackImporterView.swift in Sources */, A9F7B3812F8951210071F198 /* EmojiPackImporterView.swift in Sources */,
A99C4B8D2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */, A99C4B8D2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */,
A982A14E2FFD2F8000053E26 /* BrowseViewController.swift in Sources */, A982A14E2FFD2F8000053E26 /* BrowseViewController.swift in Sources */,
A9A7A44E2F68383900BB84C6 /* GiphyImages.swift in Sources */,
A9C172DD2EB8C9AC008A7885 /* Trie.swift in Sources */, A9C172DD2EB8C9AC008A7885 /* Trie.swift in Sources */,
A955B3F22EC22E9700E1732D /* BrowseView.swift in Sources */, A955B3F22EC22E9700E1732D /* BrowseView.swift in Sources */,
A9A7A4692F6AA17C00BB84C6 /* Int.swift in Sources */, A9A7A4692F6AA17C00BB84C6 /* Int.swift in Sources */,
@@ -829,13 +768,10 @@
A9BBC5182EB8FA4500FFE82F /* ViewModifiers.swift in Sources */, A9BBC5182EB8FA4500FFE82F /* ViewModifiers.swift in Sources */,
A9EB72492EB948C400658CEB /* StickerRow.swift in Sources */, A9EB72492EB948C400658CEB /* StickerRow.swift in Sources */,
A9773C2F2EA54AF000F3B753 /* StickerPreview.swift in Sources */, A9773C2F2EA54AF000F3B753 /* StickerPreview.swift in Sources */,
A9BE30F02F5B004800A57668 /* GifHoarder.swift in Sources */,
A9BE30F22F5B004E00A57668 /* Gif.swift in Sources */,
A917BACF2F9B787B008DB31E /* EmojiCollectionViewRepresentable.swift in Sources */, A917BACF2F9B787B008DB31E /* EmojiCollectionViewRepresentable.swift in Sources */,
A98FA6612FF3BD5400D50212 /* EmojiCollectionView.swift in Sources */, A98FA6612FF3BD5400D50212 /* EmojiCollectionView.swift in Sources */,
A9E8C78F2FF71D8C009A38B5 /* DownloadedViewController.swift in Sources */, A9E8C78F2FF71D8C009A38B5 /* DownloadedViewController.swift in Sources */,
A9BE30EC2F5AFE1E00A57668 /* StickerType.swift in Sources */, A9BE30EC2F5AFE1E00A57668 /* StickerType.swift in Sources */,
A9A7A4482F68361200BB84C6 /* Meta.swift in Sources */,
A995D95C2F6EBBDD0043E5F5 /* TestStructures.swift in Sources */, A995D95C2F6EBBDD0043E5F5 /* TestStructures.swift in Sources */,
A9E8C7A92FF95FEC009A38B5 /* SearchViewController.swift in Sources */, A9E8C7A92FF95FEC009A38B5 /* SearchViewController.swift in Sources */,
A9BE30FE2F5FA47100A57668 /* Hoarder.swift in Sources */, A9BE30FE2F5FA47100A57668 /* Hoarder.swift in Sources */,
@@ -851,30 +787,22 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
A957C17B2ECE542D00EA3EE9 /* GifManager.swift in Sources */,
A9BE30F82F5B02BF00A57668 /* StickerProtocol.swift in Sources */, A9BE30F82F5B02BF00A57668 /* StickerProtocol.swift in Sources */,
A98C51BC301D290D006CB5A9 /* GifView.swift in Sources */,
A97322A12FA7B9C8004B657D /* JumboMoji.swift in Sources */, A97322A12FA7B9C8004B657D /* JumboMoji.swift in Sources */,
A986A6C32EB6598100B6E0FA /* FilterCategory.swift in Sources */, A986A6C32EB6598100B6E0FA /* FilterCategory.swift in Sources */,
A9CD6C3A2EDDE6B500B7F421 /* EmojiPack.swift in Sources */, A9CD6C3A2EDDE6B500B7F421 /* EmojiPack.swift in Sources */,
A9EB724B2EB94A5700658CEB /* Trie.swift in Sources */, A9EB724B2EB94A5700658CEB /* Trie.swift in Sources */,
A9BDEAE02F82BCB4002798DF /* NoStickersView.swift in Sources */, A9BDEAE02F82BCB4002798DF /* NoStickersView.swift in Sources */,
A9BE30FA2F5B03F400A57668 /* Sticker.swift in Sources */, A9BE30FA2F5B03F400A57668 /* Sticker.swift in Sources */,
A98C51C0301D2925006CB5A9 /* GifManager.swift in Sources */,
A9E8C79B2FF7256B009A38B5 /* EmojiHoarder.Packs.swift in Sources */, A9E8C79B2FF7256B009A38B5 /* EmojiHoarder.Packs.swift in Sources */,
A986A6CD2EB659E000B6E0FA /* MessagesAppViewController.swift in Sources */, A986A6CD2EB659E000B6E0FA /* MessagesAppViewController.swift in Sources */,
A9A7A4572F69568700BB84C6 /* GifHoarder.swift in Sources */,
A96D59963013D6450086948E /* MessagesPackListView.swift in Sources */, A96D59963013D6450086948E /* MessagesPackListView.swift in Sources */,
A9BE30FF2F5FA78E00A57668 /* Hoarder.swift in Sources */, A9BE30FF2F5FA78E00A57668 /* Hoarder.swift in Sources */,
A9C52F6C2F8988CE00078588 /* EmptyCollectionView.swift in Sources */, A9C52F6C2F8988CE00078588 /* EmptyCollectionView.swift in Sources */,
A9C52F772F89A9BF00078588 /* URL.swift in Sources */, A9C52F772F89A9BF00078588 /* URL.swift in Sources */,
A9A7A4582F69569100BB84C6 /* Trending.swift in Sources */,
A9A7A4592F69569100BB84C6 /* Pagination.swift in Sources */,
A9A7A45A2F69569100BB84C6 /* Meta.swift in Sources */,
A96D599A3013DE140086948E /* Int.swift in Sources */, A96D599A3013DE140086948E /* Int.swift in Sources */,
A9A7A45B2F69569100BB84C6 /* GifObject.swift in Sources */,
A9A7A45C2F69569100BB84C6 /* GiphyImages.swift in Sources */,
A9A7A45D2F69569100BB84C6 /* GiphyUser.swift in Sources */,
A957C17E2ECFAA1100EA3EE9 /* GifView.swift in Sources */,
A9A7A45F2F69570200BB84C6 /* Gif.swift in Sources */,
A9A7A45E2F6956B700BB84C6 /* StickerType.swift in Sources */, A9A7A45E2F6956B700BB84C6 /* StickerType.swift in Sources */,
A9D6A8212F7014AE00F198FB /* TestStructures.swift in Sources */, A9D6A8212F7014AE00F198FB /* TestStructures.swift in Sources */,
A9BBC5192EB8FA4500FFE82F /* ViewModifiers.swift in Sources */, A9BBC5192EB8FA4500FFE82F /* ViewModifiers.swift in Sources */,
@@ -893,15 +821,12 @@
files = ( files = (
A99C4B8E2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */, A99C4B8E2FF2E8D30070CBA5 /* TabbedContentView.swift in Sources */,
A9D53AEA2FFB0272001C1BB9 /* EmojiPackManagerController.swift in Sources */, A9D53AEA2FFB0272001C1BB9 /* EmojiPackManagerController.swift in Sources */,
A9A7A4462F68360900BB84C6 /* Pagination.swift in Sources */,
A957C17C2ECE542D00EA3EE9 /* GifManager.swift in Sources */,
A9104C7F2EB4022500D160EA /* MSSticker.swift in Sources */, A9104C7F2EB4022500D160EA /* MSSticker.swift in Sources */,
A9C52F762F89A93D00078588 /* URL.swift in Sources */, A9C52F762F89A93D00078588 /* URL.swift in Sources */,
A9B9A8302EB2CD0B004C9245 /* Emoji.swift in Sources */, A9B9A8302EB2CD0B004C9245 /* Emoji.swift in Sources */,
A9C52F702F89A22000078588 /* Wiggle.metal in Sources */, A9C52F702F89A22000078588 /* Wiggle.metal in Sources */,
A9E8C79C2FF7256B009A38B5 /* EmojiHoarder.Packs.swift in Sources */, A9E8C79C2FF7256B009A38B5 /* EmojiHoarder.Packs.swift in Sources */,
A955B3F12EC22E9700E1732D /* BrowseView.swift in Sources */, A955B3F12EC22E9700E1732D /* BrowseView.swift in Sources */,
A9A7A4402F6835F800BB84C6 /* Trending.swift in Sources */,
A975F9212FA52B3600A5C62E /* AddToPackMenuView.swift in Sources */, A975F9212FA52B3600A5C62E /* AddToPackMenuView.swift in Sources */,
A9F7B3802F8951210071F198 /* EmojiPackImporterView.swift in Sources */, A9F7B3802F8951210071F198 /* EmojiPackImporterView.swift in Sources */,
A9BE30F72F5B011A00A57668 /* StickerProtocol.swift in Sources */, A9BE30F72F5B011A00A57668 /* StickerProtocol.swift in Sources */,
@@ -909,10 +834,9 @@
A9BE30FC2F5B03F400A57668 /* Sticker.swift in Sources */, A9BE30FC2F5B03F400A57668 /* Sticker.swift in Sources */,
A9C52F732F89A85F00078588 /* ShareSheet.swift in Sources */, A9C52F732F89A85F00078588 /* ShareSheet.swift in Sources */,
A9EC46AE2F6D9E5800E066E6 /* StickerType.swift in Sources */, A9EC46AE2F6D9E5800E066E6 /* StickerType.swift in Sources */,
A98C51BF301D2925006CB5A9 /* GifManager.swift in Sources */,
A9B9A82F2EB2CCED004C9245 /* EmojiHoarder.swift in Sources */, A9B9A82F2EB2CCED004C9245 /* EmojiHoarder.swift in Sources */,
A9CD6C3B2EDDE6B500B7F421 /* EmojiPack.swift in Sources */, A9CD6C3B2EDDE6B500B7F421 /* EmojiPack.swift in Sources */,
A9BE30EF2F5B004800A57668 /* GifHoarder.swift in Sources */,
A9A7A4492F68361200BB84C6 /* Meta.swift in Sources */,
A9EB724A2EB948E000658CEB /* EmojiTableViewRepresentable.swift in Sources */, A9EB724A2EB948E000658CEB /* EmojiTableViewRepresentable.swift in Sources */,
A9EB724D2EB94A6B00658CEB /* TrieTestingView.swift in Sources */, A9EB724D2EB94A6B00658CEB /* TrieTestingView.swift in Sources */,
A9E8C7A22FF7B815009A38B5 /* EmojiPackDetailViewController.swift in Sources */, A9E8C7A22FF7B815009A38B5 /* EmojiPackDetailViewController.swift in Sources */,
@@ -921,6 +845,7 @@
A995D95B2F6EBBDD0043E5F5 /* TestStructures.swift in Sources */, A995D95B2F6EBBDD0043E5F5 /* TestStructures.swift in Sources */,
A9D53AED2FFB0E83001C1BB9 /* EmojiPackListView.swift in Sources */, A9D53AED2FFB0E83001C1BB9 /* EmojiPackListView.swift in Sources */,
A9E8C7A02FF726DA009A38B5 /* EmojiHoarder.LetterStats.swift in Sources */, A9E8C7A02FF726DA009A38B5 /* EmojiHoarder.LetterStats.swift in Sources */,
A98C51BB301D290D006CB5A9 /* GifView.swift in Sources */,
A955B3ED2EC22C4A00E1732D /* DownloadedView.swift in Sources */, A955B3ED2EC22C4A00E1732D /* DownloadedView.swift in Sources */,
A9EC46AD2F6D9E4600E066E6 /* Hoarder.swift in Sources */, A9EC46AD2F6D9E4600E066E6 /* Hoarder.swift in Sources */,
A9A7A4682F6AA17C00BB84C6 /* Int.swift in Sources */, A9A7A4682F6AA17C00BB84C6 /* Int.swift in Sources */,
@@ -945,16 +870,11 @@
A957C1782ECD008E00EA3EE9 /* Bundle.swift in Sources */, A957C1782ECD008E00EA3EE9 /* Bundle.swift in Sources */,
A921C2E02ED067BB00E57B1A /* WelcomeView.swift in Sources */, A921C2E02ED067BB00E57B1A /* WelcomeView.swift in Sources */,
A9B9A82E2EB2CCBE004C9245 /* StickerSlackTests.swift in Sources */, A9B9A82E2EB2CCBE004C9245 /* StickerSlackTests.swift in Sources */,
A9A7A44F2F68383900BB84C6 /* GiphyImages.swift in Sources */,
A917BACE2F9B787B008DB31E /* EmojiCollectionViewRepresentable.swift in Sources */, A917BACE2F9B787B008DB31E /* EmojiCollectionViewRepresentable.swift in Sources */,
A9BE30F32F5B004E00A57668 /* Gif.swift in Sources */,
A9A7A44C2F6837A800BB84C6 /* GiphyUser.swift in Sources */,
A9B9A8312EB2CD14004C9245 /* FilterCategory.swift in Sources */, A9B9A8312EB2CD14004C9245 /* FilterCategory.swift in Sources */,
A957C1802ECFAA1100EA3EE9 /* GifView.swift in Sources */,
A975F91A2FA38C8D00A5C62E /* EmojiPackGridView.swift in Sources */, A975F91A2FA38C8D00A5C62E /* EmojiPackGridView.swift in Sources */,
A917BAD22F9B7B68008DB31E /* PlainEmojiCollectionViewCell.swift in Sources */, A917BAD22F9B7B68008DB31E /* PlainEmojiCollectionViewCell.swift in Sources */,
A9EB72502EB94FAD00658CEB /* StickerPreview.swift in Sources */, A9EB72502EB94FAD00658CEB /* StickerPreview.swift in Sources */,
A9A7A4432F68360200BB84C6 /* GifObject.swift in Sources */,
A982A14F2FFD2F8000053E26 /* BrowseViewController.swift in Sources */, A982A14F2FFD2F8000053E26 /* BrowseViewController.swift in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
-1
View File
@@ -100,5 +100,4 @@ struct GifView: View {
) )
GifView(url: Emoji.test.remoteImageURL) GifView(url: Emoji.test.remoteImageURL)
GifView(url: Emoji.testLongName.localImageURL) GifView(url: Emoji.testLongName.localImageURL)
GifView(url: Gif.test.remoteImageURL)
} }
+100 -100
View File
@@ -19,106 +19,106 @@ extension Emoji {
) )
} }
extension Gif { //extension Gif {
static var test: Gif = GifObject( // static var test: Gif = GifObject(
type: "gif", // type: "gif",
id: "XAeEGyCbp8UehBPkSA", // id: "XAeEGyCbp8UehBPkSA",
slug: "know-does-he-XAeEGyCbp8UehBPkSA", // slug: "know-does-he-XAeEGyCbp8UehBPkSA",
url: "https://giphy.com/gifs/know-does-he-XAeEGyCbp8UehBPkSA", // url: "https://giphy.com/gifs/know-does-he-XAeEGyCbp8UehBPkSA",
bitly_url: "https://gph.is/g/4AKMQlV", // bitly_url: "https://gph.is/g/4AKMQlV",
embed_url: "https://giphy.com/embed/XAeEGyCbp8UehBPkSA", // embed_url: "https://giphy.com/embed/XAeEGyCbp8UehBPkSA",
username: "Ommarbisafool", // username: "Ommarbisafool",
source: "", // source: "",
rating: "g", // rating: "g",
source_tld: "", // source_tld: "",
source_post_url: "", // source_post_url: "",
import_datetime: "2025-11-06 15:48:02", // import_datetime: "2025-11-06 15:48:02",
images: GiphyImages( // images: GiphyImages(
fixed_height: .init( // fixed_height: .init(
url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200.gif&ct=g", // url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200.gif&ct=g",
width: "270", // width: "270",
height: "200", // height: "200",
size: "74672", // size: "74672",
mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200.mp4&ct=g", // mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200.mp4&ct=g",
mp4_size: "11433", // mp4_size: "11433",
webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200.webp&ct=g", // webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200.webp&ct=g",
webp_size: "10962" // webp_size: "10962"
), // ),
fixed_height_still: nil, // fixed_height_still: nil,
fixed_height_downsampled: .init( // fixed_height_downsampled: .init(
url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200_d.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200_d.gif&ct=g", // url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200_d.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200_d.gif&ct=g",
width: "270", // width: "270",
height: "200", // height: "200",
size: "51332", // size: "51332",
webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200_d.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200_d.webp&ct=g", // webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200_d.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200_d.webp&ct=g",
webp_size: "44850" // webp_size: "44850"
), // ),
fixed_height_small: .init( // fixed_height_small: .init(
url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100.gif&ct=g", // url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100.gif&ct=g",
width: "134", // width: "134",
height: "100", // height: "100",
size: "16461", // size: "16461",
mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100.mp4&ct=g", // mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100.mp4&ct=g",
mp4_size: "5340", // mp4_size: "5340",
webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100.webp&ct=g", // webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100.webp&ct=g",
webp_size: "3142" // webp_size: "3142"
), // ),
fixed_height_small_still: nil, // fixed_height_small_still: nil,
fixed_width: .init( // fixed_width: .init(
url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w.gif&ct=g", // url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w.gif&ct=g",
width: "200", // width: "200",
height: "148", // height: "148",
size: "42579", // size: "42579",
mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w.mp4&ct=g", // mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w.mp4&ct=g",
mp4_size: "8158", // mp4_size: "8158",
webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w.webp&ct=g", // webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w.webp&ct=g",
webp_size: "4458" // webp_size: "4458"
), // ),
fixed_width_still: nil, // fixed_width_still: nil,
fixed_width_downsampled: .init( // fixed_width_downsampled: .init(
url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w_d.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w_d.gif&ct=g", // url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w_d.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w_d.gif&ct=g",
width: "200", // width: "200",
height: "148", // height: "148",
size: "23483", // size: "23483",
webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w_d.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w_d.webp&ct=g", // webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/200w_d.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=200w_d.webp&ct=g",
webp_size: "22586" // webp_size: "22586"
), // ),
fixed_width_small: .init( // fixed_width_small: .init(
url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100w.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100w.gif&ct=g", // url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100w.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100w.gif&ct=g",
width: "100", // width: "100",
height: "74", // height: "74",
size: "8150", // size: "8150",
mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100w.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100w.mp4&ct=g", // mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100w.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100w.mp4&ct=g",
mp4_size: "4103", // mp4_size: "4103",
webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100w.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100w.webp&ct=g", // webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/100w.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=100w.webp&ct=g",
webp_size: "1814" // webp_size: "1814"
), // ),
fixed_width_small_still: nil, // fixed_width_small_still: nil,
downsized: nil, // downsized: nil,
downsized_still: nil, // downsized_still: nil,
downsized_large: nil, // downsized_large: nil,
downsized_medium: nil, // downsized_medium: nil,
downsized_small: nil, // downsized_small: nil,
original: .init( // original: .init(
url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/giphy.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=giphy.gif&ct=g", // url: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/giphy.gif?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=giphy.gif&ct=g",
width: "480", // width: "480",
height: "356", // height: "356",
size: "245829", // size: "245829",
mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/giphy.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=giphy.mp4&ct=g", // mp4: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/giphy.mp4?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=giphy.mp4&ct=g",
mp4_size: "23259", // mp4_size: "23259",
webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/giphy.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=giphy.webp&ct=g", // webp: "https://media2.giphy.com/media/XAeEGyCbp8UehBPkSA/giphy.webp?cid=acd65332fv0sn3gzwa5vi4jw834l2hhwmfm6d90329p1590n&ep=v1_gifs_search&rid=giphy.webp&ct=g",
webp_size: "26984" // webp_size: "26984"
), // ),
original_still: nil, // original_still: nil,
// looping: nil, // // looping: nil,
preview: nil, // preview: nil,
preview_gif: nil // preview_gif: nil
), // ),
title: "Know GIF", // title: "Know GIF",
alt_text: "", // alt_text: "",
is_low_contrast: false // is_low_contrast: false
).toGif // ).toGif
} //}
extension EmojiPack { extension EmojiPack {
static var test: EmojiPack { static var test: EmojiPack {
-4
View File
@@ -33,11 +33,7 @@ import SwiftUI
@main @main
class StickerSlackApp: UIResponder, UIApplicationDelegate { class StickerSlackApp: UIResponder, UIApplicationDelegate {
#if DEBUG
var emojiHoarder: EmojiHoarder = .init(/*localOnly: true*/)
#else
var emojiHoarder: EmojiHoarder = .init() var emojiHoarder: EmojiHoarder = .init()
#endif
var window: UIWindow? var window: UIWindow?
+5 -5
View File
@@ -9,7 +9,7 @@ import Foundation
enum StickerType: CustomStringConvertible, CaseIterable, Identifiable { enum StickerType: CustomStringConvertible, CaseIterable, Identifiable {
case slackEmoji case slackEmoji
case giphyGifs // case giphyGifs
var id: String { self.description } var id: String { self.description }
@@ -17,8 +17,8 @@ enum StickerType: CustomStringConvertible, CaseIterable, Identifiable {
switch self { switch self {
case .slackEmoji: case .slackEmoji:
return "Slack Emoji" return "Slack Emoji"
case .giphyGifs: // case .giphyGifs:
return "Giphy GIFs" // return "Giphy GIFs"
} }
} }
@@ -26,8 +26,8 @@ enum StickerType: CustomStringConvertible, CaseIterable, Identifiable {
switch self { switch self {
case .slackEmoji: case .slackEmoji:
return "Slack" return "Slack"
case .giphyGifs: // case .giphyGifs:
return "Giphy" // return "Giphy"
} }
} }
} }
+2 -15
View File
@@ -10,13 +10,7 @@ import Messages
extension StickerProtocol { extension StickerProtocol {
var localImageURLString: String { var localImageURLString: String {
let containerPath: String let containerPath = EmojiHoarder.container.safePath
switch type {
case .slackEmoji:
containerPath = EmojiHoarder.container.safePath
case .giphyGifs:
containerPath = GifHoarder.container.safePath
}
let urlString = remoteImageURL.absoluteString let urlString = remoteImageURL.absoluteString
let split = urlString.split(separator: ".") let split = urlString.split(separator: ".")
let fileExtension = ".\(split.last!)" let fileExtension = ".\(split.last!)"
@@ -69,14 +63,7 @@ extension StickerProtocol {
} }
nonisolated var type: StickerType { nonisolated var type: StickerType {
let typeOfSelf = Swift.type(of: self) return .slackEmoji
if typeOfSelf == Emoji.self {
return .slackEmoji
} else if typeOfSelf == Gif.self {
return .giphyGifs
} else {
fatalError("unrecognised sticker type get crashed lmfao")
}
} }
nonisolated func downloadImage() async throws { nonisolated func downloadImage() async throws {
+6 -46
View File
@@ -9,59 +9,19 @@ import SwiftUI
import Haptics import Haptics
struct BrowseView: View { struct BrowseView: View {
@State private var browseWhat: StickerType = .slackEmoji
@ObservedObject var emojiHoarder: EmojiHoarder @ObservedObject var emojiHoarder: EmojiHoarder
@ObservedObject var gifHoarder: GifHoarder
var body: some View { var body: some View {
VStack { VStack {
Picker("", selection: $browseWhat) { EmojiTableViewRepresentable(
ForEach(StickerType.allCases) { type in hoarder: emojiHoarder,
Text(type.description).tag(type) items: emojiHoarder.emojis.map { $0.name }
} )
} .padding(.bottom, 10)
.pickerStyle(.segmented)
.padding(.horizontal)
Group {
switch browseWhat {
case .slackEmoji:
EmojiTableViewRepresentable(
hoarder: emojiHoarder,
items: emojiHoarder.emojis.map { $0.name }
)
.padding(.bottom, 10)
case .giphyGifs:
Button("download all") {
for gif in gifHoarder.trendingGifs {
Task {
await gifHoarder.download(emoji: gif)
}
}
Haptic.success.trigger()
}
Button("del all") {
Task {
for gif in gifHoarder.trendingGifs {
await gifHoarder.delete(emoji: gif)
}
Haptic.rigid.trigger()
}
}
List {
ForEach(gifHoarder.trendingGifs) { gif in
StickerRow(hoarder: gifHoarder, sticker: gif)
}
}
.listRowSeparator(.hidden)
}
}
} }
} }
} }
#Preview { #Preview {
BrowseView( BrowseView(emojiHoarder: EmojiHoarder(localOnly: true))
emojiHoarder: EmojiHoarder(localOnly: true),
gifHoarder: GifHoarder(localOnly: true)
)
} }
+5 -6
View File
@@ -10,7 +10,6 @@ import Haptics
struct ContentView: View { struct ContentView: View {
@ObservedObject var emojiHoarder: EmojiHoarder @ObservedObject var emojiHoarder: EmojiHoarder
@ObservedObject var gifhoarder: GifHoarder
@State var tabSelection: AppTab = .browse @State var tabSelection: AppTab = .browse
@State var searchTerm: String = "" @State var searchTerm: String = ""
@@ -28,7 +27,7 @@ struct ContentView: View {
if #available(iOS 18, *) { if #available(iOS 18, *) {
TabView(selection: $tabSelection) { TabView(selection: $tabSelection) {
Tab("Browse", systemImage: "square.grid.2x2.fill", value: AppTab.browse) { Tab("Browse", systemImage: "square.grid.2x2.fill", value: AppTab.browse) {
BrowseView(emojiHoarder: emojiHoarder, gifHoarder: gifhoarder) BrowseView(emojiHoarder: emojiHoarder)
} }
Tab("Packs", systemImage: "square.stack.3d.up.fill", value: AppTab.packs) { Tab("Packs", systemImage: "square.stack.3d.up.fill", value: AppTab.packs) {
@@ -36,7 +35,7 @@ struct ContentView: View {
} }
Tab("Downloaded", systemImage: "arrow.down.circle.fill", value: AppTab.downloaded) { Tab("Downloaded", systemImage: "arrow.down.circle.fill", value: AppTab.downloaded) {
DownloadedView(emojiHoarder: emojiHoarder, gifHoarder: gifhoarder) DownloadedView(emojiHoarder: emojiHoarder)
} }
Tab("Settings", systemImage: "gear", value: AppTab.settings) { Tab("Settings", systemImage: "gear", value: AppTab.settings) {
@@ -51,7 +50,7 @@ struct ContentView: View {
} }
} else { } else {
TabView(selection: $tabSelection) { TabView(selection: $tabSelection) {
BrowseView(emojiHoarder: emojiHoarder, gifHoarder: gifhoarder) BrowseView(emojiHoarder: emojiHoarder)
.tag(AppTab.browse) .tag(AppTab.browse)
.tabItem { .tabItem {
Label("Browse", systemImage: "square.grid.2x2.fill") Label("Browse", systemImage: "square.grid.2x2.fill")
@@ -61,7 +60,7 @@ struct ContentView: View {
.tabItem { .tabItem {
Label("Packs", systemImage: "square.stack.3d.up.fill") Label("Packs", systemImage: "square.stack.3d.up.fill")
} }
DownloadedView(emojiHoarder: emojiHoarder, gifHoarder: gifhoarder) DownloadedView(emojiHoarder: emojiHoarder)
.tag(AppTab.downloaded) .tag(AppTab.downloaded)
.tabItem { .tabItem {
Label("Downloaded", systemImage: "arrow.down.circle.fill") Label("Downloaded", systemImage: "arrow.down.circle.fill")
@@ -91,5 +90,5 @@ struct ContentView: View {
} }
#Preview { #Preview {
ContentView(emojiHoarder: EmojiHoarder(localOnly: false), gifhoarder: GifHoarder(localOnly: false)) ContentView(emojiHoarder: EmojiHoarder(localOnly: false))
} }
+2 -16
View File
@@ -9,20 +9,9 @@ import SwiftUI
struct DownloadedView: View { struct DownloadedView: View {
@ObservedObject var emojiHoarder: EmojiHoarder @ObservedObject var emojiHoarder: EmojiHoarder
@ObservedObject var gifHoarder: GifHoarder
@State private var browseWhat: StickerType = .slackEmoji
var body: some View { var body: some View {
Picker("", selection: $browseWhat) { if emojiHoarder.downloadedStickers.isEmpty {
ForEach(StickerType.allCases) { type in
Text(type.description)
.tag(type)
}
}
.pickerStyle(.segmented)
.padding(.horizontal)
if emojiHoarder.downloadedStickers.isEmpty && gifHoarder.downloadedStickers.isEmpty {
NoStickersView() NoStickersView()
.padding() .padding()
} }
@@ -38,8 +27,5 @@ struct DownloadedView: View {
} }
#Preview { #Preview {
DownloadedView( DownloadedView(emojiHoarder: EmojiHoarder(localOnly: true))
emojiHoarder: EmojiHoarder(localOnly: true),
gifHoarder: GifHoarder(localOnly: true)
)
} }
@@ -18,26 +18,7 @@ struct StickerPreview: View {
GifView(url: sticker.localImageURL) GifView(url: sticker.localImageURL)
} else { } else {
//remote //remote
if sticker.type == .slackEmoji { GifView(url: sticker.remoteImageURL)
GifView(url: sticker.remoteImageURL)
} else {
let gif = sticker as! Gif
if let giphyImages = gif.giphyImages,
let preview_gif = giphyImages.preview_gif,
let url = URL(string: preview_gif.url) {
GifView(url: url)
} else {
GifView(url: gif.remoteImageURL)
.overlay {
Image(systemName:
"square.arrowtriangle.4.outward")
.resizable().scaledToFit()
.foregroundStyle(.red)
.background(.black)
.padding()
}
}
}
} }
} }
} }
@@ -57,8 +38,5 @@ struct ImageErrorView: View {
StickerPreview( StickerPreview(
sticker: Emoji.test sticker: Emoji.test
) )
StickerPreview(
sticker: Gif.test
)
} }
} }
+1 -13
View File
@@ -29,19 +29,7 @@ class UIKitGifView: UIImageView {
nonisolated func prepareImage(for sticker: any StickerProtocol) async -> UIImage? { nonisolated func prepareImage(for sticker: any StickerProtocol) async -> UIImage? {
let raw: Data? let raw: Data?
raw = await sticker.data()
switch sticker.type {
case .slackEmoji:
raw = await sticker.data()
case .giphyGifs:
if sticker.isLocal {
raw = await sticker.data()
} else {
let gif = sticker as! Gif
raw = await gif.getPreviewData()
}
}
guard let raw else { return nil } guard let raw else { return nil }
return await render(data: raw) return await render(data: raw)
} }
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.