Croc

public class Croc

Undocumented

  • Finds subgroups of a given group type

    Declaration

    Swift

    public static func subGroups(for group: EmojiGroup) -> [EmojiSubGroup]

    Parameters

    group

    EmojiGroup type. List can be found at Croc.groupTypes

    Return Value

    A list of emojis

  • Finds matching emojis for a given sub-group.

    Declaration

    Swift

    public static func emojis(for subgroup: EmojiSubGroup, limit : Int = -1) -> Array<Character>

    Parameters

    subgroup

    EmojiSubGroup (string) type. List can be found at subGroups(for group: EmojiGroup)

    limit

    Optional limit for the number of emojis to be returned

    Return Value

    A list of matched emojis

  • Finds matching emojis for a given group.

    Declaration

    Swift

    public static func emojis(for group: EmojiGroup, limit : Int = -1) -> Array<Character>

    Parameters

    group

    EmojiGroup type. List can be found at Croc.groupTypes

    limit

    Optional limit for the number of emojis to be returned

    Return Value

    A list of matched emojis