Documentation Archive Developer
Search

CryptoTokenKit Changes for Swift

CryptoTokenKit

Declaration
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: 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 }
}

Declaration
From
func interfaceGroupForProtocol(_ `protocol`: TKSmartCardProtocol) -> TKSmartCardATRInterfaceGroup?
To
func interfaceGroupForProtocol(_ protocol: TKSmartCardProtocol) -> TKSmartCardATRInterfaceGroup?