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.Version
1.2.2 *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 aKNContactBook
.Version
1.0.0Declaration
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.
Version
1.0.0Declaration
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.Version
1.2.3Declaration
Swift
public struct KNDatesUtils