EmojiContainer
@objc(SBDEmojiContainer)
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
@objc public internal(set) var emojiHash: String { get }
-
Emoji category list
Declaration
Swift
@objc public internal(set) var categories: [EmojiCategory] { get }
-
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