EmojiContainer
public final class EmojiContainer: NSObject, Codable
extension EmojiContainer: Serializable
An object contains list of EmojiCategory
and hash
-
A hash value that represnts any changes on emojis
Declaration
Swift
public internal(set) var emojiHash: String
-
Emoji category list
Declaration
Swift
public internal(set) var categories: [EmojiCategory]
-
Serializes this object into data
Declaration
Swift
public func serialize() -> Data?
Return Value
optioanal
Data
instance -
Deserializes and reconstructs the object
Declaration
Swift
public static func build(fromSerializedData data: Data?) -> Self?
Parameters
data
Data
instanceReturn Value
EmojiContainer
if parameter is valid, otherwisenil