Documentation Archive Developer
Search

ExternalAccessory Changes for Swift

ExternalAccessory

Modified EAAccessory
DeclarationProtocols
From
class EAAccessory : NSObject {
    var connected: Bool { get }
    var connectionID: Int { get }
    var manufacturer: String { get }
    var name: String { get }
    var modelNumber: String { get }
    var serialNumber: String { get }
    var firmwareRevision: String { get }
    var hardwareRevision: String { get }
    var dockType: String { get }
    var protocolStrings: [String] { get }
    unowned(unsafe) var delegate: EAAccessoryDelegate?
}
--
To
class EAAccessory : NSObject {
    var isConnected: Bool { get }
    var connectionID: Int { get }
    var manufacturer: String { get }
    var name: String { get }
    var modelNumber: String { get }
    var serialNumber: String { get }
    var firmwareRevision: String { get }
    var hardwareRevision: String { get }
    var dockType: String { get }
    var protocolStrings: [String] { get }
    unowned(unsafe) var delegate: EAAccessoryDelegate?
    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 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 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 version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension EAAccessory : CVarArg {
}
extension EAAccessory : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var connected: Bool { get }
To
var isConnected: Bool { get }

DeclarationProtocols
From
class EAAccessoryManager : NSObject {
    class func sharedAccessoryManager() -> EAAccessoryManager
    func showBluetoothAccessoryPickerWithNameFilter(_ predicate: NSPredicate?, completion completion: EABluetoothAccessoryPickerCompletion?)
    func registerForLocalNotifications()
    func unregisterForLocalNotifications()
    var connectedAccessories: [EAAccessory] { get }
}
--
To
class EAAccessoryManager : NSObject {
    class func shared() -> EAAccessoryManager
    func showBluetoothAccessoryPicker(withNameFilter predicate: NSPredicate?, completion completion: ExternalAccessory.EABluetoothAccessoryPickerCompletion? = nil)
    func registerForLocalNotifications()
    func unregisterForLocalNotifications()
    var connectedAccessories: [EAAccessory] { get }
    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 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 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 version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension EAAccessoryManager : CVarArg {
}
extension EAAccessoryManager : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
class func sharedAccessoryManager() -> EAAccessoryManager
To
class func shared() -> EAAccessoryManager

Declaration
From
func showBluetoothAccessoryPickerWithNameFilter(_ predicate: NSPredicate?, completion completion: EABluetoothAccessoryPickerCompletion?)
To
func showBluetoothAccessoryPicker(withNameFilter predicate: NSPredicate?, completion completion: ExternalAccessory.EABluetoothAccessoryPickerCompletion? = nil)

Declaration
From
enum EABluetoothAccessoryPickerErrorCode : Int {
    case AlreadyConnected
    case ResultNotFound
    case ResultCancelled
    case ResultFailed
}
To
enum Code : Int {
        typealias _ErrorType = EABluetoothAccessoryPickerError
        case alreadyConnected
        case resultNotFound
        case resultCancelled
        case resultFailed
    }

Declaration
From
case AlreadyConnected
To
case alreadyConnected

Declaration
From
case ResultCancelled
To
case resultCancelled

Declaration
From
case ResultFailed
To
case resultFailed

Declaration
From
case ResultNotFound
To
case resultNotFound

Modified EASession
DeclarationProtocols
From
class EASession : NSObject {
    init(accessory accessory: EAAccessory, forProtocol protocolString: String)
    var accessory: EAAccessory { get }
    var protocolString: String { get }
    var inputStream: NSInputStream? { get }
    var outputStream: NSOutputStream? { get }
}
--
To
class EASession : NSObject {
    init(accessory accessory: EAAccessory, forProtocol protocolString: String)
    var accessory: EAAccessory { get }
    var protocolString: String { get }
    var inputStream: InputStream? { get }
    var outputStream: OutputStream? { get }
    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 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 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 version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension EASession : CVarArg {
}
extension EASession : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var inputStream: NSInputStream? { get }
To
var inputStream: InputStream? { get }

Declaration
From
var outputStream: NSOutputStream? { get }
To
var outputStream: OutputStream? { get }

DeclarationProtocols
From
class EAWiFiUnconfiguredAccessory : NSObject {
    var name: String { get }
    var manufacturer: String { get }
    var model: String { get }
    var ssid: String { get }
    var macAddress: String { get }
    var properties: EAWiFiUnconfiguredAccessoryProperties { get }
}
--
To
class EAWiFiUnconfiguredAccessory : NSObject {
    var name: String { get }
    var manufacturer: String { get }
    var model: String { get }
    var ssid: String { get }
    var macAddress: String { get }
    var properties: EAWiFiUnconfiguredAccessoryProperties { get }
    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 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 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 version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension EAWiFiUnconfiguredAccessory : CVarArg {
}
extension EAWiFiUnconfiguredAccessory : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

DeclarationProtocols
From
class EAWiFiUnconfiguredAccessoryBrowser : NSObject {
    weak var delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate?
    var unconfiguredAccessories: Set<EAWiFiUnconfiguredAccessory> { get }
    init(delegate delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate?, queue queue: dispatch_queue_t?)
    func startSearchingForUnconfiguredAccessoriesMatchingPredicate(_ predicate: NSPredicate?)
    func stopSearchingForUnconfiguredAccessories()
    func configureAccessory(_ accessory: EAWiFiUnconfiguredAccessory, withConfigurationUIOnViewController viewController: UIViewController)
}
--
To
class EAWiFiUnconfiguredAccessoryBrowser : NSObject {
    weak var delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate?
    var unconfiguredAccessories: Set<EAWiFiUnconfiguredAccessory> { get }
    init(delegate delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate?, queue queue: DispatchQueue?)
    func startSearchingForUnconfiguredAccessories(matching predicate: NSPredicate?)
    func stopSearchingForUnconfiguredAccessories()
    func configureAccessory(_ accessory: EAWiFiUnconfiguredAccessory, withConfigurationUIOn viewController: UIViewController)
    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 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 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 version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension EAWiFiUnconfiguredAccessoryBrowser : CVarArg {
}
extension EAWiFiUnconfiguredAccessoryBrowser : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
func configureAccessory(_ accessory: EAWiFiUnconfiguredAccessory, withConfigurationUIOnViewController viewController: UIViewController)
To
func configureAccessory(_ accessory: EAWiFiUnconfiguredAccessory, withConfigurationUIOn viewController: UIViewController)

Declaration
From
init(delegate delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate?, queue queue: dispatch_queue_t?)
To
init(delegate delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate?, queue queue: DispatchQueue?)

Declaration
From
func startSearchingForUnconfiguredAccessoriesMatchingPredicate(_ predicate: NSPredicate?)
To
func startSearchingForUnconfiguredAccessories(matching predicate: NSPredicate?)

Declaration
From
protocol EAWiFiUnconfiguredAccessoryBrowserDelegate : NSObjectProtocol {
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didUpdateState state: EAWiFiUnconfiguredAccessoryBrowserState)
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didFindUnconfiguredAccessories accessories: Set<EAWiFiUnconfiguredAccessory>)
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didRemoveUnconfiguredAccessories accessories: Set<EAWiFiUnconfiguredAccessory>)
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didFinishConfiguringAccessory accessory: EAWiFiUnconfiguredAccessory, withStatus status: EAWiFiUnconfiguredAccessoryConfigurationStatus)
}
To
protocol EAWiFiUnconfiguredAccessoryBrowserDelegate : NSObjectProtocol {
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didUpdate state: EAWiFiUnconfiguredAccessoryBrowserState)
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didFindUnconfiguredAccessories accessories: Set<EAWiFiUnconfiguredAccessory>)
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didRemoveUnconfiguredAccessories accessories: Set<EAWiFiUnconfiguredAccessory>)
    func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didFinishConfiguringAccessory accessory: EAWiFiUnconfiguredAccessory, with status: EAWiFiUnconfiguredAccessoryConfigurationStatus)
}

