OS - iOS: Difference between revisions

From Phidgets Support
No edit summary
No edit summary
Line 27: Line 27:


*[{{SERVER}}/downloads/libraries/Phidget-iPhone.zip iOS drivers]
*[{{SERVER}}/downloads/libraries/Phidget-iPhone.zip iOS drivers]
There are three main files that are included in the iOS drivers download:
* {{Code|iphoneos/libPhidget22.a}}
* {{Code|iphonesimulator/libPhidget22.a}}
* {{Code|phidget21.h}}
How to use these files in your application will be discussed in both the Objective C and Swift language guides.


===Programming===
===Programming===

Revision as of 18:51, 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:

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

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

How to use these files in your application will be discussed in both the Objective C and Swift language guides.

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: