Fix a crash on 10.12 and earlier.

This commit is contained in:
Damiano Galassi committed 2019-09-15 15:25:28 +02:00
1 parent 879bf33c2b
commit 8de2581285
8 files changed
+125 -91

No files matched your search

+47 -34
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14868" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14868"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -65,16 +65,16 @@ Gw
<rect key="frame" x="20" y="20" width="16" height="16"/>
</progressIndicator>
<tabView translatesAutoresizingMaskIntoConstraints="NO" id="6hW-RR-cfF">
<rect key="frame" x="-12" y="442" width="574" height="111"/>
<rect key="frame" x="-12" y="443" width="574" height="110"/>
<font key="font" metaFont="system"/>
<tabViewItems>
<tabViewItem label="Movie" identifier="1" id="apc-8c-iyM">
<view key="view" id="e2g-GX-p4j">
<rect key="frame" x="10" y="33" width="554" height="65"/>
<rect key="frame" x="10" y="33" width="554" height="64"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="gBb-mO-eZD">
<rect key="frame" x="18" y="42" width="44" height="17"/>
<rect key="frame" x="18" y="42" width="44" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Movie:" id="uyt-vh-nv6">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -82,7 +82,7 @@ Gw
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dyr-Xb-8vA">
<rect key="frame" x="67" y="39" width="387" height="22"/>
<rect key="frame" x="67" y="39" width="387" height="21"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="sXD-8k-I7r">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -109,7 +109,7 @@ Gw
</connections>
</popUpButton>
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="0aO-Wz-ASZ">
<rect key="frame" x="437" y="9" width="102" height="21"/>
<rect key="frame" x="437" y="9" width="102" height="20"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="99" id="4MR-8H-PO9"/>
</constraints>
@@ -163,11 +163,11 @@ DQ
</tabViewItem>
<tabViewItem label="TV Episode" identifier="2" id="GPk-3A-rQI">
<view key="view" id="pC0-6X-DbE">
<rect key="frame" x="10" y="33" width="554" height="65"/>
<rect key="frame" x="10" y="33" width="554" height="63"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="PoJ-z7-u2L">
<rect key="frame" x="14" y="43" width="62" height="17"/>
<rect key="frame" x="14" y="42" width="62" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="TV Show:" id="lE4-J1-ySV">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -175,7 +175,7 @@ DQ
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
<rect key="frame" x="14" y="13" width="62" height="17"/>
<rect key="frame" x="14" y="13" width="62" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Season #" id="kz7-mH-DuT">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -183,7 +183,7 @@ DQ
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
<rect key="frame" x="81" y="10" width="30" height="22"/>
<rect key="frame" x="81" y="10" width="30" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="9CR-ib-DtF"/>
</constraints>
@@ -198,7 +198,7 @@ DQ
</connections>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PmP-Uz-mXF">
<rect key="frame" x="185" y="10" width="30" height="22"/>
<rect key="frame" x="185" y="10" width="30" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="JnI-dd-MkA"/>
</constraints>
@@ -213,7 +213,7 @@ DQ
</connections>
</textField>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r32-v1-g3U">
<rect key="frame" x="116" y="13" width="64" height="17"/>
<rect key="frame" x="116" y="13" width="64" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Episode #" id="Zik-QU-m81">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -221,7 +221,7 @@ DQ
</textFieldCell>
</textField>
<comboBox verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yxL-hY-Wvf">
<rect key="frame" x="81" y="36" width="376" height="26"/>
<rect key="frame" x="81" y="35" width="376" height="25"/>
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesDataSource="YES" numberOfVisibleItems="5" id="o7O-s5-2MI">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -249,7 +249,7 @@ DQ
</connections>
</popUpButton>
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="UTG-O0-5RG">
<rect key="frame" x="437" y="9" width="102" height="21"/>
<rect key="frame" x="437" y="9" width="102" height="20"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="99" id="yze-MC-pfr"/>
</constraints>
@@ -270,7 +270,7 @@ DQ
</connections>
</popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EpM-F6-30O">
<rect key="frame" x="460" y="32" width="83" height="32"/>
<rect key="frame" x="460" y="30" width="83" height="32"/>
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="5Mu-cI-Uiu">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -324,7 +324,7 @@ DQ
</textFieldCell>
</textField>
<splitView autosaveName="SBMetadataSearchSplitView" translatesAutoresizingMaskIntoConstraints="NO" id="BfX-EM-ktQ">
<rect key="frame" x="20" y="61" width="510" height="383"/>
<rect key="frame" x="20" y="61" width="510" height="384"/>
<subviews>
<customView id="8It-Zb-03g">
<rect key="frame" x="0.0" y="0.0" width="510" height="136"/>
@@ -360,9 +360,8 @@ DQ
<rect key="frame" x="1" y="1" width="505" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OFv-ne-Jzf">
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OFv-ne-Jzf">
<rect key="frame" x="0.0" y="1" width="505" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Table View Cell" id="wLe-r3-x0V">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -370,6 +369,11 @@ DQ
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstItem="OFv-ne-Jzf" firstAttribute="centerY" secondItem="o6P-ie-0z3" secondAttribute="centerY" id="goK-xS-50n"/>
<constraint firstItem="OFv-ne-Jzf" firstAttribute="centerX" secondItem="o6P-ie-0z3" secondAttribute="centerX" id="iEA-Q3-3Kd"/>
<constraint firstItem="OFv-ne-Jzf" firstAttribute="leading" secondItem="o6P-ie-0z3" secondAttribute="leading" constant="2" id="uzG-6h-XjN"/>
</constraints>
<connections>
<outlet property="textField" destination="OFv-ne-Jzf" id="nda-ol-e1j"/>
</connections>
@@ -410,17 +414,17 @@ DQ
</constraints>
</customView>
<customView id="YFw-L1-xW7">
<rect key="frame" x="0.0" y="145" width="510" height="238"/>
<rect key="frame" x="0.0" y="145" width="510" height="239"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="39" horizontalPageScroll="10" verticalLineScroll="39" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="L9f-RN-ymm">
<rect key="frame" x="0.0" y="0.0" width="510" height="238"/>
<rect key="frame" x="0.0" y="0.0" width="510" height="239"/>
<clipView key="contentView" id="JKj-Cf-XlS">
<rect key="frame" x="1" y="0.0" width="508" height="237"/>
<rect key="frame" x="1" y="0.0" width="508" height="238"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="37" rowSizeStyle="automatic" headerView="8SH-1C-Y6N" viewBased="YES" id="7Te-u0-Sax" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="508" height="212"/>
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="37" rowSizeStyle="automatic" headerView="8SH-1C-Y6N" viewBased="YES" id="7Te-u0-Sax" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="508" height="213"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -443,9 +447,8 @@ DQ
<rect key="frame" x="1" y="1" width="101" height="37"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
<rect key="frame" x="0.0" y="0.0" width="101" height="37"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
<rect key="frame" x="0.0" y="22" width="101" height="14"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Table View Cell" id="5mH-2x-szO">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -453,6 +456,11 @@ DQ
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstItem="wDJ-re-Kse" firstAttribute="leading" secondItem="E0V-9u-Pze" secondAttribute="leading" constant="2" id="9kR-DD-Te2"/>
<constraint firstItem="wDJ-re-Kse" firstAttribute="centerX" secondItem="E0V-9u-Pze" secondAttribute="centerX" id="YKU-SV-O9K"/>
<constraint firstItem="wDJ-re-Kse" firstAttribute="top" secondItem="E0V-9u-Pze" secondAttribute="top" constant="1" id="fBB-oC-PIV"/>
</constraints>
<connections>
<outlet property="textField" destination="wDJ-re-Kse" id="oSs-MP-JCV"/>
</connections>
@@ -472,8 +480,8 @@ DQ
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="valueCellForSizing" misplaced="YES" id="lna-bi-Jhf">
<rect key="frame" x="105" y="1" width="401" height="37"/>
<tableCellView identifier="valueCellForSizing" id="lna-bi-Jhf">
<rect key="frame" x="105" y="1" width="401" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Szc-uj-Lea">
@@ -496,12 +504,11 @@ DQ
</connections>
</tableCellView>
<tableCellView identifier="valueCell" id="hkR-Au-dHp">
<rect key="frame" x="105" y="40" width="401" height="37"/>
<rect key="frame" x="105" y="18" width="401" height="37"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
<rect key="frame" x="0.0" y="0.0" width="401" height="37"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
<rect key="frame" x="0.0" y="12" width="401" height="14"/>
<textFieldCell key="cell" controlSize="small" selectable="YES" sendsActionOnEndEditing="YES" title="Table View Cell" id="L0d-pm-lX4">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -509,6 +516,11 @@ DQ
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstItem="uJ3-OT-6fm" firstAttribute="centerX" secondItem="hkR-Au-dHp" secondAttribute="centerX" id="ar4-ud-YGR"/>
<constraint firstItem="uJ3-OT-6fm" firstAttribute="centerY" secondItem="hkR-Au-dHp" secondAttribute="centerY" id="g6p-F2-0vO"/>
<constraint firstItem="uJ3-OT-6fm" firstAttribute="leading" secondItem="hkR-Au-dHp" secondAttribute="leading" constant="2" id="wJx-yj-jQk"/>
</constraints>
<connections>
<outlet property="textField" destination="uJ3-OT-6fm" id="XCZ-Pc-eDa"/>
</connections>
@@ -528,7 +540,7 @@ DQ
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="50" id="ot4-UB-qcj"/>
</constraints>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="vAq-7z-LNe">
<rect key="frame" x="1" y="72" width="135" height="15"/>
<rect key="frame" x="1" y="222" width="508" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="car-MF-vd8">
@@ -574,6 +586,7 @@ DQ
<constraint firstItem="BfX-EM-ktQ" firstAttribute="leading" secondItem="QEr-1S-JZX" secondAttribute="leading" id="mjk-ta-h2N"/>
<constraint firstItem="zM1-YP-Au2" firstAttribute="leading" secondItem="dWj-kw-NVW" secondAttribute="trailing" constant="14" id="vyk-qX-8IX"/>
</constraints>
<point key="canvasLocation" x="139" y="153.5"/>
</view>
</objects>
</document>