OS - iOS

From Phidgets Support
Revision as of 19:38, 27 April 2017 by Lmpacent (talk | contribs)

Quick Downloads

Already know what you're doing? Here you go:

Getting Started with iOS

Welcome to using Phidgets with iOS. Before you start this guide, you might want to check out your device's user guide first to ensure your hardware is working properly. If you are ready to go, the first step in creating an iOS application with Phidgets is getting the Phidget Network Service up and running!

Network Service

Phidgets cannot be connected directly to iOS devices, therefore, in order to use Phidgets with your iOS device, you must have a host computer that is running the Phidget Network Service. Select the operating system of your host computer from the list below to set up your network service:

Installing Drivers

You should now have the Phidget Network Service running on your host computer. Starting to code your application is now in sight!

The next step is downloading drivers for your macOS development machine:

The last thing to install is the Phidget libraries that you will code your program against. Here they are:

Note the three main files that are included in the iOS drivers download:

  • iphoneos/libPhidget22.a
  • iphonesimulator/libPhidget22.a
  • phidget22.h

You will need to reference these files in your Xcode application. More information is provided in the programming language guides that are linked below.

Programming

Now that you have everything set up, all you have to do is code! Select from one of the following programming languages to get started: