USBDeviceSwift:用纯Swift编写的IOKit.usb和IOKit.hid的包装器,使您可以方便地使用USB设备

时间:2021-05-03 12:04:48
【文件属性】:
文件名称:USBDeviceSwift:用纯Swift编写的IOKit.usb和IOKit.hid的包装器,使您可以方便地使用USB设备
文件大小:249KB
文件格式:ZIP
更新时间:2021-05-03 12:04:48
macos swift usb osx serial-ports USBDeviceSwift USBDeviceSwift-是用纯Swift编写的IOKit.usb和IOKit.hid和IOKit.serial的包装,可让您方便地使用USB设备。 在Swift上使用IOKit.usb和IOKit.hid以及IOKit.serial是一件很痛苦的IOKit.serial 。 很多未转换的C代码,指针使您的生活更加艰难。 该库提供基本的连接/断开事件,转换后的函数以发送和接收请求以及示例。 入门 要求 Mac OS X 10.10 Xcode 8+ 斯威夫特4 安装 可可豆 是Cocoa项目的依赖项管理器。 将USBDeviceSwift指定到项目的Podfile : # Uncomment the next line to define a global platform for your project # platform :ios, '
【文件预览】:
USBDeviceSwift-master
----STM32DeviceExample()
--------STM32DeviceExample.xcodeproj()
--------STM32DeviceExample()
--------Media()
----Sources()
--------USBDeviceSwift.h(532B)
--------USBDevice.swift(3KB)
--------SerialDeviceMonitor.swift(3KB)
--------HIDDevice.swift(2KB)
--------USBDeviceMonitor.swift(7KB)
--------HIDDeviceMonitor.swift(4KB)
--------SerialDevice.swift(976B)
----USBDeviceSwift.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(14KB)
--------STM32DeviceExample.xcworkspace()
----CleanFlightSerialExample()
--------CleanFlightSerialExample()
--------CleanFlightSerialExample.xcodeproj()
--------Media()
----RaceflightControllerHIDExample()
--------RaceflightControllerHIDExample()
--------RaceflightControllerHIDExample.xcodeproj()
--------Media()
----LICENSE(1KB)
----USBDeviceSwift.xcworkspace()
--------contents.xcworkspacedata(828B)
----README.md(2KB)
----USBDeviceSwift.podspec(7KB)
----Package.swift(406B)
----Supporting Files()
--------Info.plist(860B)
--------Defaults.xcconfig(716B)
----.gitignore(382B)
----CHANGELOG.md(428B)

网友评论