Documentation Archive Developer
Search

CryptoTokenKit Changes for Swift

CryptoTokenKit

Added TKError.init(_nsError: NSError)
Added TKToken
Added TKTLVTag
Declaration
From
enum TKErrorCode : Int {
    case NotImplemented
    case CommunicationError
    case CorruptedData
    case CanceledByUser
    case AuthenticationFailed
    case ObjectNotFound
    case TokenNotFound
    case BadParameter
    static var TKErrorAuthenticationFailed: TKErrorCode { get }
    static var TKErrorObjectNotFound: TKErrorCode { get }
    static var TKErrorTokenNotFound: TKErrorCode { get }
}
To
enum Code : Int {
        typealias _ErrorType = TKError
        case notImplemented
        case communicationError
        case corruptedData
        case canceledByUser
        case authenticationFailed
        case objectNotFound
        case tokenNotFound
        case badParameter
        case authenticationNeeded
        static var TKErrorAuthenticationFailed: TKError.Code { get }
        static var TKErrorObjectNotFound: TKError.Code { get }
        static var TKErrorTokenNotFound: TKError.Code { get }
    }

Declaration
From
case AuthenticationFailed
To
case authenticationFailed

Declaration
From
case BadParameter
To
case badParameter

Declaration
From
case CanceledByUser
To
case canceledByUser

Declaration
From
case CommunicationError
To
case communicationError

Declaration
From
case CorruptedData
To
case corruptedData

Declaration
From
case NotImplemented
To
case notImplemented

Declaration
From
case ObjectNotFound
To
case objectNotFound

Declaration
From
case TokenNotFound
To
case tokenNotFound

