Created
July 11, 2020 16:35
-
-
Save apatronl/cb4e09555efeca8949b968d513024d7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
public struct EmojiDetails { | |
public let emoji: String | |
public let name: String | |
public let description: String | |
} | |
// MARK: - Identifiable | |
extension EmojiDetails: Identifiable { | |
public var id: String { | |
emoji | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment