TKPermissionManager

public protocol TKPermissionManager

Undocumented

  • Undocumented

    Declaration

    Swift

    var openSettingsHandler: (() -> Void)? { get set }
  • authorizationRestrictionsApply Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var authorizationRestrictionsApply: Bool { get }
  • featureIsAvailable Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var featureIsAvailable: Bool { get }
  • Undocumented

    Declaration

    Swift

    var authorizationStatus: TKAuthorizationStatus { get }
  • Undocumented

    Declaration

    Swift

    var authorizationAlertText: String { get }
  • Undocumented

    Declaration

    Swift

    func askForPermission(_ completion: @escaping (Bool) -> Void)
  • Undocumented

    Declaration

    Swift

    public func tryAuthorization(sender: Any? = nil, in controller: UIViewController, completion: @escaping (Bool) -> Void)
  • Undocumented

    Declaration

    Swift

    public func showAuthorizationAlert(sender: Any? = nil, in controller: UIViewController)
  • isAuthorized Extension method

    Undocumented

    Declaration

    Swift

    public var isAuthorized: Bool { get }