ScanResultVC.xib 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" 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="23506"/>
  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" customClass="ScanResultVC">
  11. <connections>
  12. <outlet property="resultTextView" destination="6YP-RP-8Kl" id="zhw-VY-eC9"/>
  13. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  14. </connections>
  15. </placeholder>
  16. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  17. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  19. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20. <subviews>
  21. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" editable="NO" usesAttributedText="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6YP-RP-8Kl">
  22. <rect key="frame" x="15" y="20" width="345" height="547"/>
  23. <attributedString key="attributedText">
  24. <fragment>
  25. <string key="content">张三,欢迎您!
  26. 已成功登录模拟设备【辽66666学】,祝您体验愉快</string>
  27. <attributes>
  28. <font key="NSFont" metaFont="system" size="15"/>
  29. <paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" lineHeightMultiple="1.2" tighteningFactorForTruncation="0.0"/>
  30. </attributes>
  31. </fragment>
  32. </attributedString>
  33. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  34. </textView>
  35. </subviews>
  36. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. <constraints>
  38. <constraint firstAttribute="bottom" secondItem="6YP-RP-8Kl" secondAttribute="bottom" constant="100" id="E6R-wL-sap"/>
  39. <constraint firstItem="6YP-RP-8Kl" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="15" id="PiU-YL-r0R"/>
  40. <constraint firstItem="6YP-RP-8Kl" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="20" id="T3F-fj-PsC"/>
  41. <constraint firstAttribute="trailing" secondItem="6YP-RP-8Kl" secondAttribute="trailing" constant="15" id="WpT-9V-zFv"/>
  42. </constraints>
  43. <point key="canvasLocation" x="-74" y="-48"/>
  44. </view>
  45. </objects>
  46. </document>