Emoji

public final class Emoji: NSObject, Codable
extension Emoji: Serializable

Class to represent emoji

Since

3.0.180
  • key

    Emoji’s key

    Declaration

    Swift

    public internal(set) var key: String
  • url

    Emoji’s url

    Declaration

    Swift

    public internal(set) var url: String
  • 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 instance

    Return Value

    Emoji if parameter is valid, otherwise nil