Skip to content

Commit 337a7f1

Browse files
committed
Rename all segues to the zoomed image view controller scene to "zoomLargeImage"
1 parent 253582d commit 337a7f1

4 files changed

Lines changed: 101 additions & 92 deletions

File tree

OpenLibrary/Base.lproj/AuthorDetail.storyboard

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
3-
<device id="retina4_0" orientation="portrait">
3+
<device id="retina4_0" orientation="landscape">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
@@ -18,40 +18,43 @@
1818
<viewControllerLayoutGuide type="bottom" id="sKH-cd-bo6"/>
1919
</layoutGuides>
2020
<view key="view" contentMode="scaleToFill" id="rhm-ph-9je">
21-
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
21+
<rect key="frame" x="0.0" y="0.0" width="568" height="320"/>
2222
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2323
<subviews>
24-
<view contentMode="scaleToFill" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZCm-QX-3Jp" userLabel="Header View" customClass="OLHeaderView" customModule="OpenLibrary" customModuleProvider="target">
25-
<rect key="frame" x="0.0" y="20" width="320" height="144"/>
26-
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
27-
<userDefinedRuntimeAttributes>
28-
<userDefinedRuntimeAttribute type="image" keyPath="image" value="253-person"/>
29-
</userDefinedRuntimeAttributes>
30-
</view>
31-
<containerView opaque="NO" contentMode="scaleToFill" verticalCompressionResistancePriority="760" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="GtZ-lM-FnV">
32-
<rect key="frame" x="0.0" y="164" width="320" height="404"/>
33-
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
34-
<color key="tintColor" red="0.0" green="0.50196081400000003" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
35-
<connections>
36-
<segue destination="zwq-ib-FDJ" kind="embed" identifier="embedAuthorWorks" id="3ha-7a-Qju"/>
37-
</connections>
38-
</containerView>
24+
<stackView opaque="NO" contentMode="scaleToFill" ambiguous="YES" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="ggG-Qf-Add">
25+
<rect key="frame" x="0.0" y="20" width="568" height="144"/>
26+
<subviews>
27+
<view contentMode="scaleToFill" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZCm-QX-3Jp" userLabel="Header View" customClass="OLHeaderView" customModule="OpenLibrary" customModuleProvider="target">
28+
<rect key="frame" x="0.0" y="0.0" width="320" height="144"/>
29+
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
30+
<userDefinedRuntimeAttributes>
31+
<userDefinedRuntimeAttribute type="image" keyPath="image" value="253-person"/>
32+
</userDefinedRuntimeAttributes>
33+
</view>
34+
<containerView opaque="NO" contentMode="scaleToFill" verticalCompressionResistancePriority="760" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="GtZ-lM-FnV">
35+
<rect key="frame" x="320" y="0.0" width="248" height="144"/>
36+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
37+
<color key="tintColor" red="0.0" green="0.50196081400000003" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
38+
<connections>
39+
<segue destination="zwq-ib-FDJ" kind="embed" identifier="embedAuthorWorks" id="3ha-7a-Qju"/>
40+
</connections>
41+
</containerView>
42+
</subviews>
43+
<variation key="heightClass=compact-widthClass=compact" axis="horizontal"/>
44+
</stackView>
3945
<activityIndicatorView hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" hidesWhenStopped="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="8zT-S9-MSn">
40-
<rect key="frame" x="141.5" y="265.5" width="37" height="37"/>
46+
<rect key="frame" x="265.5" y="141.5" width="37" height="37"/>
4147
<color key="color" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
4248
</activityIndicatorView>
4349
</subviews>
4450
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
4551
<constraints>
46-
<constraint firstItem="GtZ-lM-FnV" firstAttribute="trailing" secondItem="rhm-ph-9je" secondAttribute="trailing" id="7fw-ct-8Lh"/>
47-
<constraint firstItem="GtZ-lM-FnV" firstAttribute="top" secondItem="ZCm-QX-3Jp" secondAttribute="bottom" id="ARO-8c-aik"/>
48-
<constraint firstItem="ZCm-QX-3Jp" firstAttribute="top" secondItem="WMK-h2-Oo1" secondAttribute="bottom" id="E3Z-4H-I6S"/>
49-
<constraint firstItem="GtZ-lM-FnV" firstAttribute="leading" secondItem="rhm-ph-9je" secondAttribute="leading" id="Mi5-o4-8Rv"/>
50-
<constraint firstItem="GtZ-lM-FnV" firstAttribute="bottom" secondItem="sKH-cd-bo6" secondAttribute="top" id="VIn-CB-GXH"/>
51-
<constraint firstItem="ZCm-QX-3Jp" firstAttribute="trailing" secondItem="rhm-ph-9je" secondAttribute="trailing" id="bTz-05-Dwh"/>
52+
<constraint firstItem="ggG-Qf-Add" firstAttribute="leading" secondItem="rhm-ph-9je" secondAttribute="leading" id="Ynb-mp-NsH"/>
53+
<constraint firstAttribute="trailing" secondItem="ggG-Qf-Add" secondAttribute="trailing" id="YzZ-nQ-Zbe"/>
5254
<constraint firstItem="8zT-S9-MSn" firstAttribute="centerY" secondItem="rhm-ph-9je" secondAttribute="centerY" id="cw5-cQ-9JC"/>
55+
<constraint firstItem="ggG-Qf-Add" firstAttribute="bottom" secondItem="sKH-cd-bo6" secondAttribute="top" id="doL-Ja-UXY"/>
5356
<constraint firstItem="8zT-S9-MSn" firstAttribute="centerX" secondItem="rhm-ph-9je" secondAttribute="centerX" id="k1b-eK-cEp"/>
54-
<constraint firstItem="ZCm-QX-3Jp" firstAttribute="leading" secondItem="rhm-ph-9je" secondAttribute="leading" id="uIe-hL-rT5"/>
57+
<constraint firstItem="ggG-Qf-Add" firstAttribute="top" secondItem="WMK-h2-Oo1" secondAttribute="bottom" id="z7C-QL-uMs"/>
5558
</constraints>
5659
</view>
5760
<connections>
@@ -95,15 +98,15 @@
9598
<objects>
9699
<tableViewController storyboardIdentifier="AuthorDetailWorks" useStoryboardIdentifierAsRestorationIdentifier="YES" id="zwq-ib-FDJ" customClass="OLAuthorDetailWorksTableViewController" customModule="OpenLibrary" customModuleProvider="target" sceneMemberID="viewController">
97100
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="101" sectionHeaderHeight="28" sectionFooterHeight="28" id="54q-gE-kUZ">
98-
<rect key="frame" x="0.0" y="0.0" width="320" height="404"/>
101+
<rect key="frame" x="0.0" y="0.0" width="248" height="144"/>
99102
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
100103
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
101104
<prototypes>
102105
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="authorWorksEntry" rowHeight="101" id="kYx-8i-9Gr" customClass="AuthorWorksTableViewCell" customModule="OpenLibrary" customModuleProvider="target">
103-
<rect key="frame" x="0.0" y="28" width="320" height="101"/>
106+
<rect key="frame" x="0.0" y="28" width="248" height="101"/>
104107
<autoresizingMask key="autoresizingMask"/>
105108
<tableViewCellContentView key="contentView" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="kYx-8i-9Gr" id="WT4-wB-rFR">
106-
<rect key="frame" x="0.0" y="0.0" width="320" height="100.5"/>
109+
<rect key="frame" x="0.0" y="0.0" width="248" height="100.5"/>
107110
<autoresizingMask key="autoresizingMask"/>
108111
<subviews>
109112
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="760" translatesAutoresizingMaskIntoConstraints="NO" id="C7B-u3-GKW" userLabel="AuthorWorkCover">
@@ -174,15 +177,15 @@
174177
<objects>
175178
<tableViewController storyboardIdentifier="AuthorDetailEditions" useStoryboardIdentifierAsRestorationIdentifier="YES" id="hJl-Hc-Y47" customClass="OLAuthorDetailEditionsTableViewController" customModule="OpenLibrary" customModuleProvider="target" sceneMemberID="viewController">
176179
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="74" sectionHeaderHeight="28" sectionFooterHeight="28" id="6DK-XW-M4f">
177-
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
180+
<rect key="frame" x="0.0" y="0.0" width="568" height="320"/>
178181
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
179182
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
180183
<prototypes>
181184
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="authorEditionEntry" selectionStyle="default" indentationWidth="10" reuseIdentifier="authorEditionEntry" rowHeight="74" id="lPK-jt-K0C" customClass="EditionTableViewCell" customModule="OpenLibrary" customModuleProvider="target">
182-
<rect key="frame" x="0.0" y="28" width="320" height="74"/>
185+
<rect key="frame" x="0.0" y="28" width="568" height="74"/>
183186
<autoresizingMask key="autoresizingMask"/>
184187
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" verticalCompressionResistancePriority="740" tableViewCell="lPK-jt-K0C" id="N2O-aa-v4s">
185-
<rect key="frame" x="0.0" y="0.0" width="320" height="73.5"/>
188+
<rect key="frame" x="0.0" y="0.0" width="568" height="73.5"/>
186189
<autoresizingMask key="autoresizingMask"/>
187190
<subviews>
188191
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cSC-Zj-B96">
@@ -193,13 +196,13 @@
193196
</constraints>
194197
</imageView>
195198
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Edition Title" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lGV-OP-7g9">
196-
<rect key="frame" x="72" y="8" width="240" height="20.5"/>
199+
<rect key="frame" x="72" y="8" width="488" height="20.5"/>
197200
<fontDescription key="fontDescription" type="system" pointSize="17"/>
198201
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
199202
<nil key="highlightedColor"/>
200203
</label>
201204
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Edition Subtitle" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5gf-HY-Czb">
202-
<rect key="frame" x="72" y="47.5" width="240" height="16"/>
205+
<rect key="frame" x="72" y="47.5" width="488" height="16"/>
203206
<fontDescription key="fontDescription" type="system" pointSize="13"/>
204207
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
205208
<nil key="highlightedColor"/>

