|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc"> |
3 | | - <device id="retina4_7" orientation="landscape"> |
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc"> |
| 3 | + <device id="retina4_7" orientation="portrait"> |
4 | 4 | <adaptation id="fullscreen"/> |
5 | 5 | </device> |
6 | 6 | <dependencies> |
7 | | - <deployment identifier="iOS"/> |
8 | | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/> |
| 7 | + <deployment version="2304" identifier="iOS"/> |
| 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/> |
9 | 9 | <capability name="Aspect ratio constraints" minToolsVersion="5.1"/> |
| 10 | + <capability name="Safe area layout guides" minToolsVersion="9.0"/> |
10 | 11 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
11 | 12 | </dependencies> |
12 | 13 | <scenes> |
13 | 14 | <!--View Controller--> |
14 | 15 | <scene sceneID="ufC-wZ-h7g"> |
15 | 16 | <objects> |
16 | 17 | <viewController id="vXZ-lx-hvc" customClass="ViewController" customModule="FreakingSimpleRoundImageView_Example" customModuleProvider="target" sceneMemberID="viewController"> |
17 | | - <layoutGuides> |
18 | | - <viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/> |
19 | | - <viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/> |
20 | | - </layoutGuides> |
21 | 18 | <view key="view" contentMode="scaleToFill" id="kh9-bI-dsS"> |
22 | | - <rect key="frame" x="0.0" y="0.0" width="667" height="375"/> |
| 19 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
23 | 20 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
24 | 21 | <subviews> |
25 | 22 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Boba.jpeg" translatesAutoresizingMaskIntoConstraints="NO" id="qLA-T1-VnE" customClass="RoundImageView" customModule="FreakingSimpleRoundImageView"> |
26 | | - <rect key="frame" x="32" y="37.5" width="300" height="300"/> |
| 23 | + <rect key="frame" x="37.5" y="52" width="300" height="300"/> |
27 | 24 | <constraints> |
28 | 25 | <constraint firstAttribute="width" secondItem="qLA-T1-VnE" secondAttribute="height" multiplier="1:1" id="Di2-Wc-Rf2"/> |
29 | 26 | <constraint firstAttribute="width" constant="300" id="y4k-Vy-41d"/> |
|
37 | 34 | </userDefinedRuntimeAttribute> |
38 | 35 | </userDefinedRuntimeAttributes> |
39 | 36 | </imageView> |
40 | | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Image credit: starwars.com" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EEe-ef-qZ7"> |
41 | | - <rect key="frame" x="340" y="157.5" width="317" height="60"/> |
| 37 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EEe-ef-qZ7"> |
| 38 | + <rect key="frame" x="84" y="393" width="207" height="41"/> |
42 | 39 | <constraints> |
43 | 40 | <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="60" id="Bak-0k-kjj"/> |
44 | 41 | </constraints> |
| 42 | + <string key="text">Image credit: starwars.com |
| 43 | +Tap image for more!</string> |
45 | 44 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
46 | 45 | <nil key="textColor"/> |
47 | 46 | <nil key="highlightedColor"/> |
|
60 | 59 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
61 | 60 | <constraints> |
62 | 61 | <constraint firstItem="EEe-ef-qZ7" firstAttribute="top" secondItem="qLA-T1-VnE" secondAttribute="bottom" constant="41" id="3NI-Z2-dO5"/> |
63 | | - <constraint firstItem="qLA-T1-VnE" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" id="46y-lC-LEi"/> |
| 62 | + <constraint firstItem="qLA-T1-VnE" firstAttribute="centerX" secondItem="GvL-2a-UeU" secondAttribute="centerX" id="46y-lC-LEi"/> |
64 | 63 | <constraint firstItem="qLA-T1-VnE" firstAttribute="centerY" secondItem="kh9-bI-dsS" secondAttribute="centerY" id="5CM-jn-ozu"/> |
65 | | - <constraint firstItem="qLA-T1-VnE" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="64" id="BzW-Wy-f41"/> |
66 | | - <constraint firstItem="qLA-T1-VnE" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" constant="32" id="Cgb-Ri-oi8"/> |
| 64 | + <constraint firstItem="qLA-T1-VnE" firstAttribute="leading" secondItem="GvL-2a-UeU" secondAttribute="leading" constant="64" id="BzW-Wy-f41"/> |
| 65 | + <constraint firstItem="qLA-T1-VnE" firstAttribute="top" secondItem="GvL-2a-UeU" secondAttribute="top" constant="32" id="Cgb-Ri-oi8"/> |
67 | 66 | <constraint firstItem="EEe-ef-qZ7" firstAttribute="centerY" secondItem="qLA-T1-VnE" secondAttribute="centerY" id="Di3-ek-u2w"/> |
68 | 67 | <constraint firstItem="qLA-T1-VnE" firstAttribute="centerY" secondItem="kh9-bI-dsS" secondAttribute="centerY" id="Ihe-om-3bF"/> |
69 | 68 | <constraint firstItem="EEe-ef-qZ7" firstAttribute="leading" secondItem="qLA-T1-VnE" secondAttribute="trailing" constant="8" id="P2U-8W-G1w"/> |
70 | | - <constraint firstAttribute="trailing" secondItem="EEe-ef-qZ7" secondAttribute="trailing" constant="10" id="cBa-de-J3c"/> |
| 69 | + <constraint firstItem="GvL-2a-UeU" firstAttribute="trailing" secondItem="EEe-ef-qZ7" secondAttribute="trailing" constant="10" id="cBa-de-J3c"/> |
71 | 70 | <constraint firstItem="EEe-ef-qZ7" firstAttribute="centerX" secondItem="qLA-T1-VnE" secondAttribute="centerX" id="go4-Ia-JEz"/> |
72 | | - <constraint firstItem="qLA-T1-VnE" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="32" id="utP-vH-wv1"/> |
| 71 | + <constraint firstItem="qLA-T1-VnE" firstAttribute="leading" secondItem="GvL-2a-UeU" secondAttribute="leading" constant="32" id="utP-vH-wv1"/> |
73 | 72 | </constraints> |
| 73 | + <viewLayoutGuide key="safeArea" id="GvL-2a-UeU"/> |
74 | 74 | <variation key="default"> |
75 | 75 | <mask key="constraints"> |
76 | 76 | <exclude reference="5CM-jn-ozu"/> |
|
108 | 108 | </mask> |
109 | 109 | </variation> |
110 | 110 | </view> |
| 111 | + <connections> |
| 112 | + <outlet property="imageView" destination="qLA-T1-VnE" id="hTY-oV-ANF"/> |
| 113 | + </connections> |
111 | 114 | </viewController> |
112 | 115 | <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/> |
113 | 116 | </objects> |
|
0 commit comments