Template:PT3 SWIFT MAC XCODE: Difference between revisions

From Phidgets Support
(Created page with "<div class="phd-slide-deck" data-deck="PT3_SWIFT_MAC_XCODE"> <div class="phd-slide-deck-header"><h3>Language - Swift</h3></div> <div class="phd-slides"> <div class="phd-slide"...")
 
No edit summary
 
Line 21: Line 21:
<p>First, make sure you have the following installed:</p>
<p>First, make sure you have the following installed:</p>


<p>● Phidgets Drivers for MacOS (see Part 1 of this user guide)</p>
<p>● <span>[https://www.phidgets.com/docs/OS_-_macOS Phidgets Drivers for macOS]</span></p>


<p>● <span>[https://developer.apple.com/xcode/ Xcode]</span> from the Mac App Store</p>
<p>● <span>[https://developer.apple.com/xcode/ Xcode]</span> from the Mac App Store</p>

Latest revision as of 22:18, 17 December 2024

Windows with Xcode

Welcome to using Phidgets with Swift! By using Swift, you will have access to the complete Phidget22 API, including events.

Xcode is an integrated development environment for macOS. It is commonly used as a tool for developing software for macOS and iOS applications.

Requirements

First, make sure you have the following installed:

Phidgets Drivers for macOS

Xcode from the Mac App Store


You will also need to install CocoaPods in order to access the Phidget libraries for Swift. You can do this by opening the terminal and entering the following command:

Using Phidgets in Your Programs

There are two ways you can use Phidgets in Xcode. You can either start from a sample project provided by our code sample generator, or you can start a new project from scratch.

Select your preferred method below for instructions:

«
»