Main.storyboard 6.8 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="keychain" 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. <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="jnI-CL-JTS">
  21. <rect key="frame" x="16" y="40" width="568" height="30"/>
  22. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  23. <textInputTraits key="textInputTraits"/>
  24. </textField>
  25. <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W0O-Md-qap">
  26. <rect key="frame" x="237" y="94" width="128" height="32"/>
  27. <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
  28. <state key="normal" title="Save in Keychain">
  29. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  30. </state>
  31. <connections>
  32. <action selector="onSaveTapped:" destination="BYZ-38-t0r" eventType="touchUpInside" id="FGD-QY-Zww"/>
  33. </connections>
  34. </button>
  35. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LEC-fi-iIC">
  36. <rect key="frame" x="221" y="146" width="159" height="32"/>
  37. <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
  38. <state key="normal" title="Delete from Keychain">
  39. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  40. </state>
  41. <connections>
  42. <action selector="onDeleteTapped:" destination="BYZ-38-t0r" eventType="touchUpInside" id="BLr-Pg-gGd"/>
  43. </connections>
  44. </button>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yGC-B1-71P">
  46. <rect key="frame" x="16" y="201" width="568" height="21"/>
  47. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  48. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. </subviews>
  52. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  53. <constraints>
  54. <constraint firstItem="W0O-Md-qap" firstAttribute="top" secondItem="jnI-CL-JTS" secondAttribute="bottom" constant="24" id="0Yy-nr-7Sh"/>
  55. <constraint firstAttribute="centerX" secondItem="W0O-Md-qap" secondAttribute="centerX" id="2fR-tB-mfW"/>
  56. <constraint firstAttribute="trailingMargin" secondItem="jnI-CL-JTS" secondAttribute="trailing" id="5rR-ez-O3g"/>
  57. <constraint firstItem="jnI-CL-JTS" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="8lo-D1-CtE"/>
  58. <constraint firstItem="jnI-CL-JTS" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="94y-9T-EvL"/>
  59. <constraint firstItem="LEC-fi-iIC" firstAttribute="top" secondItem="W0O-Md-qap" secondAttribute="bottom" constant="20" id="AJp-zc-OgL"/>
  60. <constraint firstItem="yGC-B1-71P" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="BSa-al-JOX"/>
  61. <constraint firstItem="yGC-B1-71P" firstAttribute="top" secondItem="LEC-fi-iIC" secondAttribute="bottom" constant="23" id="KlJ-Xb-lO1"/>
  62. <constraint firstAttribute="centerX" secondItem="LEC-fi-iIC" secondAttribute="centerX" id="fiK-v9-Sw5"/>
  63. <constraint firstAttribute="trailingMargin" secondItem="yGC-B1-71P" secondAttribute="trailing" id="wEB-qE-QI6"/>
  64. </constraints>
  65. </view>
  66. <connections>
  67. <outlet property="textField" destination="jnI-CL-JTS" id="vsJ-aM-Hh7"/>
  68. <outlet property="valueLabel" destination="yGC-B1-71P" id="ril-9C-KzF"/>
  69. </connections>
  70. </viewController>
  71. <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
  72. </objects>
  73. </scene>
  74. </scenes>
  75. </document>