Modified TKSmartCard
DeclarationProtocols
From
class TKSmartCard : NSObject {
    var slot: TKSmartCardSlot { get }
    var valid: Bool { get }
    var allowedProtocols: TKSmartCardProtocol
    var currentProtocol: TKSmartCardProtocol { get }
    var sensitive: Bool
    var context: AnyObject?
    func beginSessionWithReply(_ reply: (Bool, NSError?) -> Void)
    func transmitRequest(_ request: NSData, reply reply: (NSData?, NSError?) -> Void)
    func endSession()
    func userInteractionForSecurePINVerificationWithPINFormat(_ PINFormat: TKSmartCardPINFormat, APDU APDU: NSData, PINByteOffset PINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINVerification?
    func userInteractionForSecurePINChangeWithPINFormat(_ PINFormat: TKSmartCardPINFormat, APDU APDU: NSData, currentPINByteOffset currentPINByteOffset: Int, newPINByteOffset newPINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINChange?
}
extension TKSmartCard {
    var cla: UInt8
    var useExtendedLength: Bool
    func sendIns(_ ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data requestData: NSData?, le le: NSNumber?, reply reply: (NSData?, UInt16, NSError?) -> Void)
}
--
To
class TKSmartCard : NSObject {
    var slot: TKSmartCardSlot { get }
    var isValid: Bool { get }
    var allowedProtocols: TKSmartCardProtocol
    var currentProtocol: TKSmartCardProtocol { get }
    var isSensitive: Bool
    var context: Any?
    func beginSession(reply reply: @escaping (Bool, Error?) -> Swift.Void)
    func transmit(_ request: Data, reply reply: @escaping (Data?, Error?) -> Swift.Void)
    func endSession()
    func userInteractionForSecurePINVerification(_ PINFormat: TKSmartCardPINFormat, apdu APDU: Data, pinByteOffset PINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINVerification?
    func userInteractionForSecurePINChange(_ PINFormat: TKSmartCardPINFormat, apdu APDU: Data, currentPINByteOffset currentPINByteOffset: Int, newPINByteOffset newPINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINChange?
    func send(ins ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data data: Data? = default, le le: Int? = default, reply reply: @escaping (Data?, UInt16, Error?) -> Swift.Void)
    func send(ins ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data data: Data? = default, le le: Int? = default) throws -> (sw: UInt16, response: Data)
    func withSession<T>(_ body: @escaping () throws -> T) throws -> T
    var cla: UInt8
    var useExtendedLength: Bool
    var useCommandChaining: Bool
    func __sendIns(_ ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data requestData: Data?, le le: NSNumber?, reply reply: @escaping (Data?, UInt16, Error?) -> Swift.Void)
    func __inSession(executeBlock block: @escaping (NSErrorPointer) -> Bool) throws
    func __sendIns(_ ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data requestData: Data?, le le: NSNumber?, sw sw: UnsafeMutablePointer<UInt16>) throws -> Data
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension TKSmartCard : CVarArg {
}
extension TKSmartCard : Equatable, Hashable {
    var hashValue: Int { get }
}
extension TKSmartCard {
    var cla: UInt8
    var useExtendedLength: Bool
    var useCommandChaining: Bool
    func __sendIns(_ ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data requestData: Data?, le le: NSNumber?, reply reply: @escaping (Data?, UInt16, Error?) -> Swift.Void)
    func __inSession(executeBlock block: @escaping (NSErrorPointer) -> Bool) throws
    func __sendIns(_ ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data requestData: Data?, le le: NSNumber?, sw sw: UnsafeMutablePointer<UInt16>) throws -> Data
}
extension TKSmartCard {
    func send(ins ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data data: Data? = default, le le: Int? = default, reply reply: @escaping (Data?, UInt16, Error?) -> Swift.Void)
    func send(ins ins: UInt8, p1 p1: UInt8, p2 p2: UInt8, data data: Data? = default, le le: Int? = default) throws -> (sw: UInt16, response: Data)
    func withSession<T>(_ body: @escaping () throws -> T) throws -> T
}
CVarArg, Equatable, Hashable

Declaration
From
func beginSessionWithReply(_ reply: (Bool, NSError?) -> Void)
To
func beginSession(reply reply: @escaping (Bool, Error?) -> Swift.Void)

Declaration
From
var context: AnyObject?
To
var context: Any?

Declaration
From
var sensitive: Bool
To
var isSensitive: Bool

Declaration
From
var valid: Bool { get }
To
var isValid: Bool { get }

Declaration
From
func transmitRequest(_ request: NSData, reply reply: (NSData?, NSError?) -> Void)
To
func transmit(_ request: Data, reply reply: @escaping (Data?, Error?) -> Swift.Void)

Declaration
From
func userInteractionForSecurePINChangeWithPINFormat(_ PINFormat: TKSmartCardPINFormat, APDU APDU: NSData, currentPINByteOffset currentPINByteOffset: Int, newPINByteOffset newPINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINChange?
To
func userInteractionForSecurePINChange(_ PINFormat: TKSmartCardPINFormat, apdu APDU: Data, currentPINByteOffset currentPINByteOffset: Int, newPINByteOffset newPINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINChange?

Declaration
From
func userInteractionForSecurePINVerificationWithPINFormat(_ PINFormat: TKSmartCardPINFormat, APDU APDU: NSData, PINByteOffset PINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINVerification?
To
func userInteractionForSecurePINVerification(_ PINFormat: TKSmartCardPINFormat, apdu APDU: Data, pinByteOffset PINByteOffset: Int) -> TKSmartCardUserInteractionForSecurePINVerification?

DeclarationProtocols
From
class TKSmartCardATR : NSObject {
    init?(bytes bytes: NSData)
    init?(source source: () -> Int32)
    var bytes: NSData { get }
    var protocols: [NSNumber] { get }
    func interfaceGroupAtIndex(_ index: Int) -> TKSmartCardATRInterfaceGroup?
    func interfaceGroupForProtocol(_ protocol: TKSmartCardProtocol) -> TKSmartCardATRInterfaceGroup?
    var historicalBytes: NSData { get }
}
--
To
class TKSmartCardATR : NSObject {
    init?(bytes bytes: Data)
    init?(source source: @escaping () -> Int32)
    var bytes: Data { get }
    var protocols: [NSNumber] { get }
    func interfaceGroup(at index: Int) -> TKSmartCardATR.InterfaceGroup?
    func interfaceGroup(for protocol: TKSmartCardProtocol) -> TKSmartCardATR.InterfaceGroup?
    var historicalBytes: Data { get }
    var historicalRecords: [TKCompactTLVRecord]? { get }
    class InterfaceGroup : NSObject {
        var ta: NSNumber? { get }
        var tb: NSNumber? { get }
        var tc: NSNumber? { get }
        var `protocol`: NSNumber? { get }
    }
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension TKSmartCardATR {
    class InterfaceGroup : NSObject {
        var ta: NSNumber? { get }
        var tb: NSNumber? { get }
        var tc: NSNumber? { get }
        var `protocol`: NSNumber? { get }
    }
}
extension TKSmartCardATR : CVarArg {
}
extension TKSmartCardATR : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var bytes: NSData { get }
To
var bytes: Data { get }

Declaration
From
var historicalBytes: NSData { get }
To
var historicalBytes: Data { get }

Declaration
From
init?(bytes bytes: NSData)
To
init?(bytes bytes: Data)

Declaration
From
init?(source source: () -> Int32)
To
init?(source source: @escaping () -> Int32)

Declaration
From
func interfaceGroupAtIndex(_ index: Int) -> TKSmartCardATRInterfaceGroup?
To
func interfaceGroup(at index: Int) -> TKSmartCardATR.InterfaceGroup?

Declaration
From
func interfaceGroupForProtocol(_ protocol: TKSmartCardProtocol) -> TKSmartCardATRInterfaceGroup?
To
func interfaceGroup(for protocol: TKSmartCardProtocol) -> TKSmartCardATR.InterfaceGroup?

DeclarationProtocols
From
class TKSmartCardATRInterfaceGroup : NSObject {
    var TA: NSNumber? { get }
    var TB: NSNumber? { get }
    var TC: NSNumber? { get }
    var `protocol`: NSNumber? { get }
}
--
To
class InterfaceGroup : NSObject {
        var ta: NSNumber? { get }
        var tb: NSNumber? { get }
        var tc: NSNumber? { get }
        var `protocol`: NSNumber? { get }
    }
extension TKSmartCardATR.InterfaceGroup {
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension TKSmartCardATR.InterfaceGroup : CVarArg {
}
extension TKSmartCardATR.InterfaceGroup : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var TA: NSNumber? { get }
To
var ta: NSNumber? { get }

Declaration
From
var TB: NSNumber? { get }
To
var tb: NSNumber? { get }

Declaration
From
var TC: NSNumber? { get }
To
var tc: NSNumber? { get }

DeclarationProtocols
From
class TKSmartCardPINFormat : NSObject {
    var charset: TKSmartCardPINCharset
    var encoding: TKSmartCardPINEncoding
    var minPINLength: Int
    var maxPINLength: Int
    var PINBlockByteLength: Int
    var PINJustification: TKSmartCardPINJustification
    var PINBitOffset: Int
    var PINLengthBitOffset: Int
    var PINLengthBitSize: Int
}
--
To
class TKSmartCardPINFormat : NSObject {
    var charset: TKSmartCardPINFormat.Charset
    var encoding: TKSmartCardPINFormat.Encoding
    var minPINLength: Int
    var maxPINLength: Int
    var pinBlockByteLength: Int
    var pinJustification: TKSmartCardPINFormat.Justification
    var pinBitOffset: Int
    var pinLengthBitOffset: Int
    var pinLengthBitSize: Int
    enum Charset : Int {
        case numeric
        case alphanumeric
        case upperAlphanumeric
    }
    enum Encoding : Int {
        case binary
        case ascii
        case bcd
    }
    enum Justification : Int {
        case left
        case right
    }
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension TKSmartCardPINFormat {
    enum Charset : Int {
        case numeric
        case alphanumeric
        case upperAlphanumeric
    }
    enum Encoding : Int {
        case binary
        case ascii
        case bcd
    }
    enum Justification : Int {
        case left
        case right
    }
}
extension TKSmartCardPINFormat : CVarArg {
}
extension TKSmartCardPINFormat : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var charset: TKSmartCardPINCharset
To
var charset: TKSmartCardPINFormat.Charset

Declaration
From
var encoding: TKSmartCardPINEncoding
To
var encoding: TKSmartCardPINFormat.Encoding

Declaration
From
var PINBitOffset: Int
To
var pinBitOffset: Int

Declaration
From
var PINBlockByteLength: Int
To
var pinBlockByteLength: Int

Declaration
From
var PINJustification: TKSmartCardPINJustification
To
var pinJustification: TKSmartCardPINFormat.Justification

Declaration
From
var PINLengthBitOffset: Int
To
var pinLengthBitOffset: Int

Declaration
From
var PINLengthBitSize: Int
To
var pinLengthBitSize: Int

Declaration
From
enum TKSmartCardPINCharset : Int {
    case Numeric
    case Alphanumeric
    case UpperAlphanumeric
}
To
enum Charset : Int {
        case numeric
        case alphanumeric
        case upperAlphanumeric
    }

Declaration
From
case Alphanumeric
To
case alphanumeric

Declaration
From
case Numeric
To
case numeric

Declaration
From
case UpperAlphanumeric
To
case upperAlphanumeric

Declaration
From
enum TKSmartCardPINEncoding : Int {
    case Binary
    case ASCII
    case BCD
}
To
enum Encoding : Int {
        case binary
        case ascii
        case bcd
    }

NameDeclaration
FromASCII
case ASCII
Toascii
case ascii

NameDeclaration
FromBCD
case BCD
Tobcd
case bcd

Declaration
From
case Binary
To
case binary

Declaration
From
enum TKSmartCardPINJustification : Int {
    case Left
    case Right
}
To
enum Justification : Int {
        case left
        case right
    }

Declaration
From
case Left
To
case left

Declaration
From
case Right
To
case right

DeclarationProtocols
From
struct TKSmartCardProtocol : OptionSetType {
    init(rawValue rawValue: UInt)
    static var None: TKSmartCardProtocol { get }
    static var T0: TKSmartCardProtocol { get }
    static var T1: TKSmartCardProtocol { get }
    static var T15: TKSmartCardProtocol { get }
    static var Any: TKSmartCardProtocol { get }
}
OptionSetType
To
struct TKSmartCardProtocol : OptionSet {
    init(rawValue rawValue: UInt)
    static var none: TKSmartCardProtocol { get }
    static var t0: TKSmartCardProtocol { get }
    static var t1: TKSmartCardProtocol { get }
    static var t15: TKSmartCardProtocol { get }
    static var any: TKSmartCardProtocol { get }
    func intersect(_ other: TKSmartCardProtocol) -> TKSmartCardProtocol
    func exclusiveOr(_ other: TKSmartCardProtocol) -> TKSmartCardProtocol
    mutating func unionInPlace(_ other: TKSmartCardProtocol)
    mutating func intersectInPlace(_ other: TKSmartCardProtocol)
    mutating func exclusiveOrInPlace(_ other: TKSmartCardProtocol)
    func isSubsetOf(_ other: TKSmartCardProtocol) -> Bool
    func isDisjointWith(_ other: TKSmartCardProtocol) -> Bool
    func isSupersetOf(_ other: TKSmartCardProtocol) -> Bool
    mutating func subtractInPlace(_ other: TKSmartCardProtocol)
    func isStrictSupersetOf(_ other: TKSmartCardProtocol) -> Bool
    func isStrictSubsetOf(_ other: TKSmartCardProtocol) -> Bool
}
extension TKSmartCardProtocol {
    func union(_ other: TKSmartCardProtocol) -> TKSmartCardProtocol
    func intersection(_ other: TKSmartCardProtocol) -> TKSmartCardProtocol
    func symmetricDifference(_ other: TKSmartCardProtocol) -> TKSmartCardProtocol
}
extension TKSmartCardProtocol {
    func contains(_ member: TKSmartCardProtocol) -> Bool
    mutating func insert(_ newMember: TKSmartCardProtocol) -> (inserted: Bool, memberAfterInsert: TKSmartCardProtocol)
    mutating func remove(_ member: TKSmartCardProtocol) -> TKSmartCardProtocol?
    mutating func update(with newMember: TKSmartCardProtocol) -> TKSmartCardProtocol?
}
extension TKSmartCardProtocol {
    convenience init()
    mutating func formUnion(_ other: TKSmartCardProtocol)
    mutating func formIntersection(_ other: TKSmartCardProtocol)
    mutating func formSymmetricDifference(_ other: TKSmartCardProtocol)
}
extension TKSmartCardProtocol {
    convenience init<S : Sequence where S.Iterator.Element == TKSmartCardProtocol>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: TKSmartCardProtocol...)
    mutating func subtract(_ other: TKSmartCardProtocol)
    func isSubset(of other: TKSmartCardProtocol) -> Bool
    func isSuperset(of other: TKSmartCardProtocol) -> Bool
    func isDisjoint(with other: TKSmartCardProtocol) -> Bool
    func subtracting(_ other: TKSmartCardProtocol) -> TKSmartCardProtocol
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: TKSmartCardProtocol) -> Bool
    func isStrictSubset(of other: TKSmartCardProtocol) -> Bool
}
OptionSet

Declaration
From
static var Any: TKSmartCardProtocol { get }
To
static var any: TKSmartCardProtocol { get }

Declaration
From
static var T0: TKSmartCardProtocol { get }
To
static var t0: TKSmartCardProtocol { get }

Declaration
From
static var T1: TKSmartCardProtocol { get }
To
static var t1: TKSmartCardProtocol { get }

Declaration
From
static var T15: TKSmartCardProtocol { get }
To
static var t15: TKSmartCardProtocol { get }

DeclarationProtocols
From
class TKSmartCardSlot : NSObject {
    var state: TKSmartCardSlotState { get }
    var ATR: TKSmartCardATR? { get }
    var name: String { get }
    var maxInputLength: Int { get }
    var maxOutputLength: Int { get }
    func makeSmartCard() -> TKSmartCard?
}
--
To
class TKSmartCardSlot : NSObject {
    var state: TKSmartCardSlot.State { get }
    var atr: TKSmartCardATR? { get }
    var name: String { get }
    var maxInputLength: Int { get }
    var maxOutputLength: Int { get }
    func makeSmartCard() -> TKSmartCard?
    enum State : Int {
        case missing
        case empty
        case probing
        case muteCard
        case validCard
    }
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension TKSmartCardSlot {
    enum State : Int {
        case missing
        case empty
        case probing
        case muteCard
        case validCard
    }
}
extension TKSmartCardSlot : CVarArg {
}
extension TKSmartCardSlot : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var ATR: TKSmartCardATR? { get }
To
var atr: TKSmartCardATR? { get }

Declaration
From
var state: TKSmartCardSlotState { get }
To
var state: TKSmartCardSlot.State { get }

Declaration
From
enum TKSmartCardSlotState : Int {
    case Missing
    case Empty
    case Probing
    case MuteCard
    case ValidCard
}
To
enum State : Int {
        case missing
        case empty
        case probing
        case muteCard
        case validCard
    }

Declaration
From
case Empty
To
case empty

Declaration
From
case Missing
To
case missing

Declaration
From
case MuteCard
To
case muteCard

Declaration
From
case Probing
To
case probing

Declaration
From
case ValidCard
To
case validCard

DeclarationProtocols
From
class TKSmartCardSlotManager : NSObject {
    class func defaultManager() -> Self?
    var slotNames: [String] { get }
    func getSlotWithName(_ name: String, reply reply: (TKSmartCardSlot?) -> Void)
}
--
To
class TKSmartCardSlotManager : NSObject {
    class var `default`: TKSmartCardSlotManager? { get }
    var slotNames: [String] { get }
    func getSlot(withName name: String, reply reply: @escaping (TKSmartCardSlot?) -> Swift.Void)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension TKSmartCardSlotManager : CVarArg {
}
extension TKSmartCardSlotManager : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
func getSlotWithName(_ name: String, reply reply: (TKSmartCardSlot?) -> Void)
To
func getSlot(withName name: String, reply reply: @escaping (TKSmartCardSlot?) -> Swift.Void)

DeclarationProtocols
From
class TKSmartCardUserInteraction : NSObject {
    weak var delegate: TKSmartCardUserInteractionDelegate?
    var initialTimeout: NSTimeInterval
    var interactionTimeout: NSTimeInterval
    func runWithReply(_ reply: (Bool, NSError?) -> Void)
    func cancel() -> Bool
}
--
To
class TKSmartCardUserInteraction : NSObject {
    weak var delegate: TKSmartCardUserInteractionDelegate?
    var initialTimeout: TimeInterval
    var interactionTimeout: TimeInterval
    func run(reply reply: @escaping (Bool, Error?) -> Swift.Void)
    func cancel() -> Bool
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension TKSmartCardUserInteraction : CVarArg {
}
extension TKSmartCardUserInteraction : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var initialTimeout: NSTimeInterval
To
var initialTimeout: TimeInterval

Declaration
From
var interactionTimeout: NSTimeInterval
To
var interactionTimeout: TimeInterval

Declaration
From
func runWithReply(_ reply: (Bool, NSError?) -> Void)
To
func run(reply reply: @escaping (Bool, Error?) -> Swift.Void)

Declaration
From
protocol TKSmartCardUserInteractionDelegate {
    optional func characterEnteredInUserInteraction(_ interaction: TKSmartCardUserInteraction)
    optional func correctionKeyPressedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
    optional func validationKeyPressedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
    optional func invalidCharacterEnteredInUserInteraction(_ interaction: TKSmartCardUserInteraction)
    optional func oldPINRequestedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
    optional func newPINRequestedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
    optional func newPINConfirmationRequestedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
}
To
protocol TKSmartCardUserInteractionDelegate {
    optional func characterEntered(in interaction: TKSmartCardUserInteraction)
    optional func correctionKeyPressed(in interaction: TKSmartCardUserInteraction)
    optional func validationKeyPressed(in interaction: TKSmartCardUserInteraction)
    optional func invalidCharacterEntered(in interaction: TKSmartCardUserInteraction)
    optional func oldPINRequested(in interaction: TKSmartCardUserInteraction)
    optional func newPINRequested(in interaction: TKSmartCardUserInteraction)
    optional func newPINConfirmationRequested(in interaction: TKSmartCardUserInteraction)
}

Declaration
From
optional func characterEnteredInUserInteraction(_ interaction: TKSmartCardUserInteraction)
To
optional func characterEntered(in interaction: TKSmartCardUserInteraction)

Declaration
From
optional func correctionKeyPressedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
To
optional func correctionKeyPressed(in interaction: TKSmartCardUserInteraction)

Declaration
From
optional func invalidCharacterEnteredInUserInteraction(_ interaction: TKSmartCardUserInteraction)
To
optional func invalidCharacterEntered(in interaction: TKSmartCardUserInteraction)

Declaration
From
optional func newPINConfirmationRequestedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
To
optional func newPINConfirmationRequested(in interaction: TKSmartCardUserInteraction)

Declaration
From
optional func newPINRequestedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
To
optional func newPINRequested(in interaction: TKSmartCardUserInteraction)

Declaration
From
optional func oldPINRequestedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
To
optional func oldPINRequested(in interaction: TKSmartCardUserInteraction)

Declaration
From
optional func validationKeyPressedInUserInteraction(_ interaction: TKSmartCardUserInteraction)
To
optional func validationKeyPressed(in interaction: TKSmartCardUserInteraction)

Declaration
From
class TKSmartCardUserInteractionForPINOperation : TKSmartCardUserInteraction {
    var PINCompletion: TKSmartCardPINCompletion
    var PINMessageIndices: [NSNumber]?
    var locale: NSLocale!
    var resultSW: UInt16
    var resultData: NSData?
}
To
class TKSmartCardUserInteractionForPINOperation : TKSmartCardUserInteraction {
    var pinCompletion: TKSmartCardUserInteractionForPINOperation.Completion
    var pinMessageIndices: [NSNumber]?
    var locale: Locale!
    var resultSW: UInt16
    var resultData: Data?
    struct Completion : OptionSet {
        init(rawValue rawValue: UInt)
        static var maxLength: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var key: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var timeout: TKSmartCardUserInteractionForPINOperation.Completion { get }
    }
}
extension TKSmartCardUserInteractionForPINOperation {
    struct Completion : OptionSet {
        init(rawValue rawValue: UInt)
        static var maxLength: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var key: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var timeout: TKSmartCardUserInteractionForPINOperation.Completion { get }
    }
}

Declaration
From
var locale: NSLocale!
To
var locale: Locale!

Declaration
From
var PINCompletion: TKSmartCardPINCompletion
To
var pinCompletion: TKSmartCardUserInteractionForPINOperation.Completion

Declaration
From
var PINMessageIndices: [NSNumber]?
To
var pinMessageIndices: [NSNumber]?

Declaration
From
var resultData: NSData?
To
var resultData: Data?

DeclarationProtocols
From
struct TKSmartCardPINCompletion : OptionSetType {
    init(rawValue rawValue: UInt)
    static var MaxLength: TKSmartCardPINCompletion { get }
    static var Key: TKSmartCardPINCompletion { get }
    static var Timeout: TKSmartCardPINCompletion { get }
}
OptionSetType
To
struct Completion : OptionSet {
        init(rawValue rawValue: UInt)
        static var maxLength: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var key: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var timeout: TKSmartCardUserInteractionForPINOperation.Completion { get }
    }
extension TKSmartCardUserInteractionForPINOperation.Completion {
    func union(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion
    func intersection(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion
    func symmetricDifference(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion
}
extension TKSmartCardUserInteractionForPINOperation.Completion {
    func contains(_ member: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    mutating func insert(_ newMember: TKSmartCardUserInteractionForPINOperation.Completion) -> (inserted: Bool, memberAfterInsert: TKSmartCardUserInteractionForPINOperation.Completion)
    mutating func remove(_ member: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion?
    mutating func update(with newMember: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion?
}
extension TKSmartCardUserInteractionForPINOperation.Completion {
    convenience init()
    mutating func formUnion(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
    mutating func formIntersection(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
    mutating func formSymmetricDifference(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
}
extension TKSmartCardUserInteractionForPINOperation.Completion {
    convenience init<S : Sequence where S.Iterator.Element == TKSmartCardUserInteractionForPINOperation.Completion>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: TKSmartCardUserInteractionForPINOperation.Completion...)
    mutating func subtract(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
    func isSubset(of other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    func isSuperset(of other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    func isDisjoint(with other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    func subtracting(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    func isStrictSubset(of other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
}
extension TKSmartCardUserInteractionForPINOperation.Completion {
    func intersect(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion
    func exclusiveOr(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> TKSmartCardUserInteractionForPINOperation.Completion
    mutating func unionInPlace(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
    mutating func intersectInPlace(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
    mutating func exclusiveOrInPlace(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
    func isSubsetOf(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    func isDisjointWith(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    func isSupersetOf(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    mutating func subtractInPlace(_ other: TKSmartCardUserInteractionForPINOperation.Completion)
    func isStrictSupersetOf(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
    func isStrictSubsetOf(_ other: TKSmartCardUserInteractionForPINOperation.Completion) -> Bool
}
OptionSet

Declaration
From
static var Key: TKSmartCardPINCompletion { get }
To
static var key: TKSmartCardUserInteractionForPINOperation.Completion { get }

Declaration
From
static var MaxLength: TKSmartCardPINCompletion { get }
To
static var maxLength: TKSmartCardUserInteractionForPINOperation.Completion { get }

Declaration
From
static var Timeout: TKSmartCardPINCompletion { get }
To
static var timeout: TKSmartCardUserInteractionForPINOperation.Completion { get }

Declaration
From
class TKSmartCardUserInteractionForSecurePINChange : TKSmartCardUserInteractionForPINOperation {
    var PINConfirmation: TKSmartCardPINConfirmation
}
To
class TKSmartCardUserInteractionForSecurePINChange : TKSmartCardUserInteractionForPINOperation {
    var pinConfirmation: TKSmartCardUserInteractionForSecurePINChange.Confirmation
    struct Confirmation : OptionSet {
        init(rawValue rawValue: UInt)
        static var none: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
        static var new: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
        static var current: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
    }
    struct Completion : OptionSet {
        init(rawValue rawValue: UInt)
        static var maxLength: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var key: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var timeout: TKSmartCardUserInteractionForPINOperation.Completion { get }
    }
}
extension TKSmartCardUserInteractionForSecurePINChange {
    struct Confirmation : OptionSet {
        init(rawValue rawValue: UInt)
        static var none: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
        static var new: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
        static var current: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
    }
}

Declaration
From
var PINConfirmation: TKSmartCardPINConfirmation
To
var pinConfirmation: TKSmartCardUserInteractionForSecurePINChange.Confirmation

DeclarationProtocols
From
struct TKSmartCardPINConfirmation : OptionSetType {
    init(rawValue rawValue: UInt)
    static var None: TKSmartCardPINConfirmation { get }
    static var New: TKSmartCardPINConfirmation { get }
    static var Current: TKSmartCardPINConfirmation { get }
}
OptionSetType
To
struct Confirmation : OptionSet {
        init(rawValue rawValue: UInt)
        static var none: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
        static var new: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
        static var current: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }
    }
extension TKSmartCardUserInteractionForSecurePINChange.Confirmation {
    func union(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation
    func intersection(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation
    func symmetricDifference(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation
}
extension TKSmartCardUserInteractionForSecurePINChange.Confirmation {
    func contains(_ member: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    mutating func insert(_ newMember: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> (inserted: Bool, memberAfterInsert: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    mutating func remove(_ member: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation?
    mutating func update(with newMember: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation?
}
extension TKSmartCardUserInteractionForSecurePINChange.Confirmation {
    convenience init()
    mutating func formUnion(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    mutating func formIntersection(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    mutating func formSymmetricDifference(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
}
extension TKSmartCardUserInteractionForSecurePINChange.Confirmation {
    convenience init<S : Sequence where S.Iterator.Element == TKSmartCardUserInteractionForSecurePINChange.Confirmation>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: TKSmartCardUserInteractionForSecurePINChange.Confirmation...)
    mutating func subtract(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    func isSubset(of other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    func isSuperset(of other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    func isDisjoint(with other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    func subtracting(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    func isStrictSubset(of other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
}
extension TKSmartCardUserInteractionForSecurePINChange.Confirmation {
    func intersect(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation
    func exclusiveOr(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> TKSmartCardUserInteractionForSecurePINChange.Confirmation
    mutating func unionInPlace(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    mutating func intersectInPlace(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    mutating func exclusiveOrInPlace(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    func isSubsetOf(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    func isDisjointWith(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    func isSupersetOf(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    mutating func subtractInPlace(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation)
    func isStrictSupersetOf(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
    func isStrictSubsetOf(_ other: TKSmartCardUserInteractionForSecurePINChange.Confirmation) -> Bool
}
OptionSet

Declaration
From
static var Current: TKSmartCardPINConfirmation { get }
To
static var current: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }

Declaration
From
static var New: TKSmartCardPINConfirmation { get }
To
static var new: TKSmartCardUserInteractionForSecurePINChange.Confirmation { get }

Declaration
From
class TKSmartCardUserInteractionForSecurePINVerification : TKSmartCardUserInteractionForPINOperation {
}
To
class TKSmartCardUserInteractionForSecurePINVerification : TKSmartCardUserInteractionForPINOperation {
    struct Completion : OptionSet {
        init(rawValue rawValue: UInt)
        static var maxLength: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var key: TKSmartCardUserInteractionForPINOperation.Completion { get }
        static var timeout: TKSmartCardUserInteractionForPINOperation.Completion { get }
    }
}