AIFit-SDK for ble body fat scale
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

SetUserViewController.xib 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SetUserViewController">
  13. <connections>
  14. <outlet property="ageTextF" destination="vHr-Ek-MOn" id="PsD-0X-Yz0"/>
  15. <outlet property="heightTextF" destination="gaE-XL-e9v" id="6hD-fd-SIm"/>
  16. <outlet property="sexSegmentedC" destination="zDW-b7-hgQ" id="wmY-vU-6TK"/>
  17. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  22. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Set User Info" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cCJ-dU-qVg">
  26. <rect key="frame" x="107" y="60" width="200" height="40"/>
  27. <constraints>
  28. <constraint firstAttribute="width" constant="200" id="L3v-jq-db6"/>
  29. <constraint firstAttribute="height" constant="40" id="aAm-Uo-8Wh"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  32. <nil key="textColor"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="zDW-b7-hgQ">
  36. <rect key="frame" x="207" y="180" width="153" height="29"/>
  37. <segments>
  38. <segment title="Male(1)"/>
  39. <segment title="Female(2)"/>
  40. </segments>
  41. </segmentedControl>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Age :" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sZN-4s-rmi">
  43. <rect key="frame" x="128" y="253" width="39" height="20.5"/>
  44. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  45. <nil key="textColor"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Height :" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Smm-hx-0FP">
  49. <rect key="frame" x="107" y="323" width="60" height="20.5"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  51. <nil key="textColor"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="25" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="vHr-Ek-MOn">
  55. <rect key="frame" x="207" y="248" width="153" height="30"/>
  56. <nil key="textColor"/>
  57. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  58. <textInputTraits key="textInputTraits"/>
  59. </textField>
  60. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="172" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gaE-XL-e9v">
  61. <rect key="frame" x="207" y="318" width="153" height="30"/>
  62. <nil key="textColor"/>
  63. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  64. <textInputTraits key="textInputTraits"/>
  65. </textField>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Sex :" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iwH-k3-tJl">
  67. <rect key="frame" x="129" y="183.5" width="38" height="21"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  69. <nil key="textColor"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iag-qe-5sf">
  73. <rect key="frame" x="334" y="55" width="60" height="50"/>
  74. <constraints>
  75. <constraint firstAttribute="height" constant="50" id="0Oe-e7-65D"/>
  76. <constraint firstAttribute="width" constant="60" id="YZ8-qE-lCY"/>
  77. </constraints>
  78. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  79. <state key="normal" title="SAVE"/>
  80. <connections>
  81. <action selector="saveUserInfo:" destination="-1" eventType="touchUpInside" id="GNI-Zp-ynI"/>
  82. </connections>
  83. </button>
  84. </subviews>
  85. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  86. <constraints>
  87. <constraint firstItem="gaE-XL-e9v" firstAttribute="width" secondItem="vHr-Ek-MOn" secondAttribute="width" id="8Iv-Mw-cr8"/>
  88. <constraint firstItem="vHr-Ek-MOn" firstAttribute="leading" secondItem="zDW-b7-hgQ" secondAttribute="leading" id="96O-ga-aal"/>
  89. <constraint firstItem="iwH-k3-tJl" firstAttribute="centerY" secondItem="zDW-b7-hgQ" secondAttribute="centerY" id="ABB-er-Ht3"/>
  90. <constraint firstItem="zDW-b7-hgQ" firstAttribute="leading" secondItem="iwH-k3-tJl" secondAttribute="trailing" constant="40" id="AoC-0V-OYP"/>
  91. <constraint firstItem="vHr-Ek-MOn" firstAttribute="width" secondItem="zDW-b7-hgQ" secondAttribute="width" id="KMM-XI-gfe"/>
  92. <constraint firstItem="zDW-b7-hgQ" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Pht-uG-LBF"/>
  93. <constraint firstAttribute="trailing" secondItem="iag-qe-5sf" secondAttribute="trailing" constant="20" id="W5p-Aj-xhW"/>
  94. <constraint firstItem="gaE-XL-e9v" firstAttribute="leading" secondItem="vHr-Ek-MOn" secondAttribute="leading" id="YMY-14-YT8"/>
  95. <constraint firstItem="iag-qe-5sf" firstAttribute="centerY" secondItem="cCJ-dU-qVg" secondAttribute="centerY" id="ZAV-ME-3YI"/>
  96. <constraint firstItem="zDW-b7-hgQ" firstAttribute="top" secondItem="cCJ-dU-qVg" secondAttribute="bottom" constant="80" id="auh-QW-xIM"/>
  97. <constraint firstItem="gaE-XL-e9v" firstAttribute="top" secondItem="vHr-Ek-MOn" secondAttribute="bottom" constant="40" id="cv9-ZC-Rh7"/>
  98. <constraint firstItem="cCJ-dU-qVg" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="d92-zY-wNc"/>
  99. <constraint firstItem="Smm-hx-0FP" firstAttribute="trailing" secondItem="sZN-4s-rmi" secondAttribute="trailing" id="dGT-7Y-6Bu"/>
  100. <constraint firstItem="Smm-hx-0FP" firstAttribute="centerY" secondItem="gaE-XL-e9v" secondAttribute="centerY" id="fRX-JI-rOy"/>
  101. <constraint firstItem="vHr-Ek-MOn" firstAttribute="top" secondItem="zDW-b7-hgQ" secondAttribute="bottom" constant="40" id="iEf-tC-j8I"/>
  102. <constraint firstItem="sZN-4s-rmi" firstAttribute="trailing" secondItem="iwH-k3-tJl" secondAttribute="trailing" id="nNp-Qb-jqf"/>
  103. <constraint firstItem="cCJ-dU-qVg" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="60" id="qxQ-PV-4FH"/>
  104. <constraint firstItem="sZN-4s-rmi" firstAttribute="centerY" secondItem="vHr-Ek-MOn" secondAttribute="centerY" id="wrr-fg-Jqj"/>
  105. </constraints>
  106. <point key="canvasLocation" x="137.68115942028987" y="152.67857142857142"/>
  107. </view>
  108. </objects>
  109. </document>