Arti3DPlayer/USBDeviceSwift
wrapper for IOKit.usb and IOKit.hid written on pure Swift that allows you convenient work with USB devices
Getting Started
Requirements
- Mac OS X 10.10
- Xcode 8+
- Swift 4
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects.
Specify USBDeviceSwift into your project's Podfile:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'testusb' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for testusb
pod 'USBDeviceSwift'
endThen run the following command:
$ pod installSwift Package Manager
import PackageDescription
let package = Package(
name: "Example project",
dependencies: [
.Package(url: "https://github.com/Arti3DPlayer/USBDeviceSwift.git", majorVersion: 1),
]
)Examples
You will find all examples on Wiki page here
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Change Log
This can be found in the CHANGELOG.md file.
Package Metadata
Repository: Arti3DPlayer/USBDeviceSwift
Stars: 313
Forks: 61
Open issues: 11
Default branch: master
Primary language: swift
License: MIT
Topics: cocoa, iohid, iokit, macos, osx, serial-ports, swift, usb, usb-devices
README: README.md