QRCodeViewController.xib 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" 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="13173"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="QRCodeViewController">
  14. <connections>
  15. <outlet property="qrImageView" destination="xhF-Cs-cgy" id="lBF-1Q-eGK"/>
  16. <outlet property="qrLabel" destination="7zh-5O-zmi" id="6p9-gp-maC"/>
  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="320" height="480"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="4" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7zh-5O-zmi">
  26. <rect key="frame" x="20" y="380" width="280" height="84"/>
  27. <string key="text">Line 1
  28. Line 2
  29. Line 3
  30. Line 4</string>
  31. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  32. <color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xhF-Cs-cgy">
  36. <rect key="frame" x="20" y="100" width="280" height="280"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="280" id="JES-ml-iX2"/>
  39. <constraint firstAttribute="width" constant="280" id="jG1-D7-3Du"/>
  40. </constraints>
  41. </imageView>
  42. </subviews>
  43. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  44. <constraints>
  45. <constraint firstItem="Jpu-CJ-XN5" firstAttribute="trailing" secondItem="7zh-5O-zmi" secondAttribute="trailing" constant="20" id="468-jE-YOG"/>
  46. <constraint firstItem="Jpu-CJ-XN5" firstAttribute="trailing" secondItem="xhF-Cs-cgy" secondAttribute="trailing" constant="20" id="J96-CK-cPj"/>
  47. <constraint firstItem="Jpu-CJ-XN5" firstAttribute="bottom" secondItem="7zh-5O-zmi" secondAttribute="bottom" constant="16" id="M9W-D7-Lf1"/>
  48. <constraint firstItem="xhF-Cs-cgy" firstAttribute="top" secondItem="Jpu-CJ-XN5" secondAttribute="top" constant="80" id="OJg-CY-PC0"/>
  49. <constraint firstItem="xhF-Cs-cgy" firstAttribute="leading" secondItem="Jpu-CJ-XN5" secondAttribute="leading" constant="20" id="YME-yI-gmC"/>
  50. <constraint firstItem="7zh-5O-zmi" firstAttribute="top" secondItem="xhF-Cs-cgy" secondAttribute="bottom" id="d3l-vl-Kac"/>
  51. <constraint firstItem="7zh-5O-zmi" firstAttribute="leading" secondItem="Jpu-CJ-XN5" secondAttribute="leading" constant="20" id="dtm-O3-EPY"/>
  52. </constraints>
  53. <viewLayoutGuide key="safeArea" id="Jpu-CJ-XN5"/>
  54. <point key="canvasLocation" x="350" y="408"/>
  55. </view>
  56. </objects>
  57. </document>