CoreBluetooth Changes for Swift
CoreBluetooth
Added CBATTError [struct]
Added CBATTError.init(_nsError: NSError)
Added CBATTError.invalidHandle
Added CBATTError.invalidOffset
Added CBATTError.invalidPdu
Added CBATTError.success
Added CBATTError.unlikelyError
Added CBError [struct]
Added CBError.init(_nsError: NSError)
Added CBError.invalidHandle
Added CBError.maxConnection
Added CBError.notConnected
Added CBError.outOfSpace
Added CBError.unknown
Added CBError.uuidNotAllowed
Modified CBATTError.Code [enum]
Declaration | |
---|---|
From | enum CBATTError : Int { case Success case InvalidHandle case ReadNotPermitted case WriteNotPermitted case InvalidPdu case InsufficientAuthentication case RequestNotSupported case InvalidOffset case InsufficientAuthorization case PrepareQueueFull case AttributeNotFound case AttributeNotLong case InsufficientEncryptionKeySize case InvalidAttributeValueLength case UnlikelyError case InsufficientEncryption case UnsupportedGroupType case InsufficientResources } extension CBATTError : _BridgedNSError { } extension CBATTError : _BridgedNSError { } |
To | enum Code : Int { typealias _ErrorType = CBATTError case success case invalidHandle case readNotPermitted case writeNotPermitted case invalidPdu case insufficientAuthentication case requestNotSupported case invalidOffset case insufficientAuthorization case prepareQueueFull case attributeNotFound case attributeNotLong case insufficientEncryptionKeySize case invalidAttributeValueLength case unlikelyError case insufficientEncryption case unsupportedGroupType case insufficientResources } |
Modified CBATTError.Code.attributeNotFound
Declaration | Introduction | |
---|---|---|
From | case AttributeNotFound | OS X 10.10 |
To | case attributeNotFound | OS X 10.12 |
Modified CBATTError.Code.attributeNotLong
Declaration | Introduction | |
---|---|---|
From | case AttributeNotLong | OS X 10.10 |
To | case attributeNotLong | OS X 10.12 |
Declaration | |
---|---|
From | case InsufficientAuthentication |
To | case insufficientAuthentication |
Declaration | Introduction | |
---|---|---|
From | case InsufficientAuthorization | OS X 10.10 |
To | case insufficientAuthorization | OS X 10.12 |
Declaration | |
---|---|
From | case InsufficientEncryption |
To | case insufficientEncryption |
Declaration | Introduction | |
---|---|---|
From | case InsufficientEncryptionKeySize | OS X 10.10 |
To | case insufficientEncryptionKeySize | OS X 10.12 |
Declaration | |
---|---|
From | case InsufficientResources |
To | case insufficientResources |
Declaration | |
---|---|
From | case InvalidAttributeValueLength |
To | case invalidAttributeValueLength |
Modified CBATTError.Code.invalidHandle
Declaration | |
---|---|
From | case InvalidHandle |
To | case invalidHandle |
Modified CBATTError.Code.invalidOffset
Declaration | |
---|---|
From | case InvalidOffset |
To | case invalidOffset |
Modified CBATTError.Code.invalidPdu
Declaration | |
---|---|
From | case InvalidPdu |
To | case invalidPdu |
Modified CBATTError.Code.prepareQueueFull
Declaration | |
---|---|
From | case PrepareQueueFull |
To | case prepareQueueFull |
Modified CBATTError.Code.readNotPermitted
Declaration | Introduction | |
---|---|---|
From | case ReadNotPermitted | OS X 10.10 |
To | case readNotPermitted | OS X 10.12 |
Modified CBATTError.Code.requestNotSupported
Declaration | |
---|---|
From | case RequestNotSupported |
To | case requestNotSupported |
Modified CBATTError.Code.success
Declaration | |
---|---|
From | case Success |
To | case success |
Modified CBATTError.Code.unlikelyError
Declaration | |
---|---|
From | case UnlikelyError |
To | case unlikelyError |
Modified CBATTError.Code.unsupportedGroupType
Declaration | |
---|---|
From | case UnsupportedGroupType |
To | case unsupportedGroupType |
Modified CBATTError.Code.writeNotPermitted
Declaration | |
---|---|
From | case WriteNotPermitted |
To | case writeNotPermitted |
Modified CBATTRequest
Declaration | Protocols | |
---|---|---|
From | class CBATTRequest : NSObject { var central: CBCentral { get } var characteristic: CBCharacteristic { get } var offset: Int { get } @NSCopying var value: NSData? } | -- |
To | class CBATTRequest : NSObject { var central: CBCentral { get } var characteristic: CBCharacteristic { get } var offset: Int { get } var value: 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 CBATTRequest : CVarArg { } extension CBATTRequest : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CBATTRequest.value
Declaration | |
---|---|
From | @NSCopying var value: NSData? |
To | var value: Data? |
Modified CBAttributePermissions [struct]
Declaration | Protocols | |
---|---|---|
From | struct CBAttributePermissions : OptionSetType { init(rawValue rawValue: Int) static var Readable: CBAttributePermissions { get } static var Writeable: CBAttributePermissions { get } static var ReadEncryptionRequired: CBAttributePermissions { get } static var WriteEncryptionRequired: CBAttributePermissions { get } } | OptionSetType |
To | struct CBAttributePermissions : OptionSet { init(rawValue rawValue: Int) static var readable: CBAttributePermissions { get } static var writeable: CBAttributePermissions { get } static var readEncryptionRequired: CBAttributePermissions { get } static var writeEncryptionRequired: CBAttributePermissions { get } func intersect(_ other: CBAttributePermissions) -> CBAttributePermissions func exclusiveOr(_ other: CBAttributePermissions) -> CBAttributePermissions mutating func unionInPlace(_ other: CBAttributePermissions) mutating func intersectInPlace(_ other: CBAttributePermissions) mutating func exclusiveOrInPlace(_ other: CBAttributePermissions) func isSubsetOf(_ other: CBAttributePermissions) -> Bool func isDisjointWith(_ other: CBAttributePermissions) -> Bool func isSupersetOf(_ other: CBAttributePermissions) -> Bool mutating func subtractInPlace(_ other: CBAttributePermissions) func isStrictSupersetOf(_ other: CBAttributePermissions) -> Bool func isStrictSubsetOf(_ other: CBAttributePermissions) -> Bool } extension CBAttributePermissions { func union(_ other: CBAttributePermissions) -> CBAttributePermissions func intersection(_ other: CBAttributePermissions) -> CBAttributePermissions func symmetricDifference(_ other: CBAttributePermissions) -> CBAttributePermissions } extension CBAttributePermissions { func contains(_ member: CBAttributePermissions) -> Bool mutating func insert(_ newMember: CBAttributePermissions) -> (inserted: Bool, memberAfterInsert: CBAttributePermissions) mutating func remove(_ member: CBAttributePermissions) -> CBAttributePermissions? mutating func update(with newMember: CBAttributePermissions) -> CBAttributePermissions? } extension CBAttributePermissions { convenience init() mutating func formUnion(_ other: CBAttributePermissions) mutating func formIntersection(_ other: CBAttributePermissions) mutating func formSymmetricDifference(_ other: CBAttributePermissions) } extension CBAttributePermissions { convenience init<S : Sequence where S.Iterator.Element == CBAttributePermissions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: CBAttributePermissions...) mutating func subtract(_ other: CBAttributePermissions) func isSubset(of other: CBAttributePermissions) -> Bool func isSuperset(of other: CBAttributePermissions) -> Bool func isDisjoint(with other: CBAttributePermissions) -> Bool func subtracting(_ other: CBAttributePermissions) -> CBAttributePermissions var isEmpty: Bool { get } func isStrictSuperset(of other: CBAttributePermissions) -> Bool func isStrictSubset(of other: CBAttributePermissions) -> Bool } | OptionSet |
Modified CBAttributePermissions.readable
Declaration | |
---|---|
From | static var Readable: CBAttributePermissions { get } |
To | static var readable: CBAttributePermissions { get } |
Declaration | |
---|---|
From | static var ReadEncryptionRequired: CBAttributePermissions { get } |
To | static var readEncryptionRequired: CBAttributePermissions { get } |
Modified CBAttributePermissions.writeable
Declaration | |
---|---|
From | static var Writeable: CBAttributePermissions { get } |
To | static var writeable: CBAttributePermissions { get } |
Declaration | |
---|---|
From | static var WriteEncryptionRequired: CBAttributePermissions { get } |
To | static var writeEncryptionRequired: CBAttributePermissions { get } |
Modified CBCentral
Declaration | Protocols | |
---|---|---|
From | class CBCentral : NSObject, NSCopying { var UUID: CFUUID { get } var identifier: NSUUID { get } var maximumUpdateValueLength: Int { get } } | NSCopying |
To | class CBCentral : NSObject, NSCopying { var uuid: CFUUID { get } var identifier: UUID { get } var maximumUpdateValueLength: Int { 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 CBCentral : CVarArg { } extension CBCentral : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified CBCentral.identifier
Declaration | |
---|---|
From | var identifier: NSUUID { get } |
To | var identifier: UUID { get } |
Modified CBCentralManager
Declaration | Protocols | |
---|---|---|
From | class CBCentralManager : NSObject { unowned(unsafe) var delegate: CBCentralManagerDelegate? var state: CBCentralManagerState { get } init(delegate delegate: CBCentralManagerDelegate?, queue queue: dispatch_queue_t?) init(delegate delegate: CBCentralManagerDelegate?, queue queue: dispatch_queue_t?, options options: [String : AnyObject]?) func retrievePeripherals(_ peripheralUUIDs: [AnyObject]) func retrievePeripheralsWithIdentifiers(_ identifiers: [NSUUID]) -> [CBPeripheral] func retrieveConnectedPeripherals() func retrieveConnectedPeripheralsWithServices(_ serviceUUIDs: [CBUUID]) -> [CBPeripheral] func scanForPeripheralsWithServices(_ serviceUUIDs: [CBUUID]?, options options: [String : AnyObject]?) func stopScan() func connectPeripheral(_ peripheral: CBPeripheral, options options: [String : AnyObject]?) func cancelPeripheralConnection(_ peripheral: CBPeripheral) } | -- |
To | class CBCentralManager : NSObject { unowned(unsafe) var delegate: CBCentralManagerDelegate? var state: CBCentralManagerState { get } init(delegate delegate: CBCentralManagerDelegate?, queue queue: DispatchQueue?) init(delegate delegate: CBCentralManagerDelegate?, queue queue: DispatchQueue?, options options: [String : Any]? = nil) func retrievePeripherals(_ peripheralUUIDs: [Any]) func retrievePeripherals(withIdentifiers identifiers: [UUID]) -> [CBPeripheral] func retrieveConnectedPeripherals() func retrieveConnectedPeripherals(withServices serviceUUIDs: [CBUUID]) -> [CBPeripheral] func scanForPeripherals(withServices serviceUUIDs: [CBUUID]?, options options: [String : Any]? = nil) func stopScan() func connect(_ peripheral: CBPeripheral, options options: [String : Any]? = nil) func cancelPeripheralConnection(_ peripheral: CBPeripheral) 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 CBCentralManager : CVarArg { } extension CBCentralManager : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func connectPeripheral(_ peripheral: CBPeripheral, options options: [String : AnyObject]?) |
To | func connect(_ peripheral: CBPeripheral, options options: [String : Any]? = nil) |
Declaration | |
---|---|
From | init(delegate delegate: CBCentralManagerDelegate?, queue queue: dispatch_queue_t?) |
To | init(delegate delegate: CBCentralManagerDelegate?, queue queue: DispatchQueue?) |
Declaration | |
---|---|
From | init(delegate delegate: CBCentralManagerDelegate?, queue queue: dispatch_queue_t?, options options: [String : AnyObject]?) |
To | init(delegate delegate: CBCentralManagerDelegate?, queue queue: DispatchQueue?, options options: [String : Any]? = nil) |
Declaration | |
---|---|
From | func retrieveConnectedPeripheralsWithServices(_ serviceUUIDs: [CBUUID]) -> [CBPeripheral] |
To | func retrieveConnectedPeripherals(withServices serviceUUIDs: [CBUUID]) -> [CBPeripheral] |
Declaration | |
---|---|
From | func retrievePeripheralsWithIdentifiers(_ identifiers: [NSUUID]) -> [CBPeripheral] |
To | func retrievePeripherals(withIdentifiers identifiers: [UUID]) -> [CBPeripheral] |
Declaration | |
---|---|
From | func scanForPeripheralsWithServices(_ serviceUUIDs: [CBUUID]?, options options: [String : AnyObject]?) |
To | func scanForPeripherals(withServices serviceUUIDs: [CBUUID]?, options options: [String : Any]? = nil) |
Modified CBCentralManagerDelegate
Declaration | |
---|---|
From | protocol CBCentralManagerDelegate : NSObjectProtocol { func centralManagerDidUpdateState(_ central: CBCentralManager) optional func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : AnyObject]) optional func centralManager(_ central: CBCentralManager, didRetrievePeripherals peripherals: [CBPeripheral]) optional func centralManager(_ central: CBCentralManager, didRetrieveConnectedPeripherals peripherals: [CBPeripheral]) optional func centralManager(_ central: CBCentralManager, didDiscoverPeripheral peripheral: CBPeripheral, advertisementData advertisementData: [String : AnyObject], RSSI RSSI: NSNumber) optional func centralManager(_ central: CBCentralManager, didConnectPeripheral peripheral: CBPeripheral) optional func centralManager(_ central: CBCentralManager, didFailToConnectPeripheral peripheral: CBPeripheral, error error: NSError?) optional func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error error: NSError?) } |
To | protocol CBCentralManagerDelegate : NSObjectProtocol { func centralManagerDidUpdateState(_ central: CBCentralManager) optional func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]) optional func centralManager(_ central: CBCentralManager, didRetrievePeripherals peripherals: [CBPeripheral]) optional func centralManager(_ central: CBCentralManager, didRetrieveConnectedPeripherals peripherals: [CBPeripheral]) optional func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData advertisementData: [String : Any], rssi RSSI: NSNumber) optional func centralManager(_ central: CBCentralManager, didConnect peripheral: CBPeripheral) optional func centralManager(_ central: CBCentralManager, didFailToConnect peripheral: CBPeripheral, error error: Error?) optional func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error error: Error?) } |
Declaration | |
---|---|
From | optional func centralManager(_ central: CBCentralManager, didConnectPeripheral peripheral: CBPeripheral) |
To | optional func centralManager(_ central: CBCentralManager, didConnect peripheral: CBPeripheral) |
Declaration | |
---|---|
From | optional func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error error: NSError?) |
To | optional func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error error: Error?) |
Declaration | |
---|---|
From | optional func centralManager(_ central: CBCentralManager, didDiscoverPeripheral peripheral: CBPeripheral, advertisementData advertisementData: [String : AnyObject], RSSI RSSI: NSNumber) |
To | optional func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData advertisementData: [String : Any], rssi RSSI: NSNumber) |
Declaration | |
---|---|
From | optional func centralManager(_ central: CBCentralManager, didFailToConnectPeripheral peripheral: CBPeripheral, error error: NSError?) |
To | optional func centralManager(_ central: CBCentralManager, didFailToConnect peripheral: CBPeripheral, error error: Error?) |
Modified CBCentralManagerDelegate.centralManager(_: CBCentralManager, willRestoreState: [String : Any])
Declaration | |
---|---|
From | optional func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : AnyObject]) |
To | optional func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]) |
Modified CBCentralManagerState [enum]
Declaration | |
---|---|
From | enum CBCentralManagerState : Int { case Unknown case Resetting case Unsupported case Unauthorized case PoweredOff case PoweredOn } |
To | enum CBCentralManagerState : Int { case unknown case resetting case unsupported case unauthorized case poweredOff case poweredOn } |
Modified CBCentralManagerState.poweredOff
Declaration | |
---|---|
From | case PoweredOff |
To | case poweredOff |
Modified CBCentralManagerState.poweredOn
Declaration | |
---|---|
From | case PoweredOn |
To | case poweredOn |
Modified CBCentralManagerState.resetting
Declaration | |
---|---|
From | case Resetting |
To | case resetting |
Modified CBCentralManagerState.unauthorized
Declaration | |
---|---|
From | case Unauthorized |
To | case unauthorized |
Modified CBCentralManagerState.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified CBCentralManagerState.unsupported
Declaration | |
---|---|
From | case Unsupported |
To | case unsupported |
Modified CBCharacteristic
Declaration | Protocols | |
---|---|---|
From | class CBCharacteristic : NSObject { unowned(unsafe) var service: CBService { get } var UUID: CBUUID { get } var properties: CBCharacteristicProperties { get } var value: NSData? { get } var descriptors: [CBDescriptor]? { get } var isBroadcasted: Bool { get } var isNotifying: Bool { get } } | -- |
To | class CBCharacteristic : NSObject { unowned(unsafe) var service: CBService { get } var uuid: CBUUID { get } var properties: CBCharacteristicProperties { get } var value: Data? { get } var descriptors: [CBDescriptor]? { get } var isBroadcasted: Bool { get } var isNotifying: Bool { 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 CBCharacteristic : CVarArg { } extension CBCharacteristic : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CBCharacteristic.uuid
Declaration | |
---|---|
From | var UUID: CBUUID { get } |
To | var uuid: CBUUID { get } |
Modified CBCharacteristic.value
Declaration | |
---|---|
From | var value: NSData? { get } |
To | var value: Data? { get } |
Modified CBCharacteristicProperties [struct]
Declaration | Protocols | |
---|---|---|
From | struct CBCharacteristicProperties : OptionSetType { init(rawValue rawValue: Int) static var Broadcast: CBCharacteristicProperties { get } static var Read: CBCharacteristicProperties { get } static var WriteWithoutResponse: CBCharacteristicProperties { get } static var Write: CBCharacteristicProperties { get } static var Notify: CBCharacteristicProperties { get } static var Indicate: CBCharacteristicProperties { get } static var AuthenticatedSignedWrites: CBCharacteristicProperties { get } static var ExtendedProperties: CBCharacteristicProperties { get } static var NotifyEncryptionRequired: CBCharacteristicProperties { get } static var IndicateEncryptionRequired: CBCharacteristicProperties { get } } | OptionSetType |
To | struct CBCharacteristicProperties : OptionSet { init(rawValue rawValue: Int) static var broadcast: CBCharacteristicProperties { get } static var read: CBCharacteristicProperties { get } static var writeWithoutResponse: CBCharacteristicProperties { get } static var write: CBCharacteristicProperties { get } static var notify: CBCharacteristicProperties { get } static var indicate: CBCharacteristicProperties { get } static var authenticatedSignedWrites: CBCharacteristicProperties { get } static var extendedProperties: CBCharacteristicProperties { get } static var notifyEncryptionRequired: CBCharacteristicProperties { get } static var indicateEncryptionRequired: CBCharacteristicProperties { get } func intersect(_ other: CBCharacteristicProperties) -> CBCharacteristicProperties func exclusiveOr(_ other: CBCharacteristicProperties) -> CBCharacteristicProperties mutating func unionInPlace(_ other: CBCharacteristicProperties) mutating func intersectInPlace(_ other: CBCharacteristicProperties) mutating func exclusiveOrInPlace(_ other: CBCharacteristicProperties) func isSubsetOf(_ other: CBCharacteristicProperties) -> Bool func isDisjointWith(_ other: CBCharacteristicProperties) -> Bool func isSupersetOf(_ other: CBCharacteristicProperties) -> Bool mutating func subtractInPlace(_ other: CBCharacteristicProperties) func isStrictSupersetOf(_ other: CBCharacteristicProperties) -> Bool func isStrictSubsetOf(_ other: CBCharacteristicProperties) -> Bool } extension CBCharacteristicProperties { func union(_ other: CBCharacteristicProperties) -> CBCharacteristicProperties func intersection(_ other: CBCharacteristicProperties) -> CBCharacteristicProperties func symmetricDifference(_ other: CBCharacteristicProperties) -> CBCharacteristicProperties } extension CBCharacteristicProperties { func contains(_ member: CBCharacteristicProperties) -> Bool mutating func insert(_ newMember: CBCharacteristicProperties) -> (inserted: Bool, memberAfterInsert: CBCharacteristicProperties) mutating func remove(_ member: CBCharacteristicProperties) -> CBCharacteristicProperties? mutating func update(with newMember: CBCharacteristicProperties) -> CBCharacteristicProperties? } extension CBCharacteristicProperties { convenience init() mutating func formUnion(_ other: CBCharacteristicProperties) mutating func formIntersection(_ other: CBCharacteristicProperties) mutating func formSymmetricDifference(_ other: CBCharacteristicProperties) } extension CBCharacteristicProperties { convenience init<S : Sequence where S.Iterator.Element == CBCharacteristicProperties>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: CBCharacteristicProperties...) mutating func subtract(_ other: CBCharacteristicProperties) func isSubset(of other: CBCharacteristicProperties) -> Bool func isSuperset(of other: CBCharacteristicProperties) -> Bool func isDisjoint(with other: CBCharacteristicProperties) -> Bool func subtracting(_ other: CBCharacteristicProperties) -> CBCharacteristicProperties var isEmpty: Bool { get } func isStrictSuperset(of other: CBCharacteristicProperties) -> Bool func isStrictSubset(of other: CBCharacteristicProperties) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var AuthenticatedSignedWrites: CBCharacteristicProperties { get } |
To | static var authenticatedSignedWrites: CBCharacteristicProperties { get } |
Modified CBCharacteristicProperties.broadcast
Declaration | |
---|---|
From | static var Broadcast: CBCharacteristicProperties { get } |
To | static var broadcast: CBCharacteristicProperties { get } |
Declaration | |
---|---|
From | static var ExtendedProperties: CBCharacteristicProperties { get } |
To | static var extendedProperties: CBCharacteristicProperties { get } |
Modified CBCharacteristicProperties.indicate
Declaration | |
---|---|
From | static var Indicate: CBCharacteristicProperties { get } |
To | static var indicate: CBCharacteristicProperties { get } |
Declaration | |
---|---|
From | static var IndicateEncryptionRequired: CBCharacteristicProperties { get } |
To | static var indicateEncryptionRequired: CBCharacteristicProperties { get } |
Modified CBCharacteristicProperties.notify
Declaration | |
---|---|
From | static var Notify: CBCharacteristicProperties { get } |
To | static var notify: CBCharacteristicProperties { get } |
Declaration | |
---|---|
From | static var NotifyEncryptionRequired: CBCharacteristicProperties { get } |
To | static var notifyEncryptionRequired: CBCharacteristicProperties { get } |
Modified CBCharacteristicProperties.read
Declaration | |
---|---|
From | static var Read: CBCharacteristicProperties { get } |
To | static var read: CBCharacteristicProperties { get } |
Modified CBCharacteristicProperties.write
Declaration | |
---|---|
From | static var Write: CBCharacteristicProperties { get } |
To | static var write: CBCharacteristicProperties { get } |
Declaration | |
---|---|
From | static var WriteWithoutResponse: CBCharacteristicProperties { get } |
To | static var writeWithoutResponse: CBCharacteristicProperties { get } |
Modified CBCharacteristicWriteType [enum]
Declaration | |
---|---|
From | enum CBCharacteristicWriteType : Int { case WithResponse case WithoutResponse } |
To | enum CBCharacteristicWriteType : Int { case withResponse case withoutResponse } |
Declaration | |
---|---|
From | case WithoutResponse |
To | case withoutResponse |
Declaration | |
---|---|
From | case WithResponse |
To | case withResponse |
Modified CBDescriptor
Declaration | Protocols | |
---|---|---|
From | class CBDescriptor : NSObject { unowned(unsafe) var characteristic: CBCharacteristic { get } var UUID: CBUUID { get } var value: AnyObject? { get } } | -- |
To | class CBDescriptor : NSObject { unowned(unsafe) var characteristic: CBCharacteristic { get } var uuid: CBUUID { get } var value: Any? { 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 CBDescriptor : CVarArg { } extension CBDescriptor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CBDescriptor.uuid
Declaration | |
---|---|
From | var UUID: CBUUID { get } |
To | var uuid: CBUUID { get } |
Modified CBDescriptor.value
Declaration | |
---|---|
From | var value: AnyObject? { get } |
To | var value: Any? { get } |
Modified CBError.Code [enum]
Declaration | |
---|---|
From | enum CBError : Int { case Unknown case InvalidParameters case InvalidHandle case NotConnected case OutOfSpace case OperationCancelled case ConnectionTimeout case PeripheralDisconnected case UUIDNotAllowed case AlreadyAdvertising case MaxConnection } extension CBError : _BridgedNSError { } extension CBError : _BridgedNSError { } |
To | enum Code : Int { typealias _ErrorType = CBError case unknown case invalidParameters case invalidHandle case notConnected case outOfSpace case operationCancelled case connectionTimeout case peripheralDisconnected case uuidNotAllowed case alreadyAdvertising case maxConnection } |
Modified CBError.Code.alreadyAdvertising
Declaration | |
---|---|
From | case AlreadyAdvertising |
To | case alreadyAdvertising |
Modified CBError.Code.connectionTimeout
Declaration | |
---|---|
From | case ConnectionTimeout |
To | case connectionTimeout |
Modified CBError.Code.invalidHandle
Declaration | |
---|---|
From | case InvalidHandle |
To | case invalidHandle |
Modified CBError.Code.invalidParameters
Declaration | |
---|---|
From | case InvalidParameters |
To | case invalidParameters |
Modified CBError.Code.maxConnection
Declaration | |
---|---|
From | case MaxConnection |
To | case maxConnection |
Modified CBError.Code.notConnected
Declaration | |
---|---|
From | case NotConnected |
To | case notConnected |
Modified CBError.Code.operationCancelled
Declaration | |
---|---|
From | case OperationCancelled |
To | case operationCancelled |
Modified CBError.Code.outOfSpace
Declaration | |
---|---|
From | case OutOfSpace |
To | case outOfSpace |
Modified CBError.Code.peripheralDisconnected
Declaration | |
---|---|
From | case PeripheralDisconnected |
To | case peripheralDisconnected |
Modified CBError.Code.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified CBError.Code.uuidNotAllowed
Declaration | |
---|---|
From | case UUIDNotAllowed |
To | case uuidNotAllowed |
Modified CBMutableCharacteristic
Declaration | |
---|---|
From | class CBMutableCharacteristic : CBCharacteristic { var permissions: CBAttributePermissions var subscribedCentrals: [CBCentral]? { get } var UUID: CBUUID? var properties: CBCharacteristicProperties var value: NSData? var descriptors: [CBDescriptor]? init(type UUID: CBUUID?, properties properties: CBCharacteristicProperties, value value: NSData?, permissions permissions: CBAttributePermissions) } |
To | class CBMutableCharacteristic : CBCharacteristic { var permissions: CBAttributePermissions var subscribedCentrals: [CBCentral]? { get } var uuid: CBUUID? var properties: CBCharacteristicProperties var value: Data? var descriptors: [CBDescriptor]? init(type UUID: CBUUID?, properties properties: CBCharacteristicProperties, value value: Data?, permissions permissions: CBAttributePermissions) } |
Declaration | |
---|---|
From | init(type UUID: CBUUID?, properties properties: CBCharacteristicProperties, value value: NSData?, permissions permissions: CBAttributePermissions) |
To | init(type UUID: CBUUID?, properties properties: CBCharacteristicProperties, value value: Data?, permissions permissions: CBAttributePermissions) |
Modified CBMutableCharacteristic.uuid
Declaration | |
---|---|
From | var UUID: CBUUID? |
To | var uuid: CBUUID? |
Modified CBMutableCharacteristic.value
Declaration | |
---|---|
From | var value: NSData? |
To | var value: Data? |
Modified CBMutableDescriptor
Declaration | |
---|---|
From | class CBMutableDescriptor : CBDescriptor { init(type UUID: CBUUID, value value: AnyObject?) } |
To | class CBMutableDescriptor : CBDescriptor { init(type UUID: CBUUID, value value: Any?) } |
Declaration | |
---|---|
From | init(type UUID: CBUUID, value value: AnyObject?) |
To | init(type UUID: CBUUID, value value: Any?) |
Modified CBMutableService
Declaration | |
---|---|
From | class CBMutableService : CBService { var UUID: CBUUID? var isPrimary: Bool var includedServices: [CBService]? var characteristics: [CBCharacteristic]? init(type UUID: CBUUID?, primary isPrimary: Bool) } |
To | class CBMutableService : CBService { var uuid: CBUUID? var isPrimary: Bool var includedServices: [CBService]? var characteristics: [CBCharacteristic]? init(type UUID: CBUUID?, primary isPrimary: Bool) } |
Modified CBMutableService.uuid
Declaration | |
---|---|
From | var UUID: CBUUID? |
To | var uuid: CBUUID? |
Modified CBPeripheral
Declaration | Protocols | |
---|---|---|
From | class CBPeripheral : NSObject, NSCopying { unowned(unsafe) var delegate: CBPeripheralDelegate? var UUID: CFUUID { get } var identifier: NSUUID { get } var name: String? { get } var RSSI: NSNumber? { get } var isConnected: Bool { get } var state: CBPeripheralState { get } var services: [CBService]? { get } func readRSSI() func discoverServices(_ serviceUUIDs: [CBUUID]?) func discoverIncludedServices(_ includedServiceUUIDs: [CBUUID]?, forService service: CBService) func discoverCharacteristics(_ characteristicUUIDs: [CBUUID]?, forService service: CBService) func readValueForCharacteristic(_ characteristic: CBCharacteristic) func writeValue(_ data: NSData, forCharacteristic characteristic: CBCharacteristic, type type: CBCharacteristicWriteType) func setNotifyValue(_ enabled: Bool, forCharacteristic characteristic: CBCharacteristic) func discoverDescriptorsForCharacteristic(_ characteristic: CBCharacteristic) func readValueForDescriptor(_ descriptor: CBDescriptor) func writeValue(_ data: NSData, forDescriptor descriptor: CBDescriptor) } | NSCopying |
To | class CBPeripheral : NSObject, NSCopying { unowned(unsafe) var delegate: CBPeripheralDelegate? var uuid: CFUUID { get } var identifier: UUID { get } var name: String? { get } var rssi: NSNumber? { get } var isConnected: Bool { get } var state: CBPeripheralState { get } var services: [CBService]? { get } func readRSSI() func discoverServices(_ serviceUUIDs: [CBUUID]?) func discoverIncludedServices(_ includedServiceUUIDs: [CBUUID]?, for service: CBService) func discoverCharacteristics(_ characteristicUUIDs: [CBUUID]?, for service: CBService) func readValue(for characteristic: CBCharacteristic) func maximumWriteValueLength(for type: CBCharacteristicWriteType) -> Int func writeValue(_ data: Data, for characteristic: CBCharacteristic, type type: CBCharacteristicWriteType) func setNotifyValue(_ enabled: Bool, for characteristic: CBCharacteristic) func discoverDescriptors(for characteristic: CBCharacteristic) func readValue(for descriptor: CBDescriptor) func writeValue(_ data: Data, for descriptor: CBDescriptor) 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 CBPeripheral : CVarArg { } extension CBPeripheral : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | func discoverCharacteristics(_ characteristicUUIDs: [CBUUID]?, forService service: CBService) |
To | func discoverCharacteristics(_ characteristicUUIDs: [CBUUID]?, for service: CBService) |
Declaration | |
---|---|
From | func discoverDescriptorsForCharacteristic(_ characteristic: CBCharacteristic) |
To | func discoverDescriptors(for characteristic: CBCharacteristic) |
Declaration | |
---|---|
From | func discoverIncludedServices(_ includedServiceUUIDs: [CBUUID]?, forService service: CBService) |
To | func discoverIncludedServices(_ includedServiceUUIDs: [CBUUID]?, for service: CBService) |
Modified CBPeripheral.identifier
Declaration | |
---|---|
From | var identifier: NSUUID { get } |
To | var identifier: UUID { get } |
Declaration | |
---|---|
From | func readValueForDescriptor(_ descriptor: CBDescriptor) |
To | func readValue(for descriptor: CBDescriptor) |
Declaration | |
---|---|
From | func readValueForCharacteristic(_ characteristic: CBCharacteristic) |
To | func readValue(for characteristic: CBCharacteristic) |
Modified CBPeripheral.rssi
Declaration | |
---|---|
From | var RSSI: NSNumber? { get } |
To | var rssi: NSNumber? { get } |
Declaration | |
---|---|
From | func setNotifyValue(_ enabled: Bool, forCharacteristic characteristic: CBCharacteristic) |
To | func setNotifyValue(_ enabled: Bool, for characteristic: CBCharacteristic) |
Declaration | |
---|---|
From | func writeValue(_ data: NSData, forDescriptor descriptor: CBDescriptor) |
To | func writeValue(_ data: Data, for descriptor: CBDescriptor) |
Declaration | |
---|---|
From | func writeValue(_ data: NSData, forCharacteristic characteristic: CBCharacteristic, type type: CBCharacteristicWriteType) |
To | func writeValue(_ data: Data, for characteristic: CBCharacteristic, type type: CBCharacteristicWriteType) |
Modified CBPeripheralAuthorizationStatus [enum]
Declaration | |
---|---|
From | enum CBPeripheralAuthorizationStatus : Int { case NotDetermined case Restricted case Denied case Authorized } |
To | enum CBPeripheralAuthorizationStatus : Int { case notDetermined case restricted case denied case authorized } |
Modified CBPeripheralAuthorizationStatus.authorized
Declaration | |
---|---|
From | case Authorized |
To | case authorized |
Modified CBPeripheralAuthorizationStatus.denied
Declaration | |
---|---|
From | case Denied |
To | case denied |
Modified CBPeripheralAuthorizationStatus.notDetermined
Declaration | |
---|---|
From | case NotDetermined |
To | case notDetermined |
Modified CBPeripheralAuthorizationStatus.restricted
Declaration | |
---|---|
From | case Restricted |
To | case restricted |
Modified CBPeripheralDelegate
Declaration | |
---|---|
From | protocol CBPeripheralDelegate : NSObjectProtocol { optional func peripheralDidUpdateName(_ peripheral: CBPeripheral) optional func peripheralDidInvalidateServices(_ peripheral: CBPeripheral) optional func peripheral(_ peripheral: CBPeripheral, didModifyServices invalidatedServices: [CBService]) optional func peripheralDidUpdateRSSI(_ peripheral: CBPeripheral, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverServices error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverIncludedServicesForService service: CBService, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverCharacteristicsForService service: CBService, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueForCharacteristic characteristic: CBCharacteristic, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didWriteValueForCharacteristic characteristic: CBCharacteristic, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didUpdateNotificationStateForCharacteristic characteristic: CBCharacteristic, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverDescriptorsForCharacteristic characteristic: CBCharacteristic, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueForDescriptor descriptor: CBDescriptor, error error: NSError?) optional func peripheral(_ peripheral: CBPeripheral, didWriteValueForDescriptor descriptor: CBDescriptor, error error: NSError?) } |
To | protocol CBPeripheralDelegate : NSObjectProtocol { optional func peripheralDidUpdateName(_ peripheral: CBPeripheral) optional func peripheralDidInvalidateServices(_ peripheral: CBPeripheral) optional func peripheral(_ peripheral: CBPeripheral, didModifyServices invalidatedServices: [CBService]) optional func peripheralDidUpdateRSSI(_ peripheral: CBPeripheral, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverServices error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverIncludedServicesFor service: CBService, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverCharacteristicsFor service: CBService, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didUpdateNotificationStateFor characteristic: CBCharacteristic, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didDiscoverDescriptorsFor characteristic: CBCharacteristic, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor descriptor: CBDescriptor, error error: Error?) optional func peripheral(_ peripheral: CBPeripheral, didWriteValueFor descriptor: CBDescriptor, error error: Error?) } |
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverCharacteristicsForService service: CBService, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverCharacteristicsFor service: CBService, error error: Error?) |
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverDescriptorsForCharacteristic characteristic: CBCharacteristic, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverDescriptorsFor characteristic: CBCharacteristic, error error: Error?) |
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverIncludedServicesForService service: CBService, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverIncludedServicesFor service: CBService, error error: Error?) |
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverServices error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didDiscoverServices error: Error?) |
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didUpdateNotificationStateForCharacteristic characteristic: CBCharacteristic, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didUpdateNotificationStateFor characteristic: CBCharacteristic, error error: Error?) |
Modified CBPeripheralDelegate.peripheral(_: CBPeripheral, didUpdateValueFor: CBCharacteristic, error: Error?)
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueForCharacteristic characteristic: CBCharacteristic, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error error: Error?) |
Modified CBPeripheralDelegate.peripheral(_: CBPeripheral, didUpdateValueFor: CBDescriptor, error: Error?)
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueForDescriptor descriptor: CBDescriptor, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor descriptor: CBDescriptor, error error: Error?) |
Modified CBPeripheralDelegate.peripheral(_: CBPeripheral, didWriteValueFor: CBDescriptor, error: Error?)
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didWriteValueForDescriptor descriptor: CBDescriptor, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didWriteValueFor descriptor: CBDescriptor, error error: Error?) |
Modified CBPeripheralDelegate.peripheral(_: CBPeripheral, didWriteValueFor: CBCharacteristic, error: Error?)
Declaration | |
---|---|
From | optional func peripheral(_ peripheral: CBPeripheral, didWriteValueForCharacteristic characteristic: CBCharacteristic, error error: NSError?) |
To | optional func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error error: Error?) |
Declaration | |
---|---|
From | optional func peripheralDidUpdateRSSI(_ peripheral: CBPeripheral, error error: NSError?) |
To | optional func peripheralDidUpdateRSSI(_ peripheral: CBPeripheral, error error: Error?) |
Modified CBPeripheralManager
Declaration | Protocols | |
---|---|---|
From | class CBPeripheralManager : NSObject { unowned(unsafe) var delegate: CBPeripheralManagerDelegate? var state: CBPeripheralManagerState { get } var isAdvertising: Bool { get } class func authorizationStatus() -> CBPeripheralAuthorizationStatus init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: dispatch_queue_t?) init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: dispatch_queue_t?, options options: [String : AnyObject]?) func startAdvertising(_ advertisementData: [String : AnyObject]?) func stopAdvertising() func setDesiredConnectionLatency(_ latency: CBPeripheralManagerConnectionLatency, forCentral central: CBCentral) func addService(_ service: CBMutableService) func removeService(_ service: CBMutableService) func removeAllServices() func respondToRequest(_ request: CBATTRequest, withResult result: CBATTError) func updateValue(_ value: NSData, forCharacteristic characteristic: CBMutableCharacteristic, onSubscribedCentrals centrals: [CBCentral]?) -> Bool } | -- |
To | class CBPeripheralManager : NSObject { unowned(unsafe) var delegate: CBPeripheralManagerDelegate? var state: CBPeripheralManagerState { get } var isAdvertising: Bool { get } class func authorizationStatus() -> CBPeripheralAuthorizationStatus init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: DispatchQueue?) init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: DispatchQueue?, options options: [String : Any]? = nil) func startAdvertising(_ advertisementData: [String : Any]?) func stopAdvertising() func setDesiredConnectionLatency(_ latency: CBPeripheralManagerConnectionLatency, for central: CBCentral) func add(_ service: CBMutableService) func remove(_ service: CBMutableService) func removeAllServices() func respond(to request: CBATTRequest, withResult result: CBATTError.Code) func updateValue(_ value: Data, for characteristic: CBMutableCharacteristic, onSubscribedCentrals centrals: [CBCentral]?) -> 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 CBPeripheralManager : CVarArg { } extension CBPeripheralManager : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addService(_ service: CBMutableService) |
To | func add(_ service: CBMutableService) |
Declaration | |
---|---|
From | init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: dispatch_queue_t?) |
To | init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: DispatchQueue?) |
Declaration | |
---|---|
From | init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: dispatch_queue_t?, options options: [String : AnyObject]?) |
To | init(delegate delegate: CBPeripheralManagerDelegate?, queue queue: DispatchQueue?, options options: [String : Any]? = nil) |
Declaration | |
---|---|
From | func removeService(_ service: CBMutableService) |
To | func remove(_ service: CBMutableService) |
Declaration | |
---|---|
From | func respondToRequest(_ request: CBATTRequest, withResult result: CBATTError) |
To | func respond(to request: CBATTRequest, withResult result: CBATTError.Code) |
Declaration | |
---|---|
From | func setDesiredConnectionLatency(_ latency: CBPeripheralManagerConnectionLatency, forCentral central: CBCentral) |
To | func setDesiredConnectionLatency(_ latency: CBPeripheralManagerConnectionLatency, for central: CBCentral) |
Declaration | |
---|---|
From | func startAdvertising(_ advertisementData: [String : AnyObject]?) |
To | func startAdvertising(_ advertisementData: [String : Any]?) |
Declaration | |
---|---|
From | func updateValue(_ value: NSData, forCharacteristic characteristic: CBMutableCharacteristic, onSubscribedCentrals centrals: [CBCentral]?) -> Bool |
To | func updateValue(_ value: Data, for characteristic: CBMutableCharacteristic, onSubscribedCentrals centrals: [CBCentral]?) -> Bool |
Declaration | |
---|---|
From | enum CBPeripheralManagerConnectionLatency : Int { case Low case Medium case High } |
To | enum CBPeripheralManagerConnectionLatency : Int { case low case medium case high } |
Declaration | |
---|---|
From | case High |
To | case high |
Declaration | |
---|---|
From | case Low |
To | case low |
Declaration | |
---|---|
From | case Medium |
To | case medium |
Modified CBPeripheralManagerDelegate
Declaration | |
---|---|
From | protocol CBPeripheralManagerDelegate : NSObjectProtocol { func peripheralManagerDidUpdateState(_ peripheral: CBPeripheralManager) optional func peripheralManager(_ peripheral: CBPeripheralManager, willRestoreState dict: [String : AnyObject]) optional func peripheralManagerDidStartAdvertising(_ peripheral: CBPeripheralManager, error error: NSError?) optional func peripheralManager(_ peripheral: CBPeripheralManager, didAddService service: CBService, error error: NSError?) optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didSubscribeToCharacteristic characteristic: CBCharacteristic) optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didUnsubscribeFromCharacteristic characteristic: CBCharacteristic) optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveReadRequest request: CBATTRequest) optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveWriteRequests requests: [CBATTRequest]) optional func peripheralManagerIsReadyToUpdateSubscribers(_ peripheral: CBPeripheralManager) } |
To | protocol CBPeripheralManagerDelegate : NSObjectProtocol { func peripheralManagerDidUpdateState(_ peripheral: CBPeripheralManager) optional func peripheralManager(_ peripheral: CBPeripheralManager, willRestoreState dict: [String : Any]) optional func peripheralManagerDidStartAdvertising(_ peripheral: CBPeripheralManager, error error: Error?) optional func peripheralManager(_ peripheral: CBPeripheralManager, didAdd service: CBService, error error: Error?) optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didSubscribeTo characteristic: CBCharacteristic) optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didUnsubscribeFrom characteristic: CBCharacteristic) optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveRead request: CBATTRequest) optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveWrite requests: [CBATTRequest]) optional func peripheralManagerIsReady(toUpdateSubscribers peripheral: CBPeripheralManager) } |
Declaration | |
---|---|
From | optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didSubscribeToCharacteristic characteristic: CBCharacteristic) |
To | optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didSubscribeTo characteristic: CBCharacteristic) |
Declaration | |
---|---|
From | optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didUnsubscribeFromCharacteristic characteristic: CBCharacteristic) |
To | optional func peripheralManager(_ peripheral: CBPeripheralManager, central central: CBCentral, didUnsubscribeFrom characteristic: CBCharacteristic) |
Declaration | |
---|---|
From | optional func peripheralManager(_ peripheral: CBPeripheralManager, didAddService service: CBService, error error: NSError?) |
To | optional func peripheralManager(_ peripheral: CBPeripheralManager, didAdd service: CBService, error error: Error?) |
Modified CBPeripheralManagerDelegate.peripheralManager(_: CBPeripheralManager, didReceiveRead: CBATTRequest)
Declaration | |
---|---|
From | optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveReadRequest request: CBATTRequest) |
To | optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveRead request: CBATTRequest) |
Declaration | |
---|---|
From | optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveWriteRequests requests: [CBATTRequest]) |
To | optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveWrite requests: [CBATTRequest]) |
Declaration | |
---|---|
From | optional func peripheralManager(_ peripheral: CBPeripheralManager, willRestoreState dict: [String : AnyObject]) |
To | optional func peripheralManager(_ peripheral: CBPeripheralManager, willRestoreState dict: [String : Any]) |
Declaration | |
---|---|
From | optional func peripheralManagerDidStartAdvertising(_ peripheral: CBPeripheralManager, error error: NSError?) |
To | optional func peripheralManagerDidStartAdvertising(_ peripheral: CBPeripheralManager, error error: Error?) |
Modified CBPeripheralManagerDelegate.peripheralManagerIsReady(toUpdateSubscribers: CBPeripheralManager)
Declaration | |
---|---|
From | optional func peripheralManagerIsReadyToUpdateSubscribers(_ peripheral: CBPeripheralManager) |
To | optional func peripheralManagerIsReady(toUpdateSubscribers peripheral: CBPeripheralManager) |
Modified CBPeripheralManagerState [enum]
Declaration | |
---|---|
From | enum CBPeripheralManagerState : Int { case Unknown case Resetting case Unsupported case Unauthorized case PoweredOff case PoweredOn } |
To | enum CBPeripheralManagerState : Int { case unknown case resetting case unsupported case unauthorized case poweredOff case poweredOn } |
Modified CBPeripheralManagerState.poweredOff
Declaration | |
---|---|
From | case PoweredOff |
To | case poweredOff |
Modified CBPeripheralManagerState.poweredOn
Declaration | |
---|---|
From | case PoweredOn |
To | case poweredOn |
Modified CBPeripheralManagerState.resetting
Declaration | |
---|---|
From | case Resetting |
To | case resetting |
Declaration | |
---|---|
From | case Unauthorized |
To | case unauthorized |
Modified CBPeripheralManagerState.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified CBPeripheralManagerState.unsupported
Declaration | |
---|---|
From | case Unsupported |
To | case unsupported |
Modified CBPeripheralState [enum]
Declaration | |
---|---|
From | enum CBPeripheralState : Int { case Disconnected case Connecting case Connected } |
To | enum CBPeripheralState : Int { case disconnected case connecting case connected } |
Modified CBPeripheralState.connected
Declaration | |
---|---|
From | case Connected |
To | case connected |
Modified CBPeripheralState.connecting
Declaration | |
---|---|
From | case Connecting |
To | case connecting |
Modified CBPeripheralState.disconnected
Declaration | |
---|---|
From | case Disconnected |
To | case disconnected |
Modified CBService
Declaration | Protocols | |
---|---|---|
From | class CBService : NSObject { unowned(unsafe) var peripheral: CBPeripheral { get } var UUID: CBUUID { get } var isPrimary: Bool { get } var includedServices: [CBService]? { get } var characteristics: [CBCharacteristic]? { get } } | -- |
To | class CBService : NSObject { unowned(unsafe) var peripheral: CBPeripheral { get } var uuid: CBUUID { get } var isPrimary: Bool { get } var includedServices: [CBService]? { get } var characteristics: [CBCharacteristic]? { 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 CBService : CVarArg { } extension CBService : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified CBService.uuid
Declaration | |
---|---|
From | var UUID: CBUUID { get } |
To | var uuid: CBUUID { get } |
Modified CBUUID
Declaration | Protocols | |
---|---|---|
From | class CBUUID : NSObject, NSCopying { var data: NSData { get } var UUIDString: String { get } init(string theString: String) class func UUIDWithString(_ theString: String) -> CBUUID init(data theData: NSData) class func UUIDWithData(_ theData: NSData) -> CBUUID init(CFUUID theUUID: CFUUID) class func UUIDWithCFUUID(_ theUUID: CFUUID) -> CBUUID init(NSUUID theUUID: NSUUID) class func UUIDWithNSUUID(_ theUUID: NSUUID) -> CBUUID } | NSCopying |
To | class CBUUID : NSObject, NSCopying { var data: Data { get } var uuidString: String { get } init(string theString: String) class func withString(_ theString: String) -> CBUUID init(data theData: Data) class func withData(_ theData: Data) -> CBUUID init(cfuuid theUUID: CFUUID) class func withCFUUID(_ theUUID: CFUUID) -> CBUUID init(nsuuid theUUID: UUID) class func withNSUUID(_ theUUID: UUID) -> CBUUID 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 CBUUID : CVarArg { } extension CBUUID : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified CBUUID.data
Declaration | |
---|---|
From | var data: NSData { get } |
To | var data: Data { get } |
Modified CBUUID.init(cfuuid: CFUUID)
Declaration | |
---|---|
From | init(CFUUID theUUID: CFUUID) |
To | init(cfuuid theUUID: CFUUID) |
Modified CBUUID.init(data: Data)
Declaration | |
---|---|
From | init(data theData: NSData) |
To | init(data theData: Data) |
Modified CBUUID.init(nsuuid: UUID)
Declaration | |
---|---|
From | init(NSUUID theUUID: NSUUID) |
To | init(nsuuid theUUID: UUID) |
Modified CBUUID.uuidString
Declaration | |
---|---|
From | var UUIDString: String { get } |
To | var uuidString: String { get } |