Main.storyboard 6.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6249" systemVersion="14C109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
  3. <dependencies>
  4. <deployment identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6243"/>
  6. <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
  7. </dependencies>
  8. <scenes>
  9. <!--View Controller-->
  10. <scene sceneID="tne-QT-ifu">
  11. <objects>
  12. <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="keychain" customModuleProvider="target" sceneMemberID="viewController">
  13. <layoutGuides>
  14. <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
  15. <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
  16. </layoutGuides>
  17. <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
  18. <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  19. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20. <subviews>
  21. <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="Hello World!" borderStyle="roundedRect" placeholder="Text to save in keychain" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="jnI-CL-JTS">
  22. <rect key="frame" x="16" y="40" width="568" height="30"/>
  23. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  24. <textInputTraits key="textInputTraits"/>
  25. </textField>
  26. <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W0O-Md-qap">
  27. <rect key="frame" x="237" y="94" width="128" height="32"/>
  28. <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
  29. <state key="normal" title="Save in Keychain">
  30. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  31. </state>
  32. <connections>
  33. <action selector="onSaveTapped:" destination="BYZ-38-t0r" eventType="touchUpInside" id="FGD-QY-Zww"/>
  34. </connections>
  35. </button>
  36. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LEC-fi-iIC">
  37. <rect key="frame" x="221" y="146" width="159" height="32"/>
  38. <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
  39. <state key="normal" title="Delete from Keychain">
  40. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  41. </state>
  42. <connections>
  43. <action selector="onDeleteTapped:" destination="BYZ-38-t0r" eventType="touchUpInside" id="BLr-Pg-gGd"/>
  44. </connections>
  45. </button>
  46. <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">
  47. <rect key="frame" x="16" y="201" width="568" height="21"/>
  48. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  49. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. </subviews>
  53. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  54. <constraints>
  55. <constraint firstItem="W0O-Md-qap" firstAttribute="top" secondItem="jnI-CL-JTS" secondAttribute="bottom" constant="24" id="0Yy-nr-7Sh"/>
  56. <constraint firstAttribute="centerX" secondItem="W0O-Md-qap" secondAttribute="centerX" id="2fR-tB-mfW"/>
  57. <constraint firstAttribute="trailingMargin" secondItem="jnI-CL-JTS" secondAttribute="trailing" id="5rR-ez-O3g"/>
  58. <constraint firstItem="jnI-CL-JTS" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="8lo-D1-CtE"/>
  59. <constraint firstItem="jnI-CL-JTS" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="94y-9T-EvL"/>
  60. <constraint firstItem="LEC-fi-iIC" firstAttribute="top" secondItem="W0O-Md-qap" secondAttribute="bottom" constant="20" id="AJp-zc-OgL"/>
  61. <constraint firstItem="yGC-B1-71P" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="BSa-al-JOX"/>
  62. <constraint firstItem="yGC-B1-71P" firstAttribute="top" secondItem="LEC-fi-iIC" secondAttribute="bottom" constant="23" id="KlJ-Xb-lO1"/>
  63. <constraint firstAttribute="centerX" secondItem="LEC-fi-iIC" secondAttribute="centerX" id="fiK-v9-Sw5"/>
  64. <constraint firstAttribute="trailingMargin" secondItem="yGC-B1-71P" secondAttribute="trailing" id="wEB-qE-QI6"/>
  65. </constraints>
  66. </view>
  67. <connections>
  68. <outlet property="textField" destination="jnI-CL-JTS" id="vsJ-aM-Hh7"/>
  69. <outlet property="valueLabel" destination="yGC-B1-71P" id="ril-9C-KzF"/>
  70. </connections>
  71. </viewController>
  72. <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
  73. </objects>
  74. </scene>
  75. </scenes>
  76. </document>