Created
January 31, 2018 21:23
-
-
Save GottaGetSwifty/188b11cdff82d6b95233a4c4afd1fadf to your computer and use it in GitHub Desktop.
Proportional StackView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | |
<device id="retina4_7" orientation="portrait"> | |
<adaptation id="fullscreen"/> | |
</device> | |
<dependencies> | |
<deployment identifier="iOS"/> | |
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/> | |
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> | |
<capability name="Safe area layout guides" minToolsVersion="9.0"/> | |
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | |
</dependencies> | |
<scenes> | |
<!--View Controller--> | |
<scene sceneID="yZv-pl-mXG"> | |
<objects> | |
<viewController id="aAj-P0-U5a" sceneMemberID="viewController"> | |
<view key="view" contentMode="scaleToFill" id="N1i-gZ-GfT"> | |
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | |
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | |
<subviews> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Sjb-nM-h6J"> | |
<rect key="frame" x="0.0" y="20" width="375" height="600"/> | |
<subviews> | |
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalSpacing" translatesAutoresizingMaskIntoConstraints="NO" id="0Ds-YC-pLQ"> | |
<rect key="frame" x="0.0" y="0.0" width="375" height="600"/> | |
<subviews> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="STm-1e-tOP"> | |
<rect key="frame" x="0.0" y="0.0" width="375" height="120"/> | |
<color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
</view> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5du-Mc-Y35"> | |
<rect key="frame" x="0.0" y="120" width="375" height="30"/> | |
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
</view> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3NB-UH-B1k"> | |
<rect key="frame" x="0.0" y="150" width="375" height="120"/> | |
<color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
</view> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sqE-nX-Fzh"> | |
<rect key="frame" x="0.0" y="270" width="375" height="60"/> | |
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
</view> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uXA-dm-4hK"> | |
<rect key="frame" x="0.0" y="330" width="375" height="120"/> | |
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
</view> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="idx-4y-0ek"> | |
<rect key="frame" x="0.0" y="450" width="375" height="30"/> | |
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
</view> | |
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ea4-pT-rzC"> | |
<rect key="frame" x="0.0" y="480" width="375" height="120"/> | |
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
</view> | |
</subviews> | |
</stackView> | |
</subviews> | |
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
<constraints> | |
<constraint firstItem="idx-4y-0ek" firstAttribute="height" secondItem="Sjb-nM-h6J" secondAttribute="height" multiplier="0.05" id="BbJ-4d-dVy"/> | |
<constraint firstItem="3NB-UH-B1k" firstAttribute="height" secondItem="Sjb-nM-h6J" secondAttribute="height" multiplier="0.2" id="DI7-a4-7St"/> | |
<constraint firstItem="0Ds-YC-pLQ" firstAttribute="leading" secondItem="Sjb-nM-h6J" secondAttribute="leading" id="EpG-Hq-sPw"/> | |
<constraint firstItem="5du-Mc-Y35" firstAttribute="height" secondItem="Sjb-nM-h6J" secondAttribute="height" multiplier="0.05" id="U0x-FQ-qOs"/> | |
<constraint firstItem="0Ds-YC-pLQ" firstAttribute="top" secondItem="Sjb-nM-h6J" secondAttribute="top" id="foW-Ul-bRf"/> | |
<constraint firstItem="STm-1e-tOP" firstAttribute="height" secondItem="Sjb-nM-h6J" secondAttribute="height" multiplier="0.2" id="gHf-QO-ocR"/> | |
<constraint firstAttribute="height" constant="600" id="o7W-Y9-Bfz"/> | |
<constraint firstItem="sqE-nX-Fzh" firstAttribute="height" secondItem="Sjb-nM-h6J" secondAttribute="height" multiplier="0.1" id="pq2-Cm-VBc"/> | |
<constraint firstItem="Ea4-pT-rzC" firstAttribute="height" secondItem="Sjb-nM-h6J" secondAttribute="height" multiplier="0.2" id="qSZ-h7-EYe"/> | |
<constraint firstItem="uXA-dm-4hK" firstAttribute="height" secondItem="Sjb-nM-h6J" secondAttribute="height" multiplier="0.2" id="qcR-vC-Srn"/> | |
<constraint firstAttribute="trailing" secondItem="0Ds-YC-pLQ" secondAttribute="trailing" id="tZM-oW-WQW"/> | |
</constraints> | |
</view> | |
</subviews> | |
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
<constraints> | |
<constraint firstItem="Sjb-nM-h6J" firstAttribute="top" secondItem="4jR-sr-yFm" secondAttribute="top" id="RMY-yk-QtN"/> | |
<constraint firstItem="Sjb-nM-h6J" firstAttribute="leading" secondItem="4jR-sr-yFm" secondAttribute="leading" id="iD1-DL-fN0"/> | |
<constraint firstItem="4jR-sr-yFm" firstAttribute="trailing" secondItem="Sjb-nM-h6J" secondAttribute="trailing" id="uEj-57-mGw"/> | |
</constraints> | |
<viewLayoutGuide key="safeArea" id="4jR-sr-yFm"/> | |
</view> | |
</viewController> | |
<placeholder placeholderIdentifier="IBFirstResponder" id="LTq-O9-Euv" userLabel="First Responder" sceneMemberID="firstResponder"/> | |
</objects> | |
<point key="canvasLocation" x="-1732" y="-424"/> | |
</scene> | |
</scenes> | |
</document> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment