Save the view controllers size.

This commit is contained in:
Damiano Galassi committed 2019-08-07 15:21:43 +02:00
1 parent 106813d5e5
commit 0f122f6242
8 files changed
+90 -44

No files matched your search

+28 -28
View File
@@ -21,11 +21,11 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<view id="laY-ru-6TM">
<rect key="frame" x="0.0" y="0.0" width="537" height="468"/>
<rect key="frame" x="0.0" y="0.0" width="515" height="466"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="3EA-ze-TJM">
<rect key="frame" x="441" y="13" width="82" height="32"/>
<rect key="frame" x="419" y="13" width="82" height="32"/>
<buttonCell key="cell" type="push" title="Add" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="6fG-qc-eA5">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -35,7 +35,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="gTi-Iq-Nr3">
<rect key="frame" x="359" y="13" width="82" height="32"/>
<rect key="frame" x="337" y="13" width="82" height="32"/>
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="QM5-jw-kZn">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -48,23 +48,23 @@ Gw
</connections>
</button>
<splitView translatesAutoresizingMaskIntoConstraints="NO" id="Wp0-Bs-YwM">
<rect key="frame" x="20" y="61" width="497" height="346"/>
<rect key="frame" x="20" y="61" width="475" height="344"/>
<subviews>
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="17" horizontalPageScroll="10" verticalLineScroll="17" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="nDM-fz-6g5">
<rect key="frame" x="0.0" y="0.0" width="497" height="139"/>
<rect key="frame" x="0.0" y="0.0" width="475" height="138"/>
<autoresizingMask key="autoresizingMask"/>
<clipView key="contentView" id="yBC-YM-YEp">
<rect key="frame" x="1" y="0.0" width="495" height="138"/>
<rect key="frame" x="1" y="0.0" width="473" height="137"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowHeight="15" rowSizeStyle="automatic" headerView="SPx-Rw-QAC" viewBased="YES" id="1tx-ei-5Gq">
<rect key="frame" x="0.0" y="0.0" width="495" height="113"/>
<rect key="frame" x="0.0" y="0.0" width="473" height="112"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn identifier="title" width="230" minWidth="40" maxWidth="1000" id="3iF-NJ-e1F">
<tableColumn identifier="title" width="208" minWidth="40" maxWidth="1000" id="3iF-NJ-e1F">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Title">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@@ -78,11 +78,11 @@ Gw
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="titleCell" id="Tky-Zp-cYn">
<rect key="frame" x="1" y="1" width="230" height="15"/>
<rect key="frame" x="1" y="1" width="208" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cDF-HG-QsB">
<rect key="frame" x="0.0" y="1" width="230" height="14"/>
<rect key="frame" x="0.0" y="1" width="208" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="ikP-RU-BJG">
<font key="font" metaFont="smallSystem"/>
@@ -110,7 +110,7 @@ Gw
</textFieldCell>
<prototypeCellViews>
<tableCellView identifier="chapterCountCell" id="dj8-Oz-5Hd">
<rect key="frame" x="234" y="1" width="67" height="15"/>
<rect key="frame" x="212" y="1" width="67" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="tMr-gF-MBo">
@@ -142,7 +142,7 @@ Gw
</textFieldCell>
<prototypeCellViews>
<tableCellView identifier="durationCell" id="Q3c-Ec-o9q">
<rect key="frame" x="304" y="1" width="90" height="15"/>
<rect key="frame" x="282" y="1" width="90" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Xwg-6h-rXK">
@@ -173,7 +173,7 @@ Gw
<tableColumnResizingMask key="resizingMask" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="confirmationsCell" id="ROR-C8-kNy" customClass="LevelIndicatorTableCellView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="397" y="1" width="96" height="15"/>
<rect key="frame" x="375" y="1" width="96" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<levelIndicator verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="GMz-ZA-5M8">
@@ -198,7 +198,7 @@ Gw
</subviews>
</clipView>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="wAd-hu-Fg8">
<rect key="frame" x="1" y="122" width="495" height="16"/>
<rect key="frame" x="1" y="129" width="458" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="DZI-g5-WqW">
@@ -206,19 +206,19 @@ Gw
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" id="SPx-Rw-QAC">
<rect key="frame" x="0.0" y="0.0" width="495" height="25"/>
<rect key="frame" x="0.0" y="0.0" width="473" height="25"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="17" horizontalPageScroll="10" verticalLineScroll="17" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="Bt2-0h-SHc">
<rect key="frame" x="0.0" y="148" width="497" height="198"/>
<rect key="frame" x="0.0" y="147" width="475" height="197"/>
<autoresizingMask key="autoresizingMask"/>
<clipView key="contentView" id="QH9-eV-xqj">
<rect key="frame" x="1" y="0.0" width="495" height="197"/>
<rect key="frame" x="1" y="0.0" width="473" height="196"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="15" rowSizeStyle="automatic" headerView="L2E-eg-WH8" viewBased="YES" id="EaL-hZ-8qa">
<rect key="frame" x="0.0" y="0.0" width="495" height="172"/>
<rect key="frame" x="0.0" y="0.0" width="473" height="171"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -257,7 +257,7 @@ Gw
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="name" editable="NO" width="388" minWidth="40" maxWidth="1000" id="kEl-ZX-dAp">
<tableColumn identifier="name" editable="NO" width="366" minWidth="40" maxWidth="1000" id="kEl-ZX-dAp">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Title">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@@ -271,11 +271,11 @@ Gw
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="nameCell" id="9aB-Al-MNz">
<rect key="frame" x="105" y="1" width="388" height="15"/>
<rect key="frame" x="105" y="1" width="366" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="EM0-uf-cYI">
<rect key="frame" x="0.0" y="1" width="388" height="14"/>
<rect key="frame" x="0.0" y="1" width="366" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="V2V-18-rML">
<font key="font" metaFont="smallSystem"/>
@@ -300,7 +300,7 @@ Gw
</subviews>
</clipView>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="9Ui-9m-0Lq">
<rect key="frame" x="1" y="181" width="495" height="16"/>
<rect key="frame" x="1" y="192" width="458" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="izF-CX-eZP">
@@ -308,7 +308,7 @@ Gw
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" id="L2E-eg-WH8">
<rect key="frame" x="0.0" y="0.0" width="495" height="25"/>
<rect key="frame" x="0.0" y="0.0" width="473" height="25"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
@@ -322,7 +322,7 @@ Gw
<rect key="frame" x="20" y="21" width="16" height="16"/>
</progressIndicator>
<textField hidden="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" preferredMaxLayoutWidth="1000" translatesAutoresizingMaskIntoConstraints="NO" id="jnd-J4-PyK">
<rect key="frame" x="41" y="22" width="312" height="14"/>
<rect key="frame" x="41" y="22" width="290" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Progress status" id="xUb-i4-9A1">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -330,7 +330,7 @@ Gw
</textFieldCell>
</textField>
<button horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="HL9-8j-ASe">
<rect key="frame" x="440" y="420" width="83" height="32"/>
<rect key="frame" x="418" y="418" width="83" height="32"/>
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="CPc-iU-dzR">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -340,7 +340,7 @@ Gw
</connections>
</button>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gqD-49-SVt">
<rect key="frame" x="59" y="427" width="375" height="22"/>
<rect key="frame" x="59" y="425" width="353" height="22"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="Oz7-XM-SKI">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -351,7 +351,7 @@ Gw
</connections>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="Aqm-Cr-xzu">
<rect key="frame" x="18" y="430" width="35" height="17"/>
<rect key="frame" x="18" y="428" width="35" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Title:" id="b8H-Nd-479">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -384,7 +384,7 @@ Gw
<constraint firstItem="3EA-ze-TJM" firstAttribute="leading" secondItem="gTi-Iq-Nr3" secondAttribute="trailing" constant="12" id="vTd-Bl-Rjc"/>
<constraint firstAttribute="bottom" secondItem="3EA-ze-TJM" secondAttribute="bottom" constant="20" symbolic="YES" id="zdI-AV-TEM"/>
</constraints>
<point key="canvasLocation" x="155" y="71"/>
<point key="canvasLocation" x="27" y="-55"/>
</view>
</objects>
</document>