52
"Y4B-gd-hVo" secondAttribute="leading" constant="8"
Y4B-gd-hVo" secondAttribute="top"
"Y4B-gd-hVo" secondAttribute="leading" constant="8"
MFI-aU-Awe" secondAttribute="height"
customColorSpace="calibratedWhite"/>
8bC-Xf-vdC" secondAttribute="leadingMargin" constant="-20"
secondAttribute="trailing" constant="-20"
8bC-Xf-vdC" secondAttribute="leadingMargin" constant="-20"
secondAttribute="trailing" constant="-20"
secondAttribute="trailing" constant="-20"
secondAttribute="bottom" constant="8"
secondAttribute="bottom" constant="20"
secondAttribute="trailing" constant="-20"
8bC-Xf-vdC" secondAttribute="leadingMargin" constant="-20"
secondAttribute="bottom"
secondAttribute="bottom"
secondAttribute="bottom"
8bC-Xf-vdC" secondAttribute="leadingMargin" constant="-20"
</viewController>
<placeholder
firstResponder"/>
</objects>
<point
</scene>
</scenes>
</document>
7.8.5 Step 5: Finalize the View Controller File
In the view controller file, perform the following:
• Set delegate and initialize
connect to BLE, enter the friendly name of the device Reference:
override
func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
IDT_NEO2.sharedController().delegate
IDT_NEO2.sharedController().device_setBLEFriendlyName("VP-2722");
device ble name
IDT_NEO2.sharedController().device_enableBLEDeviceSearch(nil);
}
<constraint
<constraint
id="QDs-Pg-soH"/>
<constraint
<constraint
</constraints>
</view>
</subviews>
<color
key="backgroundColor" white="1" alpha="1" colorSpace="custom"
<constraints>
<constraint
firstItem="etO-Zq-HWr" firstAttribute="leading" secondItem="
<constraint
firstAttribute="trailingMargin" secondItem="rZO-0f-qR3"
<constraint
firstItem="rZO-0f-qR3" firstAttribute="leading" secondItem="
<constraint
firstAttribute="trailingMargin" secondItem="Y4B-gd-hVo"
<constraint
firstAttribute="trailingMargin" secondItem="ZFI-2h-07z"
<constraint
firstItem="Y4B-gd-hVo" firstAttribute="top" secondItem="ZFI-2h-07z"
<constraint
firstItem="ZFI-2h-07z" firstAttribute="top" secondItem="etO-Zq-HWr"
<constraint
firstAttribute="trailingMargin" secondItem="etO-Zq-HWr"
<constraint
firstItem="Y4B-gd-hVo" firstAttribute="leading" secondItem="
<constraint
firstItem="wfy-db-euE" firstAttribute="top" secondItem="Y4B-gd-hVo"
id="l4D-dJ-DrY"/>
<constraint
firstItem="etO-Zq-HWr" firstAttribute="top" secondItem="y3c-jy-aDJ"
id="pfJ-Fb-EWV"/>
<constraint
firstItem="rZO-0f-qR3" firstAttribute="top" secondItem="etO-Zq-HWr"
id="vXY-dJ-IM4"/>
<constraint
firstItem="ZFI-2h-07z" firstAttribute="leading" secondItem="
</constraints>
</view>
<connections>
<outlet
property="connectionStatus" destination="rZO-0f-qR3"
<outlet
property="lcdTextView" destination="MFI-aU-Awe"
<outlet
property="logTextView" destination="RTX-Hq-mMT"
</connections>
placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="
key="canvasLocation" x="698"
IDT_NEO2
singleton object in the
=
firstItem="MFI-aU-Awe" firstAttribute="leading"
id="JT5-MI-88R"/>
firstItem="8IP-lE-FQE" firstAttribute="top" secondItem="
firstItem="RTX-Hq-mMT" firstAttribute="leading"
id="X2o-dk-ffd"/>
firstItem="RTX-Hq-mMT" firstAttribute="height" secondItem="
id="aOL-Ir-y48"/>
id="569-PZ-U8Q"/>
id="7Hr-mA-xXY"/>
id="CDb-2X-s6Q"/>
id="FoY-PQ-8gC"/>
id="HYU-Az-cXm"/>
id="LZS-v7-y1M"/>
id="Pcm-zb-zXS"/>
id="S1d-up-ufn"/>
id="fxv-DL-Ql8"/>
id="y5F-nP-7CB"/>
y="449"/>
viewDidLoad
Allocate/Initialize IDT_NEO2 Object
self
Core Implementation NEO2: Swift
id="8PR-rE-l6S"/>
id="Hzq-Kn-xTJ"/>
id="NRT-pZ-ik7"/>
method. To automatically
//set to
#80152504-001 IDTech iOS SDK Guide for NEO2
secondItem=
secondItem=
Need help?
Do you have a question about the NEO2 and is the answer not in the manual?