Declaration
From
func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didFinishConfiguringAccessory accessory: EAWiFiUnconfiguredAccessory, withStatus status: EAWiFiUnconfiguredAccessoryConfigurationStatus)
To
func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didFinishConfiguringAccessory accessory: EAWiFiUnconfiguredAccessory, with status: EAWiFiUnconfiguredAccessoryConfigurationStatus)

Declaration
From
func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didUpdateState state: EAWiFiUnconfiguredAccessoryBrowserState)
To
func accessoryBrowser(_ browser: EAWiFiUnconfiguredAccessoryBrowser, didUpdate state: EAWiFiUnconfiguredAccessoryBrowserState)

Declaration
From
enum EAWiFiUnconfiguredAccessoryBrowserState : Int {
    case WiFiUnavailable
    case Stopped
    case Searching
    case Configuring
}
To
enum EAWiFiUnconfiguredAccessoryBrowserState : Int {
    case wiFiUnavailable
    case stopped
    case searching
    case configuring
}

Declaration
From
case Configuring
To
case configuring

Declaration
From
case Searching
To
case searching

Declaration
From
case Stopped
To
case stopped

Declaration
From
case WiFiUnavailable
To
case wiFiUnavailable

Declaration
From
enum EAWiFiUnconfiguredAccessoryConfigurationStatus : Int {
    case Success
    case UserCancelledConfiguration
    case Failed
}
To
enum EAWiFiUnconfiguredAccessoryConfigurationStatus : Int {
    case success
    case userCancelledConfiguration
    case failed
}

Declaration
From
case Failed
To
case failed

Declaration
From
case Success
To
case success

Declaration
From
case UserCancelledConfiguration
To
case userCancelledConfiguration

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

Declaration
From
static var PropertySupportsAirPlay: EAWiFiUnconfiguredAccessoryProperties { get }
To
static var propertySupportsAirPlay: EAWiFiUnconfiguredAccessoryProperties { get }

Declaration
From
static var PropertySupportsAirPrint: EAWiFiUnconfiguredAccessoryProperties { get }
To
static var propertySupportsAirPrint: EAWiFiUnconfiguredAccessoryProperties { get }

Declaration
From
static var PropertySupportsHomeKit: EAWiFiUnconfiguredAccessoryProperties { get }
To
static var propertySupportsHomeKit: EAWiFiUnconfiguredAccessoryProperties { get }

NameDeclaration
FromEAAccessoryDidConnectNotification
let EAAccessoryDidConnectNotification: String
ToEAAccessoryDidConnect
static let EAAccessoryDidConnect: NSNotification.Name

NameDeclaration
FromEAAccessoryDidDisconnectNotification
let EAAccessoryDidDisconnectNotification: String
ToEAAccessoryDidDisconnect
static let EAAccessoryDidDisconnect: NSNotification.Name

Declaration
From
typealias EABluetoothAccessoryPickerCompletion = (NSError?) -> Void
To
typealias EABluetoothAccessoryPickerCompletion = (Error?) -> Swift.Void