UIKitCatalog/UIKitCatalog/Base.lproj/StackViewController.storyboard
2018-08-28 13:42:15 -07:00

156 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="K8w-Uq-R9J">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Stack Views-->
<scene sceneID="upC-MR-WJj">
<objects>
<viewController id="K8w-Uq-R9J" customClass="StackViewController" customModule="UIKitCatalog" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Hwb-09-b4P">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="cDn-lT-iQW">
<rect key="frame" x="16" y="72" width="343" height="126.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Showing/hiding views" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hqb-J7-HE9">
<rect key="frame" x="0.0" y="0.0" width="343" height="20.5"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="8wt-PV-oxa">
<rect key="frame" x="0.0" y="30.5" width="343" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Detail" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="St9-G8-PkK">
<rect key="frame" x="0.0" y="0.0" width="104.5" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" horizontalHuggingPriority="249" horizontalCompressionResistancePriority="749" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="XGO-At-Hp0">
<rect key="frame" x="114.5" y="0.0" width="176.5" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EZd-jG-vsf">
<rect key="frame" x="301" y="0.0" width="42" height="30"/>
<inset key="contentEdgeInsets" minX="10" minY="0.0" maxX="10" maxY="0.0"/>
<state key="normal" image="stepper_increment"/>
<connections>
<action selector="showFurtherDetail:" destination="K8w-Uq-R9J" eventType="touchUpInside" id="zM0-ux-Y4O"/>
</connections>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="I05-0C-JZC">
<rect key="frame" x="0.0" y="70.5" width="343" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Further Detail" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iqg-vd-ycM">
<rect key="frame" x="0.0" y="0.0" width="104.5" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" horizontalHuggingPriority="249" horizontalCompressionResistancePriority="749" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="SqJ-7e-cbd">
<rect key="frame" x="114.5" y="0.0" width="176.5" height="30"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" keyboardType="emailAddress"/>
</textField>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EyS-LN-1u7">
<rect key="frame" x="301" y="0.0" width="42" height="30"/>
<inset key="contentEdgeInsets" minX="10" minY="0.0" maxX="10" maxY="0.0"/>
<state key="normal" image="stepper_decrement"/>
<connections>
<action selector="hideFurtherDetail:" destination="K8w-Uq-R9J" eventType="touchUpInside" id="2br-ix-gLo"/>
</connections>
</button>
</subviews>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Footer Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JXq-J8-IUP">
<rect key="frame" x="0.0" y="110.5" width="343" height="16"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="iqg-vd-ycM" firstAttribute="width" secondItem="St9-G8-PkK" secondAttribute="width" id="a48-8d-Z43"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HBg-iH-Es9">
<rect key="frame" x="16" y="218.5" width="343" height="42"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Add/remove views" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kvo-0P-2un">
<rect key="frame" x="0.0" y="0.0" width="259" height="42"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="252" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Got-h9-YTc" userLabel="Add button">
<rect key="frame" x="259" y="0.0" width="42" height="42"/>
<inset key="contentEdgeInsets" minX="10" minY="10" maxX="10" maxY="10"/>
<state key="normal" image="stepper_increment"/>
<connections>
<action selector="addArrangedSubviewToStack:" destination="K8w-Uq-R9J" eventType="touchUpInside" id="Gi5-my-DDb"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="253" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YkZ-DW-LIz" userLabel="Remove button">
<rect key="frame" x="301" y="0.0" width="42" height="42"/>
<inset key="contentEdgeInsets" minX="10" minY="10" maxX="10" maxY="10"/>
<state key="normal" image="stepper_decrement"/>
<connections>
<action selector="removeArrangedSubviewFromStack:" destination="K8w-Uq-R9J" eventType="touchUpInside" id="4tK-3G-rEB"/>
</connections>
</button>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="pVr-DZ-tf0">
<rect key="frame" x="16" y="268.5" width="343" height="42"/>
<constraints>
<constraint firstAttribute="height" constant="42" placeholder="YES" id="7Rt-U8-9u4"/>
</constraints>
</stackView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="cDn-lT-iQW" firstAttribute="leading" secondItem="Hwb-09-b4P" secondAttribute="leadingMargin" id="0E3-xe-Wem"/>
<constraint firstItem="HBg-iH-Es9" firstAttribute="top" secondItem="cDn-lT-iQW" secondAttribute="bottom" constant="20" id="2dx-wn-jkY"/>
<constraint firstItem="cDn-lT-iQW" firstAttribute="top" secondItem="FWG-QM-hGj" secondAttribute="top" constant="8" id="Fhv-KQ-6VM"/>
<constraint firstItem="pVr-DZ-tf0" firstAttribute="top" secondItem="HBg-iH-Es9" secondAttribute="bottom" constant="8" id="MBs-Uf-znZ"/>
<constraint firstItem="cDn-lT-iQW" firstAttribute="trailing" secondItem="Hwb-09-b4P" secondAttribute="trailingMargin" id="Wha-Kq-I8w"/>
<constraint firstAttribute="trailingMargin" secondItem="HBg-iH-Es9" secondAttribute="trailing" id="Zw2-9B-Oa8"/>
<constraint firstItem="pVr-DZ-tf0" firstAttribute="leading" secondItem="Hwb-09-b4P" secondAttribute="leadingMargin" id="dv0-Bo-2xJ"/>
<constraint firstItem="HBg-iH-Es9" firstAttribute="leading" secondItem="Hwb-09-b4P" secondAttribute="leadingMargin" id="lM1-th-6X7"/>
<constraint firstItem="pVr-DZ-tf0" firstAttribute="trailing" secondItem="Hwb-09-b4P" secondAttribute="trailingMargin" id="vPE-u0-sZi"/>
</constraints>
<viewLayoutGuide key="safeArea" id="FWG-QM-hGj"/>
</view>
<navigationItem key="navigationItem" title="Stack Views" id="nhS-n7-kRE"/>
<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
<connections>
<outlet property="addArrangedViewButton" destination="Got-h9-YTc" id="Xgr-8b-4GS"/>
<outlet property="addRemoveExampleStackView" destination="pVr-DZ-tf0" id="YKt-RD-xPk"/>
<outlet property="furtherDetailStackView" destination="I05-0C-JZC" id="boR-j2-FLq"/>
<outlet property="plusButton" destination="EZd-jG-vsf" id="eCX-vh-wOg"/>
<outlet property="removeArrangedViewButton" destination="YkZ-DW-LIz" id="2MK-oh-GMI"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="9MD-zI-PZ3" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="11249" y="3368"/>
</scene>
</scenes>
<resources>
<image name="stepper_decrement" width="22" height="22"/>
<image name="stepper_increment" width="22" height="22"/>
</resources>
</document>