OS - iOS: Difference between revisions

From Phidgets Support
No edit summary
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<metadesc>Communicate over USB with sensors, controllers and relays with Phidgets! Program in iOS using objective C or Swift.</metadesc>
[[Category:OS]]
[[Category:OS]]
__TOC__
__TOC__
Line 4: Line 5:
==Quick Downloads==
==Quick Downloads==
Already know what you're doing? Here you go:
Already know what you're doing? Here you go:
{{MacQuickDownloads}}
{{iOSQuickDownloads}}
{{iOSQuickDownloads}}


==Getting Started with iOS==
==Getting Started with iOS==
Welcome to using Phidgets with iOS. If you haven't already, check out the [[:Category:UserGuide|user guide]] for your device. If you are ready to go, the first step to creating an iOS application with Phidgets is installing the Phidget libraries on your macOS development machine!
Welcome to using Phidgets with iOS. If you haven't already, check out the [[:Category:UserGuide|user guide]] for your device. If you are ready to go, the first step to creating an iOS application with Phidgets is learning about the Network Server!
 
===Install===
The best way to install the Phidget libraries on your macOS development machine is to follow the [[OS - OS X#Getting started with macOS| getting started with macOS]] guide on the macOS page. When you have finished the guide, come back and continue reading!


===Network Server===
===Network Server===
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 Server.  
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 Server.  
[[Image:iOS-connection.jpg|link=|center]]
*Host computer: the computer that is physically connected to the Phidgets via USB and is running the Phidget Network Server.
*Host computer: the computer that is physically connected to the Phidgets via USB and is running the Phidget Network Server.
*Client computer: a computer running a Phidgets application that accesses Phidgets connected to the host computer. When developing for iOS, your iOS device acts as the client.
*Client computer: a computer running a Phidgets application that accesses Phidgets connected to the host computer. When developing for iOS, your iOS device acts as the client.




The next step is to install the Phidget libraries on your host computer, and get the Phidget Network Server up and running. Start by following the ''Getting started'' guide, and continue with the ''Network Server'' guide. When you are done, come back and finish this guide!
The next step is to install the Phidget libraries on your host computer, and get the Phidget Network Server up and running. Follow the ''Getting started'' guide, and continue with the ''Network Server'' guide for your operating system. When you are done, come back and finish this guide!
*[[OS - Windows#Phidget Network Server| Windows]]
*[[OS - Windows| Windows]]
*[[OS - OS X#Phidget Network Server| macOS]]
*[[OS - OS X| macOS]]
*[[OS - Linux#Phidget Network Server| Linux]]
*[[OS - Linux| Linux]]
*[[OS - Phidget SBC#Phidget Network Server| Phidget Single Board Computer]]
*[[OS - Phidget SBC| Phidget Single Board Computer]]


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

Revision as of 18:51, 6 February 2018

Quick Downloads

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

Getting Started with iOS

Welcome to using Phidgets with iOS. If you haven't already, check out the user guide for your device. If you are ready to go, the first step to creating an iOS application with Phidgets is learning about the Network Server!

Network Server

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 Server.

IOS-connection.jpg
  • Host computer: the computer that is physically connected to the Phidgets via USB and is running the Phidget Network Server.
  • Client computer: a computer running a Phidgets application that accesses Phidgets connected to the host computer. When developing for iOS, your iOS device acts as the client.


The next step is to install the Phidget libraries on your host computer, and get the Phidget Network Server up and running. Follow the Getting started guide, and continue with the Network Server guide for your operating system. When you are done, come back and finish this guide!

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: