-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathMain.storyboard
More file actions
139 lines (139 loc) · 10.3 KB
/
Copy pathMain.storyboard
File metadata and controls
139 lines (139 loc) · 10.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5053" systemVersion="13C64" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="INF-sx-8CY">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
</dependencies>
<scenes>
<!--Master View Controller-->
<scene sceneID="3xf-CV-b2Z">
<objects>
<collectionViewController storyboardIdentifier="Master View Controller" autoresizesArchivedViewToFullSize="NO" id="UH6-2k-Soh" customClass="CGTAMasterViewController" sceneMemberID="viewController">
<collectionView key="view" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" minimumZoomScale="0.0" maximumZoomScale="0.0" dataMode="prototypes" id="Ckj-MB-u4F">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="A42-Go-8PB">
<size key="itemSize" width="160" height="160"/>
<size key="headerReferenceSize" width="0.0" height="0.0"/>
<size key="footerReferenceSize" width="0.0" height="0.0"/>
<inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
</collectionViewFlowLayout>
<cells>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="Image Cell" id="mZg-o6-U32" customClass="CGTAFlagCollectionViewCell">
<rect key="frame" x="0.0" y="64" width="160" height="160"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="160" height="160"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="USA" translatesAutoresizingMaskIntoConstraints="NO" id="LPM-aq-eVP">
<rect key="frame" x="0.0" y="0.0" width="160" height="160"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</imageView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
<constraints>
<constraint firstAttribute="bottom" secondItem="LPM-aq-eVP" secondAttribute="bottom" id="3dC-zy-EKj"/>
<constraint firstItem="LPM-aq-eVP" firstAttribute="leading" secondItem="mZg-o6-U32" secondAttribute="leading" id="CUC-Zi-AO2"/>
<constraint firstAttribute="trailing" secondItem="LPM-aq-eVP" secondAttribute="trailing" id="eON-IQ-OZe"/>
<constraint firstItem="LPM-aq-eVP" firstAttribute="top" secondItem="mZg-o6-U32" secondAttribute="top" id="rr5-Ix-vFh"/>
</constraints>
<connections>
<outlet property="imageView" destination="LPM-aq-eVP" id="4Wu-rt-zSB"/>
<segue destination="Ah7-4n-0Wa" kind="push" identifier="Tap on Flag" id="e5Y-SN-UWY"/>
</connections>
</collectionViewCell>
</cells>
<connections>
<outlet property="dataSource" destination="UH6-2k-Soh" id="m1v-tP-KJh"/>
<outlet property="delegate" destination="UH6-2k-Soh" id="b0C-Mp-1P8"/>
</connections>
</collectionView>
<navigationItem key="navigationItem" id="teh-qR-8dZ">
<nil key="title"/>
<barButtonItem key="leftBarButtonItem" title="Perform" id="K89-30-M1C">
<connections>
<action selector="performTapped:" destination="UH6-2k-Soh" id="L5J-Br-hyu"/>
</connections>
</barButtonItem>
<slider key="titleView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="120" minValue="0.0" maxValue="160" id="sg9-qZ-59e">
<rect key="frame" x="76" y="8" width="191" height="29"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="minimumTrackTintColor" red="0.0" green="0.74117648601531982" blue="0.64313727617263794" alpha="1" colorSpace="deviceRGB"/>
<connections>
<action selector="sliderValueChanged:" destination="UH6-2k-Soh" eventType="valueChanged" id="Tfs-NO-5oy"/>
</connections>
</slider>
<barButtonItem key="rightBarButtonItem" title="Push" id="iCq-LL-Epu">
<connections>
<action selector="pushTapped:" destination="UH6-2k-Soh" id="d84-fn-Y28"/>
</connections>
</barButtonItem>
</navigationItem>
<connections>
<outlet property="cellSizeSlider" destination="sg9-qZ-59e" id="gwU-KP-c6P"/>
</connections>
</collectionViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="eQs-he-B5Z" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="881" y="64"/>
</scene>
<!--Detail View Controller - Detail-->
<scene sceneID="Cn3-H9-jdl">
<objects>
<viewController storyboardIdentifier="Detail View Controller" title="Detail" id="Ah7-4n-0Wa" customClass="CGTADetailViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="EK1-eN-tCq"/>
<viewControllerLayoutGuide type="bottom" id="wQM-DP-Tgk"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="MMQ-IT-qOo">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cK7-Bz-0X1">
<rect key="frame" x="0.0" y="1" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</imageView>
</subviews>
</view>
<navigationItem key="navigationItem" title="Detail" id="cra-N8-TIN"/>
<connections>
<outlet property="imageView" destination="cK7-Bz-0X1" id="dbA-f5-cQY"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="lrm-kH-fPn" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1428" y="64"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="Gwc-n1-nXR">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="INF-sx-8CY" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" id="rje-BN-VLD">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<color key="tintColor" red="0.0" green="0.74117648601531982" blue="0.64313727617263794" alpha="1" colorSpace="deviceRGB"/>
<textAttributes key="titleTextAttributes">
<color key="textColor" red="0.0" green="0.74117648601531982" blue="0.64313727617263794" alpha="1" colorSpace="deviceRGB"/>
</textAttributes>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="UH6-2k-Soh" kind="relationship" relationship="rootViewController" id="2pt-sd-z5Z"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dXu-Dv-wXY" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="478" y="64"/>
</scene>
</scenes>
<resources>
<image name="USA" width="128" height="128"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4"/>
</simulatedMetricsContainer>
</document>