TKContactsManager
public class TKContactsManager : NSObject, TKPermissionManager
extension TKContactsManager: TKAutocompleting
extension TKContactsManager: TKGeocoding
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum AddressKind
-
Undocumented
See moreDeclaration
Swift
public struct ContactAddress : Hashable
-
Undocumented
Declaration
Swift
@objc(sharedInstance) public static let shared: TKContactsManager
-
Undocumented
Declaration
Swift
public var openSettingsHandler: (() -> Void)?
-
Undocumented
Declaration
Swift
public func fetchContacts(searchString: String, kind: AddressKind? = nil) throws -> [ContactAddress]
-
Undocumented
Declaration
Swift
public func fetchMyLocations(limitTo kind: AddressKind? = nil) throws -> [ContactAddress]
-
Undocumented
Declaration
Swift
public func askForPermission(_ completion: @escaping (Bool) -> Void)
-
Undocumented
Declaration
Swift
public var authorizationStatus: TKAuthorizationStatus { get }
-
Undocumented
Declaration
Swift
public var authorizationAlertText: String { get }
-
Undocumented
Declaration
Swift
public var allowLocationInfoButton: Bool { get }
-
Declaration
Swift
public func autocomplete(_ input: String, near mapRect: MKMapRect, completion: @escaping (Result<[TKAutocompletionResult], Error>) -> Void)
-
Declaration
Swift
public func annotation(for result: TKAutocompletionResult, completion: @escaping (Result<MKAnnotation?, Error>) -> Void)
-
Declaration
Swift
@objc public func additionalActionTitle() -> String?
-
Undocumented
Declaration
Swift
public func triggerAdditional(presenter: UIViewController, completion: @escaping (Bool) -> Void)
-
Declaration
Swift
public func geocode(_ input: String, near mapRect: MKMapRect, completion: @escaping (Result<[TKNamedCoordinate], Error>) -> Void)