|
| 1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc"> |
| 3 | + <dependencies> |
| 4 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/> |
| 5 | + <capability name="Constraints to layout margins" minToolsVersion="6.0"/> |
| 6 | + </dependencies> |
| 7 | + <scenes> |
| 8 | + <!--View Controller--> |
| 9 | + <scene sceneID="ufC-wZ-h7g"> |
| 10 | + <objects> |
| 11 | + <viewController id="vXZ-lx-hvc" customClass="ViewController" customModule="Expandable" customModuleProvider="target" sceneMemberID="viewController"> |
| 12 | + <layoutGuides> |
| 13 | + <viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/> |
| 14 | + <viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/> |
| 15 | + </layoutGuides> |
| 16 | + <view key="view" contentMode="scaleToFill" id="kh9-bI-dsS"> |
| 17 | + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> |
| 18 | + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
| 19 | + <subviews> |
| 20 | + <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="b7f-dR-P5z" userLabel="View - Content"> |
| 21 | + <rect key="frame" x="0.0" y="40" width="600" height="257"/> |
| 22 | + <subviews> |
| 23 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Header" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NcT-xh-dCy" userLabel="Label - Header"> |
| 24 | + <rect key="frame" x="16" y="16" width="568" height="77"/> |
| 25 | + <color key="backgroundColor" red="0.90196079015731812" green="0.90196079015731812" blue="0.90196079015731812" alpha="1" colorSpace="calibratedRGB"/> |
| 26 | + <fontDescription key="fontDescription" type="system" pointSize="64"/> |
| 27 | + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> |
| 28 | + <nil key="highlightedColor"/> |
| 29 | + </label> |
| 30 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="This text can expand and collapse" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="d71-04-56d" userLabel="Label - Random"> |
| 31 | + <rect key="frame" x="16" y="109" width="568" height="39"/> |
| 32 | + <fontDescription key="fontDescription" type="system" pointSize="32"/> |
| 33 | + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> |
| 34 | + <nil key="highlightedColor"/> |
| 35 | + </label> |
| 36 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Footer" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="W6F-ti-jtW" userLabel="Label - Footer"> |
| 37 | + <rect key="frame" x="16" y="164" width="568" height="77"/> |
| 38 | + <color key="backgroundColor" red="0.80000001192092896" green="0.80000001192092896" blue="0.80000001192092896" alpha="1" colorSpace="calibratedRGB"/> |
| 39 | + <fontDescription key="fontDescription" type="system" pointSize="64"/> |
| 40 | + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> |
| 41 | + <nil key="highlightedColor"/> |
| 42 | + </label> |
| 43 | + </subviews> |
| 44 | + <color key="backgroundColor" red="1" green="0.50196081399917603" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> |
| 45 | + <constraints> |
| 46 | + <constraint firstItem="d71-04-56d" firstAttribute="leading" secondItem="b7f-dR-P5z" secondAttribute="leading" constant="16" id="7mQ-Lo-F5d"/> |
| 47 | + <constraint firstAttribute="height" priority="250" constant="257" id="ACc-zt-wgN"/> |
| 48 | + <constraint firstItem="W6F-ti-jtW" firstAttribute="leading" secondItem="b7f-dR-P5z" secondAttribute="leading" constant="16" id="S3V-a7-nRN"/> |
| 49 | + <constraint firstAttribute="trailing" secondItem="NcT-xh-dCy" secondAttribute="trailing" constant="16" id="Url-hR-du1"/> |
| 50 | + <constraint firstItem="NcT-xh-dCy" firstAttribute="top" secondItem="b7f-dR-P5z" secondAttribute="top" constant="16" id="eQE-Me-OZP"/> |
| 51 | + <constraint firstItem="d71-04-56d" firstAttribute="top" secondItem="NcT-xh-dCy" secondAttribute="bottom" constant="16" id="fsW-FE-8ZI"/> |
| 52 | + <constraint firstItem="W6F-ti-jtW" firstAttribute="top" secondItem="d71-04-56d" secondAttribute="bottom" constant="16" id="oH7-29-KnE"/> |
| 53 | + <constraint firstItem="NcT-xh-dCy" firstAttribute="leading" secondItem="b7f-dR-P5z" secondAttribute="leading" constant="16" id="rml-f0-A21"/> |
| 54 | + <constraint firstAttribute="trailing" secondItem="d71-04-56d" secondAttribute="trailing" constant="16" id="scz-73-FEC"/> |
| 55 | + <constraint firstAttribute="bottom" secondItem="W6F-ti-jtW" secondAttribute="bottom" constant="16" id="w6U-HI-STy"/> |
| 56 | + <constraint firstAttribute="trailing" secondItem="W6F-ti-jtW" secondAttribute="trailing" constant="16" id="xY2-yv-uQB"/> |
| 57 | + </constraints> |
| 58 | + </view> |
| 59 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RkA-qd-feC"> |
| 60 | + <rect key="frame" x="16" y="337" width="568" height="30"/> |
| 61 | + <state key="normal" title="Toggle Section"> |
| 62 | + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> |
| 63 | + </state> |
| 64 | + <connections> |
| 65 | + <action selector="toggleButtonSelector:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="9P8-t2-giV"/> |
| 66 | + </connections> |
| 67 | + </button> |
| 68 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="74d-Ly-mGp"> |
| 69 | + <rect key="frame" x="16" y="391" width="568" height="30"/> |
| 70 | + <state key="normal" title="Toggle Contents"> |
| 71 | + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> |
| 72 | + </state> |
| 73 | + <connections> |
| 74 | + <action selector="toggleContents:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="Nr7-Go-s3j"/> |
| 75 | + </connections> |
| 76 | + </button> |
| 77 | + </subviews> |
| 78 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> |
| 79 | + <constraints> |
| 80 | + <constraint firstItem="b7f-dR-P5z" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" constant="20" id="JVb-nY-dWE"/> |
| 81 | + <constraint firstItem="RkA-qd-feC" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="16" id="aK6-yG-ZTS"/> |
| 82 | + <constraint firstAttribute="trailing" secondItem="RkA-qd-feC" secondAttribute="trailing" constant="16" id="fUp-27-6n9"/> |
| 83 | + <constraint firstItem="74d-Ly-mGp" firstAttribute="top" secondItem="RkA-qd-feC" secondAttribute="bottom" constant="24" id="hc6-6J-N6V"/> |
| 84 | + <constraint firstItem="74d-Ly-mGp" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="ic6-7e-vrz"/> |
| 85 | + <constraint firstAttribute="trailingMargin" secondItem="74d-Ly-mGp" secondAttribute="trailing" id="jVE-Hn-cKj"/> |
| 86 | + <constraint firstAttribute="trailing" secondItem="b7f-dR-P5z" secondAttribute="trailing" id="rfE-kd-6lB"/> |
| 87 | + <constraint firstItem="b7f-dR-P5z" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" id="vs3-zc-4U4"/> |
| 88 | + <constraint firstItem="RkA-qd-feC" firstAttribute="top" secondItem="b7f-dR-P5z" secondAttribute="bottom" constant="40" id="yLK-6d-qzl"/> |
| 89 | + </constraints> |
| 90 | + </view> |
| 91 | + <connections> |
| 92 | + <outlet property="bottomInternalConstraint" destination="w6U-HI-STy" id="SeC-qj-emF"/> |
| 93 | + <outlet property="randomLabel" destination="d71-04-56d" id="Bzb-07-BQQ"/> |
| 94 | + <outlet property="sectionHeightConstraint" destination="ACc-zt-wgN" id="6Cy-9c-QHd"/> |
| 95 | + </connections> |
| 96 | + </viewController> |
| 97 | + <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/> |
| 98 | + </objects> |
| 99 | + </scene> |
| 100 | + </scenes> |
| 101 | +</document> |
0 commit comments