Main.storyboard 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
  5. <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
  6. </dependencies>
  7. <scenes>
  8. <!--View Controller-->
  9. <scene sceneID="tne-QT-ifu">
  10. <objects>
  11. <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="Demo" customModuleProvider="target" sceneMemberID="viewController">
  12. <layoutGuides>
  13. <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
  14. <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
  15. </layoutGuides>
  16. <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
  17. <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  18. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hWK-Bu-8u4">
  21. <rect key="frame" x="220" y="160" width="159" height="32"/>
  22. <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
  23. <state key="normal" title="Delete from Keychain">
  24. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  25. </state>
  26. <connections>
  27. <action selector="onDeleteTapped:" destination="BYZ-38-t0r" eventType="touchUpInside" id="AY0-oE-tv6"/>
  28. </connections>
  29. </button>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b4T-JG-Zbo">
  31. <rect key="frame" x="236" y="108" width="128" height="32"/>
  32. <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
  33. <state key="normal" title="Save in Keychain">
  34. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  35. </state>
  36. <connections>
  37. <action selector="onSaveTapped:" destination="BYZ-38-t0r" eventType="touchUpInside" id="StT-Mn-tqX"/>
  38. </connections>
  39. </button>
  40. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NDv-PR-OK3">
  41. <rect key="frame" x="24" y="215" width="544" height="20.5"/>
  42. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  43. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="Hello World!" borderStyle="roundedRect" placeholder="Text to save in KeychainSwift" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="xkp-Od-gCQ">
  47. <rect key="frame" x="16" y="54" width="568" height="30"/>
  48. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  49. <textInputTraits key="textInputTraits"/>
  50. </textField>
  51. </subviews>
  52. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  53. <constraints>
  54. <constraint firstItem="NDv-PR-OK3" firstAttribute="top" secondItem="hWK-Bu-8u4" secondAttribute="bottom" constant="23" id="LBf-mg-NqE"/>
  55. <constraint firstAttribute="centerX" secondItem="hWK-Bu-8u4" secondAttribute="centerX" id="VJ4-XC-zFq"/>
  56. <constraint firstAttribute="centerX" secondItem="b4T-JG-Zbo" secondAttribute="centerX" id="cbI-es-jn6"/>
  57. <constraint firstItem="NDv-PR-OK3" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" constant="8" id="f2v-aI-fuD"/>
  58. <constraint firstItem="b4T-JG-Zbo" firstAttribute="top" secondItem="xkp-Od-gCQ" secondAttribute="bottom" constant="24" id="hTO-Zq-9F4"/>
  59. <constraint firstAttribute="trailingMargin" secondItem="xkp-Od-gCQ" secondAttribute="trailing" id="jW7-wf-Lg2"/>
  60. <constraint firstItem="hWK-Bu-8u4" firstAttribute="top" secondItem="b4T-JG-Zbo" secondAttribute="bottom" constant="20" id="oVb-ZZ-R8a"/>
  61. <constraint firstItem="xkp-Od-gCQ" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="sBp-QB-I3r"/>
  62. <constraint firstAttribute="trailingMargin" secondItem="NDv-PR-OK3" secondAttribute="trailing" constant="16" id="vAI-Yb-Kci"/>
  63. <constraint firstItem="xkp-Od-gCQ" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="34" id="zhk-dr-xC7"/>
  64. </constraints>
  65. </view>
  66. <connections>
  67. <outlet property="textField" destination="xkp-Od-gCQ" id="lld-hT-WbW"/>
  68. <outlet property="valueLabel" destination="NDv-PR-OK3" id="O2G-6d-xCJ"/>
  69. </connections>
  70. </viewController>
  71. <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
  72. </objects>
  73. </scene>
  74. </scenes>
  75. </document>