OS - iOS: Difference between revisions

From Phidgets Support
No edit summary
No edit summary
Line 32: Line 32:
* {{Code|iphoneos/libPhidget22.a}}
* {{Code|iphoneos/libPhidget22.a}}
* {{Code|iphonesimulator/libPhidget22.a}}
* {{Code|iphonesimulator/libPhidget22.a}}
* {{Code|phidget21.h}}
* {{Code|phidget22.h}}


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

Revision as of 19:00, 26 April 2017


Welcome

Welcome to using Phidgets with iOS. 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 langauge 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: