IOBluetoothUI Changes for Swift
IOBluetoothUI
Removed BluetoothKeyboardReturnType.value
Added BluetoothKeyboardReturnType.init(rawValue: UInt32)
Added BluetoothKeyboardReturnType.rawValue
Modified BluetoothKeyboardReturnType [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct BluetoothKeyboardReturnType {
init(_ value: UInt32)
var value: UInt32
} | -- |
| To | struct BluetoothKeyboardReturnType : RawRepresentable {
init(_ rawValue: UInt32)
init(rawValue rawValue: UInt32)
var rawValue: UInt32
} | RawRepresentable |
Modified IOBluetoothPairingController
| Declaration | |
|---|---|
| From | class IOBluetoothPairingController : NSWindowController {
init!() -> IOBluetoothPairingController
class func pairingController() -> IOBluetoothPairingController!
class func withPairingControllerRef(_ pairingControllerRef: IOBluetoothPairingController!) -> IOBluetoothPairingController!
func getPairingControllerRef() -> Unmanaged<IOBluetoothPairingController>!
func runModal() -> Int32
func getResults() -> [AnyObject]!
func setOptions(_ options: IOBluetoothServiceBrowserControllerOptions)
func getOptions() -> IOBluetoothServiceBrowserControllerOptions
func setSearchAttributes(_ searchAttributes: UnsafePointer<IOBluetoothDeviceSearchAttributes>)
func getSearchAttributes() -> UnsafePointer<IOBluetoothDeviceSearchAttributes>
func addAllowedUUID(_ allowedUUID: IOBluetoothSDPUUID!)
func addAllowedUUIDArray(_ allowedUUIDArray: [AnyObject]!)
func clearAllowedUUIDs()
func setTitle(_ windowTitle: String!)
func getTitle() -> String!
func setDescriptionText(_ descriptionText: String!)
func getDescriptionText() -> String!
func setPrompt(_ prompt: String!)
func getPrompt() -> String!
} |
| To | class IOBluetoothPairingController : NSWindowController {
init!()
class func pairingController() -> IOBluetoothPairingController!
class func withPairingControllerRef(_ pairingControllerRef: IOBluetoothPairingController!) -> IOBluetoothPairingController!
func getPairingControllerRef() -> Unmanaged<IOBluetoothPairingController>!
func runModal() -> Int32
func getResults() -> [AnyObject]!
func setOptions(_ options: IOBluetoothServiceBrowserControllerOptions)
func getOptions() -> IOBluetoothServiceBrowserControllerOptions
func setSearchAttributes(_ searchAttributes: UnsafePointer<IOBluetoothDeviceSearchAttributes>)
func getSearchAttributes() -> UnsafePointer<IOBluetoothDeviceSearchAttributes>
func addAllowedUUID(_ allowedUUID: IOBluetoothSDPUUID!)
func addAllowedUUIDArray(_ allowedUUIDArray: [AnyObject]!)
func clearAllowedUUIDs()
func setTitle(_ windowTitle: String!)
func getTitle() -> String!
func setDescriptionText(_ descriptionText: String!)
func getDescriptionText() -> String!
func setPrompt(_ prompt: String!)
func getPrompt() -> String!
} |
Modified IOBluetoothServiceBrowserController
| Declaration | |
|---|---|
| From | class IOBluetoothServiceBrowserController : NSWindowController {
init!(_ inOptions: IOBluetoothServiceBrowserControllerOptions) -> IOBluetoothServiceBrowserController
class func serviceBrowserController(_ inOptions: IOBluetoothServiceBrowserControllerOptions) -> IOBluetoothServiceBrowserController!
class func browseDevices(_ outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>, options inOptions: IOBluetoothServiceBrowserControllerOptions) -> IOReturn
class func browseDevicesAsSheetForWindow(_ outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>, options inOptions: IOBluetoothServiceBrowserControllerOptions, window inWindow: NSWindow!) -> IOReturn
class func withServiceBrowserControllerRef(_ serviceBrowserControllerRef: IOBluetoothServiceBrowserController!) -> IOBluetoothServiceBrowserController!
func getServiceBrowserControllerRef() -> Unmanaged<IOBluetoothServiceBrowserController>!
func discover(_ outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>) -> IOReturn
func discoverAsSheetForWindow(_ sheetWindow: NSWindow!, withRecord outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>) -> IOReturn
func discoverWithDeviceAttributes(_ deviceAttributes: UnsafeMutablePointer<IOBluetoothDeviceSearchAttributes>, serviceList serviceArray: [AnyObject]!, serviceRecord outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>) -> IOReturn
func setOptions(_ inOptions: IOBluetoothServiceBrowserControllerOptions)
func runModal() -> Int32
func beginSheetModalForWindow(_ sheetWindow: NSWindow!, modalDelegate modalDelegate: AnyObject!, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) -> IOReturn
func getResults() -> [AnyObject]!
func getOptions() -> IOBluetoothServiceBrowserControllerOptions
func setSearchAttributes(_ searchAttributes: UnsafePointer<IOBluetoothDeviceSearchAttributes>)
func getSearchAttributes() -> UnsafePointer<IOBluetoothDeviceSearchAttributes>
func addAllowedUUID(_ allowedUUID: IOBluetoothSDPUUID!)
func addAllowedUUIDArray(_ allowedUUIDArray: [AnyObject]!)
func clearAllowedUUIDs()
func setTitle(_ windowTitle: String!)
func getTitle() -> String!
func setDescriptionText(_ descriptionText: String!)
func getDescriptionText() -> String!
func setPrompt(_ prompt: String!)
func getPrompt() -> String!
} |
| To | class IOBluetoothServiceBrowserController : NSWindowController {
init!(_ inOptions: IOBluetoothServiceBrowserControllerOptions)
class func serviceBrowserController(_ inOptions: IOBluetoothServiceBrowserControllerOptions) -> IOBluetoothServiceBrowserController!
class func browseDevices(_ outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>, options inOptions: IOBluetoothServiceBrowserControllerOptions) -> IOReturn
class func browseDevicesAsSheetForWindow(_ outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>, options inOptions: IOBluetoothServiceBrowserControllerOptions, window inWindow: NSWindow!) -> IOReturn
class func withServiceBrowserControllerRef(_ serviceBrowserControllerRef: IOBluetoothServiceBrowserController!) -> IOBluetoothServiceBrowserController!
func getServiceBrowserControllerRef() -> Unmanaged<IOBluetoothServiceBrowserController>!
func discover(_ outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>) -> IOReturn
func discoverAsSheetForWindow(_ sheetWindow: NSWindow!, withRecord outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>) -> IOReturn
func discoverWithDeviceAttributes(_ deviceAttributes: UnsafeMutablePointer<IOBluetoothDeviceSearchAttributes>, serviceList serviceArray: [AnyObject]!, serviceRecord outRecord: AutoreleasingUnsafeMutablePointer<IOBluetoothSDPServiceRecord?>) -> IOReturn
func setOptions(_ inOptions: IOBluetoothServiceBrowserControllerOptions)
func runModal() -> Int32
func beginSheetModalForWindow(_ sheetWindow: NSWindow!, modalDelegate modalDelegate: AnyObject!, didEndSelector didEndSelector: Selector, contextInfo contextInfo: UnsafeMutablePointer<Void>) -> IOReturn
func getResults() -> [AnyObject]!
func getOptions() -> IOBluetoothServiceBrowserControllerOptions
func setSearchAttributes(_ searchAttributes: UnsafePointer<IOBluetoothDeviceSearchAttributes>)
func getSearchAttributes() -> UnsafePointer<IOBluetoothDeviceSearchAttributes>
func addAllowedUUID(_ allowedUUID: IOBluetoothSDPUUID!)
func addAllowedUUIDArray(_ allowedUUIDArray: [AnyObject]!)
func clearAllowedUUIDs()
func setTitle(_ windowTitle: String!)
func getTitle() -> String!
func setDescriptionText(_ descriptionText: String!)
func getDescriptionText() -> String!
func setPrompt(_ prompt: String!)
func getPrompt() -> String!
} |
| Declaration | |
|---|---|
| From | init!(_ inOptions: IOBluetoothServiceBrowserControllerOptions) -> IOBluetoothServiceBrowserController |
| To | init!(_ inOptions: IOBluetoothServiceBrowserControllerOptions) |