Commit 83f515e1529e2ba9c8c5ece091cf1a38a1ac4aff

Authored by Imanol-Mikel Barba Sabariego
1 parent e3c59983

--no commit message

DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m
... ... @@ -100,6 +100,10 @@
100 100  
101 101 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
102 102 {
  103 + if([[[[tableView cellForRowAtIndexPath:indexPath] textLabel] text] isEqualToString:@"Searching for devices..."])
  104 + {
  105 + return;
  106 + }
103 107 [self _showConnectingView];
104 108 EMDeviceBasicDescription *description = [[[EMConnectionListManager sharedManager] devices] objectAtIndex:[indexPath row]];
105 109 [[EMConnectionManager sharedManager] connectDevice:description onSuccess:^
... ...
DUREX Vendor Control/FirstAppExample/MainStoryboard.storyboard
... ... @@ -143,7 +143,7 @@
143 143 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
144 144 <subviews>
145 145 <button opaque="NO" contentMode="scaleAspectFit" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bXZ-vt-REt">
146   - <rect key="frame" x="96" y="220" width="128" height="128"/>
  146 + <rect key="frame" x="96" y="161" width="128" height="128"/>
147 147 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
148 148 <state key="normal" backgroundImage="bluetooth.png">
149 149 <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
... ... @@ -153,7 +153,7 @@
153 153 </connections>
154 154 </button>
155 155 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connect to Device" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oyW-sA-Lfb">
156   - <rect key="frame" x="86" y="356" width="149" height="21"/>
  156 + <rect key="frame" x="86" y="297" width="149" height="21"/>
157 157 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
158 158 <fontDescription key="fontDescription" type="system" pointSize="17"/>
159 159 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
... ...
DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type