adding gifs

added sticker.swift to add a protocol for stickers and an extension that has shared default implementations of functions and computed properties
added stickertype enum
This commit is contained in:
Nihaal Sharma committed 2026-03-06 23:46:09 +00:00
1 parent 23670efcfb
commit 2b8c636945
10 files changed
+215 -61

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
//
// StickerType.swift
// StickerSlack
//
// Created by neon443 on 06/03/2026.
//
import Foundation
enum StickerType: CustomStringConvertible, CaseIterable, Identifiable {
case slackEmoji
case giphyGif
var id: String { self.description }
var description: String {
switch self {
case .slackEmoji:
return "Slack Emoji"
case .giphyGif:
return "Giphy GIF"
}
}
}
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.