DecimalTextFieldTableViewCell.xib 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
  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"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="DecimalTextFieldTableViewCell" id="PiW-EA-ApI" customClass="DecimalTextFieldTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="PiW-EA-ApI" id="O8y-eg-zyE">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="0" textAlignment="right" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="JkG-6D-XPS">
  22. <rect key="frame" x="57.5" y="15" width="289.5" height="13.5"/>
  23. <color key="textColor" red="0.5568627451" green="0.5568627451" blue="0.57647058819999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  25. <textInputTraits key="textInputTraits" keyboardType="decimalPad" returnKeyType="next"/>
  26. </textField>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="g" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r5J-AK-AL7">
  28. <rect key="frame" x="349" y="11.5" width="10" height="20.5"/>
  29. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  30. <color key="textColor" red="0.5568627451" green="0.5568627451" blue="0.57647058819999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mk9-MM-in6">
  34. <rect key="frame" x="16" y="11.5" width="33.5" height="21"/>
  35. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  36. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. </subviews>
  40. <constraints>
  41. <constraint firstItem="Mk9-MM-in6" firstAttribute="centerY" secondItem="O8y-eg-zyE" secondAttribute="centerY" id="03U-PY-Qkc"/>
  42. <constraint firstAttribute="bottomMargin" secondItem="JkG-6D-XPS" secondAttribute="bottom" priority="750" constant="4" id="7qU-1E-jJB"/>
  43. <constraint firstItem="r5J-AK-AL7" firstAttribute="leading" secondItem="JkG-6D-XPS" secondAttribute="trailing" constant="2" id="9Pr-A9-ygv"/>
  44. <constraint firstItem="JkG-6D-XPS" firstAttribute="centerY" secondItem="O8y-eg-zyE" secondAttribute="centerY" id="9a8-PB-RVq"/>
  45. <constraint firstItem="Mk9-MM-in6" firstAttribute="leading" secondItem="O8y-eg-zyE" secondAttribute="leadingMargin" priority="999" id="LlZ-hl-V9r"/>
  46. <constraint firstAttribute="trailingMargin" secondItem="r5J-AK-AL7" secondAttribute="trailing" id="MKf-UR-f7D"/>
  47. <constraint firstItem="JkG-6D-XPS" firstAttribute="leading" secondItem="Mk9-MM-in6" secondAttribute="trailing" constant="8" symbolic="YES" id="Zf9-HV-T7V"/>
  48. <constraint firstItem="JkG-6D-XPS" firstAttribute="top" secondItem="O8y-eg-zyE" secondAttribute="topMargin" constant="4" id="oGr-Fd-sKz"/>
  49. <constraint firstItem="r5J-AK-AL7" firstAttribute="baseline" secondItem="JkG-6D-XPS" secondAttribute="baseline" id="uHT-U3-m9h"/>
  50. </constraints>
  51. </tableViewCellContentView>
  52. <connections>
  53. <outlet property="textField" destination="JkG-6D-XPS" id="j3J-s8-dQ2"/>
  54. <outlet property="titleLabel" destination="Mk9-MM-in6" id="nq5-1T-nF7"/>
  55. <outlet property="unitLabel" destination="r5J-AK-AL7" id="JXq-jC-hwH"/>
  56. </connections>
  57. </tableViewCell>
  58. </objects>
  59. </document>