OS - iOS: Difference between revisions

From Phidgets Support
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:OS]]
[[Category:OS]]
__TOC__
{|
 
|style="vertical-align:middle; width: 60%;"|
==Quick Downloads==
Already know what you're doing? Here you go:
{{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 downloading the Phidget libraries on your macOS development machine!
Welcome to using Phidgets with iOS!


===Download===
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 downloading the Phidget libraries on your macOS development machine!
|{{TOC limit|3}}
|}
==Download==
The Phidget libraries for iOS development are available here:
The Phidget libraries for iOS development are available here:
*[{{SERVER}}/downloads/phidget22/libraries/ios/Phidget22_iOS.zip iOS Libraries]
*[https://cdn.phidgets.com/downloads/phidget22/libraries/ios/Phidget22_iOS.zip iOS Libraries]


Download and unpack the libraries. You will need to reference these files from your Xcode project in order to use Phidgets. This step is covered in detail after you select your programming language below.
Download and unpack the libraries. You will need to reference these files from your Xcode project in order to use Phidgets. This step is covered in detail after you select your programming language below. If you need to access older versions of the libraries, [https://www.phidgets.com/downloads/phidget22/libraries/ios/ click here].


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


Line 24: Line 23:




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. Start by following the ''Getting Started'' guide, and continue with the ''Network Server'' guide. When you are done, come back and finish this guide!
*[[OS - Windows#Phidget Network Server| Windows]]
*[[OS - Windows#Phidget Network Server| Windows]]
*[[OS - OS X#Phidget Network Server| macOS]]
*[[OS - macOS#Phidget Network Server| macOS]]
*[[OS - Linux#Phidget Network Server| Linux]]
*[[OS - Linux#Phidget Network Server| Linux]]
*[[OS - Phidget SBC#Phidget Network Server| Phidget Single Board Computer]]
*[[OS - Phidget SBC#Phidget Network Server| Phidget Single Board Computer]]


===Programming===
==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:
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:


* [[Language - Objective C#iOS|Objective C]]
* [[Language - Objective C#iOS|Objective C]]
* [[Language - Swift#iOS|Swift]]
* [[Language - Swift#iOS|Swift]]
==Software License==
By downloading the iOS library you agree to adhere to the terms of the [{{SERVER}}/documentation/Licenses/Phidgets_EULA.pdf Phidgets End User License Agreement]. The C API section of Phidget22 is covered by the [https://opensource.org/licenses/BSD-3-Clause The 3-Clause BSD License]. The source code of C API can be found [{{SERVER}}/downloads/phidget22/libraries/linux/libphidget22.tar.gz here].

Latest revision as of 21:23, 19 December 2024

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 downloading the Phidget libraries on your macOS development machine!

Download

The Phidget libraries for iOS development are available here:

Download and unpack the libraries. You will need to reference these files from your Xcode project in order to use Phidgets. This step is covered in detail after you select your programming language below. If you need to access older versions of the libraries, click here.

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. Start by following the Getting Started guide, and continue with the Network Server guide. 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:

Software License

By downloading the iOS library you agree to adhere to the terms of the Phidgets End User License Agreement. The C API section of Phidget22 is covered by the The 3-Clause BSD License. The source code of C API can be found here.