OpenLibrary/Base.lproj/Main.storyboard

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<outlet property="tableView" destination="hw0-1g-Jjf" id="chP-9l-vgm"/>
5252
<segue destination="gFU-3t-GOM" kind="show" identifier="displayGeneralSearchAuthorDetail" customClass="SegueWithTableViewCellZoom" customModule="OpenLibrary" customModuleProvider="target" id="slP-df-BRM"/>
5353
<segue destination="xzb-fe-grp" kind="show" identifier="displayGeneralSearchWorkDetail" customClass="SegueWithTableViewCellZoom" customModule="OpenLibrary" customModuleProvider="target" id="bNH-qu-qcP"/>
54-
<segue destination="RJ5-x8-uas" kind="show" identifier="largeCoverImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" customModuleProvider="target" id="dvZ-I4-SaB"/>
54+
<segue destination="RJ5-x8-uas" kind="show" identifier="zoomLargeImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" customModuleProvider="target" id="dvZ-I4-SaB"/>
5555
<segue destination="565-lf-E8F" kind="show" identifier="openBookSearch" customClass="SegueWithWindowShade" customModule="OpenLibrary" customModuleProvider="target" id="94o-EF-7BE"/>
5656
<segue destination="Xmm-OC-cfc" kind="show" identifier="openBookSort" customClass="SegueWithWindowShade" customModule="OpenLibrary" customModuleProvider="target" id="a5k-8T-2Gm"/>
5757
<segue destination="9lP-Th-a8R" kind="show" identifier="displayWorkEBooks" customClass="SegueWithTableViewCellZoom" customModule="OpenLibrary" customModuleProvider="target" id="usZ-AJ-S00"/>
@@ -586,7 +586,7 @@
586586
</connections>
587587
</tableView>
588588
<connections>
589-
<segue destination="RJ5-x8-uas" kind="show" identifier="zoomDeluxeDetailImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" id="MSI-XC-TWv"/>
589+
<segue destination="RJ5-x8-uas" kind="show" identifier="zoomLargeImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" id="MSI-XC-TWv"/>
590590
<segue destination="QNA-1N-1O1" kind="show" identifier="DeluxeDetailBookDownloadTableViewCell" customClass="SegueWithWindowShade" customModule="OpenLibrary" customModuleProvider="target" id="DGw-06-isa"/>
591591
</connections>
592592
</tableViewController>
@@ -631,7 +631,7 @@
631631
</viewController>
632632
<placeholder placeholderIdentifier="IBFirstResponder" id="2Lb-GV-7Ci" userLabel="First Responder" sceneMemberID="firstResponder"/>
633633
</objects>
634-
<point key="canvasLocation" x="1173" y="2834"/>
634+
<point key="canvasLocation" x="1224" y="2834"/>
635635
</scene>
636636
<!--Download-->
637637
<scene sceneID="GvV-Xr-xLh">
@@ -793,7 +793,7 @@
793793
</connections>
794794
</tableView>
795795
<connections>
796-
<segue destination="RJ5-x8-uas" kind="show" identifier="zoomDeluxeDetailImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" id="GFh-zh-PVi"/>
796+
<segue destination="RJ5-x8-uas" kind="show" identifier="zoomLargeImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" id="GFh-zh-PVi"/>
797797
<segue destination="QNA-1N-1O1" kind="show" identifier="DeluxeDetailBookDownloadTableViewCell" customClass="SegueWithWindowShade" customModule="OpenLibrary" customModuleProvider="target" id="3XC-3S-Rbd"/>
798798
</connections>
799799
</tableViewController>
@@ -815,7 +815,7 @@
815815
</connections>
816816
</tableView>
817817
<connections>
818-
<segue destination="RJ5-x8-uas" kind="show" identifier="zoomDeluxeDetailImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" id="Yjz-qW-0Hz"/>
818+
<segue destination="RJ5-x8-uas" kind="show" identifier="zoomLargeImage" customClass="SegueWithImageZoom" customModule="OpenLibrary" id="Yjz-qW-0Hz"/>
819819
<segue destination="QNA-1N-1O1" kind="show" identifier="DeluxeDetailBookDownloadTableViewCell" customClass="SegueWithWindowShade" customModule="OpenLibrary" customModuleProvider="target" id="N1H-Eu-32X"/>
820820
</connections>
821821
</tableViewController>
@@ -1145,7 +1145,7 @@ MarkDown text to HTML for display.&lt;/p&gt;
11451145
<image name="rsw-notsorted-28x26" width="28" height="26"/>
11461146
</resources>
11471147
<inferredMetricsTieBreakers>
1148-
<segue reference="dvZ-I4-SaB"/>
1149-
<segue reference="DGw-06-isa"/>
1148+
<segue reference="MSI-XC-TWv"/>
1149+
<segue reference="N1H-Eu-32X"/>
11501150
</inferredMetricsTieBreakers>
11511151
</document>

0 commit comments

Comments
 (0)