TextFieldTableViewCell.xib 5.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14810.11" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14766.13"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" rowHeight="54" id="89D-8j-fmc" customClass="TextFieldTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="600" height="54"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" tableViewCell="89D-8j-fmc" id="Vd0-dM-6je">
  16. <rect key="frame" x="0.0" y="0.0" width="600" height="54"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Placeholder text" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Sr7-Nw-Ul4" customClass="PaddedTextField" customModule="LoopKitUI" customModuleProvider="target">
  20. <rect key="frame" x="15" y="11" width="530.5" height="32"/>
  21. <constraints>
  22. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="32" id="UAM-yw-Z0b"/>
  23. </constraints>
  24. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  25. <textInputTraits key="textInputTraits" autocapitalizationType="allCharacters" autocorrectionType="no" spellCheckingType="no" keyboardType="alphabet" returnKeyType="done"/>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="size" keyPath="textInset">
  28. <size key="value" width="0.0" height="5"/>
  29. </userDefinedRuntimeAttribute>
  30. </userDefinedRuntimeAttributes>
  31. </textField>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Unit" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="coH-9o-F8g">
  33. <rect key="frame" x="553.5" y="16.5" width="31.5" height="20.5"/>
  34. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. </subviews>
  38. <constraints>
  39. <constraint firstItem="Sr7-Nw-Ul4" firstAttribute="top" secondItem="Vd0-dM-6je" secondAttribute="topMargin" id="4IS-98-Vs1"/>
  40. <constraint firstItem="Sr7-Nw-Ul4" firstAttribute="centerY" secondItem="Vd0-dM-6je" secondAttribute="centerY" priority="750" id="7eS-nS-IMK"/>
  41. <constraint firstItem="Sr7-Nw-Ul4" firstAttribute="leading" secondItem="Vd0-dM-6je" secondAttribute="leadingMargin" id="ZyS-Gh-n22"/>
  42. <constraint firstItem="coH-9o-F8g" firstAttribute="trailing" secondItem="Vd0-dM-6je" secondAttribute="trailingMargin" id="aFj-HW-Dkl"/>
  43. <constraint firstItem="coH-9o-F8g" firstAttribute="leading" secondItem="Sr7-Nw-Ul4" secondAttribute="trailing" constant="8" symbolic="YES" id="cKM-jV-Vg9"/>
  44. <constraint firstAttribute="bottomMargin" secondItem="Sr7-Nw-Ul4" secondAttribute="bottom" id="eCt-XE-6W4"/>
  45. <constraint firstItem="coH-9o-F8g" firstAttribute="baseline" secondItem="Sr7-Nw-Ul4" secondAttribute="baseline" id="lr8-6c-CgN"/>
  46. <constraint firstItem="coH-9o-F8g" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Vd0-dM-6je" secondAttribute="topMargin" id="oLt-Wv-qR6"/>
  47. </constraints>
  48. <edgeInsets key="layoutMargins" top="8" left="15" bottom="8" right="8"/>
  49. </tableViewCellContentView>
  50. <connections>
  51. <outlet property="textField" destination="Sr7-Nw-Ul4" id="csH-b7-O4d"/>
  52. <outlet property="unitLabel" destination="coH-9o-F8g" id="jjs-4y-Ha6"/>
  53. </connections>
  54. <point key="canvasLocation" x="34" y="59"/>
  55. </tableViewCell>
  56. </objects>
  57. </document>