Using Xcode 6.4, we will create a sample project that will interface with the UniPay 1.5 and will perform the following activities:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController id="vXZ-lx-hvc" customClass="ViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="UniPay 1.5 Disconnected" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eDI-cL-7k6">
<rect key="frame" x="16" y="20" width="568" height="21"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BNt-fB-6Ni">
<rect key="frame" x="288" y="53" width="24" height="21"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8zA-5c-Igm">
<rect key="frame" x="16" y="49" width="264" height="30"/>
<animations/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<state key="normal" title="Get Firmware">
<color key="titleColor" red="0.068003949080000001" green="0.072250786509999998" blue="0.44422978940000002" alpha="1" colorSpace="calibratedRGB"/>
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="getFirmware:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="ONf-1N-HDd"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QvK-Hw-R0Z">
<rect key="frame" x="320" y="49" width="264" height="30"/>
<animations/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<state key="normal" title="Start MSR">
<color key="titleColor" red="0.068003949080000001" green="0.072250786509999998" blue="0.44422978940000002" alpha="1" colorSpace="calibratedRGB"/>
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="startMSR_CTLS:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="T65-oV-nQ4"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c2A-gb-32n">
<rect key="frame" x="288" y="91" width="24" height="21"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KML-Tf-QdE">
<rect key="frame" x="16" y="87" width="264" height="30"/>
<animations/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<state key="normal" title="Start ICC EMV">
<color key="titleColor" red="0.068003949080000001" green="0.072250786509999998" blue="0.44422978940000002" alpha="1" colorSpace="calibratedRGB"/>
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="startEMV:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="jXs-Hw-Y20"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="U0Y-vt-9An">
<rect key="frame" x="16" y="125" width="568" height="30"/>
<animations/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<state key="normal" title="Cancel Transaction">
<color key="titleColor" red="0.068003949080000001" green="0.072250786509999998" blue="0.44422978940000002" alpha="1" colorSpace="calibratedRGB"/>
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="cancelTransaction:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="rOr-8n-gJz"/>
</connections>
</button>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" misplaced="YES" editable="NO" text="LCD DISPLAY INFO" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="XfN-t5-Cxv">
<rect key="frame" x="16" y="188" width="568" height="128"/>
<animations/>
<color key="backgroundColor" red="0.98823529480000005" green="0.89411765340000005" blue="0.8156862855" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="20"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" misplaced="YES" editable="NO" text="LOG INFO" translatesAutoresizingMaskIntoConstraints="NO" id="Ybs-ph-PwR">
<rect key="frame" x="16" y="356" width="568" height="229"/>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="14"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="EMV LCD DISPLAY" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oIl-91-J9y">
<rect key="frame" x="16" y="168" width="568" height="21"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="LOG" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ngg-AN-FNd">
<rect key="frame" x="16" y="335" width="568" height="21"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="IhF-UM-clE">
<rect key="frame" x="320" y="87" width="264" height="30"/>
<animations/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<state key="normal" title="Complete ICC EMV">
<color key="titleColor" red="0.068003949080000001" green="0.072250786509999998" blue="0.44422978940000002" alpha="1" colorSpace="calibratedRGB"/>
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="completeEMV:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="sBg-6w-7jS"/>
</connections>
</button>
</subviews>
<animations/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<constraints>
<constraint firstItem="ngg-AN-FNd" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="07N-fx-7L7"/>
<constraint firstItem="Ybs-ph-PwR" firstAttribute="top" secondItem="ngg-AN-FNd" secondAttribute="bottom" id="0R5-b0-UV6"/>
<constraint firstItem="IhF-UM-clE" firstAttribute="top" secondItem="QvK-Hw-R0Z" secondAttribute="bottom" constant="8" id="3wT-WY-O6y"/>
<constraint firstItem="KML-Tf-QdE" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="4xE-db-nPj"/>
<constraint firstItem="XfN-t5-Cxv" firstAttribute="top" secondItem="U0Y-vt-9An" secondAttribute="bottom" constant="33" id="7QY-kl-X8y"/>
<constraint firstItem="eDI-cL-7k6" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="7fb-Cp-cCv"/>
<constraint firstItem="KML-Tf-QdE" firstAttribute="top" secondItem="8zA-5c-Igm" secondAttribute="bottom" constant="8" id="8tx-HW-5Nd"/>
<constraint firstItem="oIl-91-J9y" firstAttribute="top" secondItem="U0Y-vt-9An" secondAttribute="bottom" constant="13" id="9kb-SL-MjC"/>
<constraint firstItem="8zA-5c-Igm" firstAttribute="top" secondItem="eDI-cL-7k6" secondAttribute="bottom" constant="8" id="9p8-gV-NRe"/>
<constraint firstItem="QvK-Hw-R0Z" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="AJW-HY-0Gz"/>
<constraint firstItem="oIl-91-J9y" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="Azf-64-uHX"/>
<constraint firstAttribute="centerX" secondItem="c2A-gb-32n" secondAttribute="centerX" id="CIj-z7-20O"/>
<constraint firstItem="2fi-mo-0CV" firstAttribute="top" secondItem="Ybs-ph-PwR" secondAttribute="bottom" constant="15" id="Hr6-bD-4h3"/>
<constraint firstItem="ngg-AN-FNd" firstAttribute="top" secondItem="XfN-t5-Cxv" secondAttribute="bottom" constant="19" id="Hvp-Bq-Jmg"/>
<constraint firstItem="8zA-5c-Igm" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="KNU-4P-TIA"/>
<constraint firstItem="eDI-cL-7k6" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" id="NTQ-83-15F"/>
<constraint firstItem="IhF-UM-clE" firstAttribute="leading" secondItem="c2A-gb-32n" secondAttribute="trailing" constant="8" id="P4V-QW-bw0"/>
<constraint firstAttribute="centerX" secondItem="BNt-fB-6Ni" secondAttribute="centerX" id="RYY-mX-lui"/>
<constraint firstItem="Ybs-ph-PwR" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="W3k-et-sOA"/>
<constraint firstItem="c2A-gb-32n" firstAttribute="leading" secondItem="KML-Tf-QdE" secondAttribute="trailing" constant="8" id="WHf-cP-6l6"/>
<constraint firstItem="eDI-cL-7k6" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="WeO-Q4-l8C"/>
<constraint firstItem="U0Y-vt-9An" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="egE-ht-XL2"/>
<constraint firstItem="XfN-t5-Cxv" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="eoS-jT-tfR"/>
<constraint firstItem="Ybs-ph-PwR" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="gxc-v5-oE5"/>
<constraint firstItem="QvK-Hw-R0Z" firstAttribute="leading" secondItem="BNt-fB-6Ni" secondAttribute="trailing" constant="8" id="jaT-3B-urM"/>
<constraint firstItem="U0Y-vt-9An" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="l4a-eF-pGd"/>
<constraint firstItem="QvK-Hw-R0Z" firstAttribute="top" secondItem="eDI-cL-7k6" secondAttribute="bottom" constant="8" id="pAi-z4-TRm"/>
<constraint firstItem="XfN-t5-Cxv" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="pBl-HM-a2m"/>
<constraint firstItem="ngg-AN-FNd" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="qLF-YA-Iay"/>
<constraint firstItem="oIl-91-J9y" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="s28-T7-lrr"/>
<constraint firstItem="U0Y-vt-9An" firstAttribute="top" secondItem="IhF-UM-clE" secondAttribute="bottom" constant="8" id="wOn-ol-vv0"/>
<constraint firstItem="IhF-UM-clE" firstAttribute="trailing" secondItem="kh9-bI-dsS" secondAttribute="trailingMargin" id="wn6-dg-B6v"/>
<constraint firstItem="BNt-fB-6Ni" firstAttribute="leading" secondItem="8zA-5c-Igm" secondAttribute="trailing" constant="8" id="xXS-U6-Voz"/>
</constraints>
</view>
<connections>
<outlet property="connectedLabel" destination="eDI-cL-7k6" id="EYe-RB-KZq"/>
<outlet property="lcdTextView" destination="XfN-t5-Cxv" id="aN5-cG-h6Y"/>
<outlet property="logTextView" destination="Ybs-ph-PwR" id="EOn-F5-kzy"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>