Products for USB Sensing and Control
Welcome to using Phidgets with Swift! By using Swift, you will have access to the complete Phidget22 API, including events.
Xcode is an integrated development environment for macOS. It is commonly used as a tool for developing software for macOS and iOS applications.
First, make sure you have the following installed:
● Xcode from the Mac App Store
You will also need to install CocoaPods in order to access the Phidget libraries for Swift. You can do this by opening the terminal and entering the following command:
There are two ways you can use Phidgets in Xcode. You can either start from a sample project provided by our code sample generator, or you can start a new project from scratch.
Select your preferred method below for instructions: