26
Core Implementation NEO2: Objective-C
<color key=
"backgroundColor"
red=
"0.98823529480000005"
green=
"
0.89411765340000005"
blue=
"0.8156862855"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint firstAttribute=
"height"
constant=
"128"
id
=
"cbD-9q-LWB"
/>
</constraints>
<fontDescription key=
"fontDescription"
name=
"HelveticaNeue"
family=
"
Helvetica Neue"
pointSize=
"20"
/>
<textInputTraits key=
"textInputTraits"
autocapitalizationType=
"sentences"
/>
</textView>
<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"
/>
<fontDescription key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<nil key=
"highlightedColor"
/>
</label>
<button opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"
center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id
=
"8zA-5c-Igm"
>
<rect key=
"frame"
x=
"20"
y=
"53"
width=
"374"
height=
"26"
/>
<color key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint firstAttribute=
"height"
constant=
"26"
id
=
"qU1-ou-A1l"
/>
</constraints>
<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=
"custom"
customColorSpace=
"sRGB"
/>
<color key=
"titleShadowColor"
red=
"0.5"
green=
"0.5"
blue=
"0.5"
alpha=
"1
"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</state>
<connections>
<action selector=
"getFirmware:"
destination=
"vXZ-lx-hvc"
eventType=
"
touchUpInside"
id
=
"ONf-1N-HDd"
/>
</connections>
</button>
<button opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"
center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id
=
"QvK-Hw-R0Z"
>
<rect key=
"frame"
x=
"20"
y=
"87"
width=
"374"
height=
"26"
/>
<color key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint firstAttribute=
"height"
constant=
"26"
id
=
"TZO-wC-gU1"
/>
</constraints>
<fontDescription key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<state key=
"normal"
title=
"Scan for NEO2 BLE Device"
>
<color key=
"titleColor"
red=
"0.068003949080000001"
green=
"
0.072250786509999998"
blue=
"0.44422978940000002"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color key=
"titleShadowColor"
red=
"0.5"
green=
"0.5"
blue=
"0.5"
alpha=
"1
"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</state>
<connections>
<action selector=
"startBLE:"
destination=
"vXZ-lx-hvc"
eventType=
"
touchUpInside"
id
=
"gZ8-hp-pgk"
/>
</connections>
</button>
<label opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
fixedFrame=
"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"
/>
<autoresizingMask key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"
YES"
/>
<fontDescription key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<nil key=
"highlightedColor"
/>
</label>
<button opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"
center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id
=
"KML-Tf-QdE"
>
<rect key=
"frame"
x=
"20"
y=
"121"
width=
"374"
height=
"26"
/>
<color key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint firstAttribute=
"height"
constant=
"26"
id
=
"vhA-Zy-E5Q"
/>
</constraints>
<fontDescription key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<state key=
"normal"
title=
"Start Transaction"
>
<color key=
"titleColor"
red=
"0.068003949080000001"
green=
"
0.072250786509999998"
blue=
"0.44422978940000002"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color key=
"titleShadowColor"
red=
"0.5"
green=
"0.5"
blue=
"0.5"
alpha=
"1
#80152504-001 IDTech iOS SDK Guide for NEO2