Structures

The following structures are available globally.

  • KNContact class is a wrapper class which gives quick access to helper methods for a CNContact, like their full name, birthday and age information, first email address or phone number.

    Author

    dragosrobertn

    Version

    1.2.2 *
    See more

    Declaration

    Swift

    public struct KNContact
    extension KNContact: Hashable
    extension KNContact: Comparable
    extension KNContact: Equatable
  • Helper struct with helper closures to help with sorting contacts either in a collection of KNContact objects or a KNContactBook.

    Author

    dragosrobertn

    Version

    1.0.0
    See more

    Declaration

    Swift

    public struct KNContactBookOrdering
  • A collection of contact identifier strings grouped by a time format to create contact schedules. Can be used for persisting the IDs to a store or to User Defaults.

    Author

    dragosrobertn

    Version

    1.0.0
    See more

    Declaration

    Swift

    public struct KNContactsSchedule
  • Helper struct which returns date formatters or formatted strings by using the formet formatter. The format can be either a valid date format string or a KNTimeFormat enum value.

    Author

    dragosrobertn

    Version

    1.2.3
    See more

    Declaration

    Swift

    public struct KNDatesUtils