Emoji

@objc(SBDEmoji)
public final class Emoji : NSObject, Codable
extension Emoji: Serializable

Class to represent emoji

Since

3.0.180
  • key

    Emoji’s key

    Declaration

    Swift

    @objc
    public internal(set) var key: String { get }
  • url

    Emoji’s url

    Declaration

    Swift

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

    Return Value

    Emoji if parameter is valid, otherwise nil