Skip to content

Commit 42cae8b

Browse files
committed
Better naming for LRC components
1 parent 2009a0b commit 42cae8b

File tree

4 files changed

+90
-68
lines changed

4 files changed

+90
-68
lines changed

Demos/Subtitle Viewer/Subtitle Viewer/Base.lproj/Main.storyboard

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="23094" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23094"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<scenes>
@@ -860,7 +860,7 @@
860860
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
861861
<subviews>
862862
<tableView verticalHuggingPriority="750" misplaced="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" rowHeight="24" usesAutomaticRowHeights="YES" headerView="H60-f4-Ggh" viewBased="YES" translatesAutoresizingMaskIntoConstraints="NO" id="K6g-vZ-LQ5">
863-
<rect key="frame" x="0.0" y="0.0" width="837" height="197"/>
863+
<rect key="frame" x="0.0" y="0.0" width="837.5" height="197"/>
864864
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
865865
<size key="intercellSpacing" width="17" height="0.0"/>
866866
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -941,43 +941,6 @@
941941
</tableCellView>
942942
</prototypeCellViews>
943943
</tableColumn>
944-
<tableColumn identifier="isZeroLength" width="20" minWidth="20" maxWidth="3.4028234663852886e+38" headerToolTip="Is the cue zero length?" id="MJt-on-fRA" userLabel="izZeroLength">
945-
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="center" title="Ø">
946-
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
947-
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
948-
</tableHeaderCell>
949-
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="3lT-Ha-QQd">
950-
<font key="font" metaFont="system"/>
951-
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
952-
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
953-
</textFieldCell>
954-
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
955-
<prototypeCellViews>
956-
<tableCellView identifier="isZeroLengthCell" misplaced="YES" id="IRf-wx-W0Q">
957-
<rect key="frame" x="130" y="0.0" width="20" height="23"/>
958-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
959-
<subviews>
960-
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="IAm-jq-wR3">
961-
<rect key="frame" x="0.0" y="4" width="20" height="14"/>
962-
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="fPO-M2-x6F">
963-
<font key="font" size="12" name="Menlo-Regular"/>
964-
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
965-
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
966-
</textFieldCell>
967-
</textField>
968-
</subviews>
969-
<constraints>
970-
<constraint firstItem="IAm-jq-wR3" firstAttribute="top" secondItem="IRf-wx-W0Q" secondAttribute="top" constant="4" id="5z8-sO-3ff"/>
971-
<constraint firstItem="IAm-jq-wR3" firstAttribute="leading" secondItem="IRf-wx-W0Q" secondAttribute="leading" constant="2" id="6aW-0v-eEo"/>
972-
<constraint firstAttribute="bottom" secondItem="IAm-jq-wR3" secondAttribute="bottom" constant="4" id="I3C-04-jj8"/>
973-
<constraint firstAttribute="trailing" secondItem="IAm-jq-wR3" secondAttribute="trailing" constant="2" id="N9Z-BQ-ytW"/>
974-
</constraints>
975-
<connections>
976-
<outlet property="textField" destination="IAm-jq-wR3" id="hWo-SK-3Jy"/>
977-
</connections>
978-
</tableCellView>
979-
</prototypeCellViews>
980-
</tableColumn>
981944
<tableColumn identifier="id" width="80" minWidth="10" maxWidth="3.4028234663852886e+38" id="0L3-Pj-CgF" userLabel="Identifier">
982945
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="ID">
983946
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@@ -991,7 +954,7 @@
991954
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
992955
<prototypeCellViews>
993956
<tableCellView translatesAutoresizingMaskIntoConstraints="NO" id="eD4-JE-2Pf">
994-
<rect key="frame" x="167" y="0.0" width="80" height="23"/>
957+
<rect key="frame" x="130" y="0.0" width="80" height="23"/>
995958
<subviews>
996959
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Q6V-8r-ogf">
997960
<rect key="frame" x="0.0" y="4" width="80" height="15"/>
@@ -1027,7 +990,7 @@
1027990
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
1028991
<prototypeCellViews>
1029992
<tableCellView identifier="startCell" verticalHuggingPriority="100" verticalCompressionResistancePriority="999" translatesAutoresizingMaskIntoConstraints="NO" id="yM1-mn-JZb">
1030-
<rect key="frame" x="264" y="0.0" width="116" height="23"/>
993+
<rect key="frame" x="227" y="0.0" width="116" height="23"/>
1031994
<subviews>
1032995
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="999" translatesAutoresizingMaskIntoConstraints="NO" id="cyY-t1-ZaK">
1033996
<rect key="frame" x="0.0" y="4" width="116" height="15"/>
@@ -1063,7 +1026,7 @@
10631026
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
10641027
<prototypeCellViews>
10651028
<tableCellView identifier="endCell" verticalHuggingPriority="100" verticalCompressionResistancePriority="999" translatesAutoresizingMaskIntoConstraints="NO" id="PyR-wi-igE">
1066-
<rect key="frame" x="397" y="0.0" width="127" height="23"/>
1029+
<rect key="frame" x="360" y="0.0" width="127" height="23"/>
10671030
<subviews>
10681031
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="999" translatesAutoresizingMaskIntoConstraints="NO" id="PS1-gL-fyO">
10691032
<rect key="frame" x="0.0" y="4" width="127" height="15"/>
@@ -1086,6 +1049,43 @@
10861049
</tableCellView>
10871050
</prototypeCellViews>
10881051
</tableColumn>
1052+
<tableColumn identifier="isZeroLength" width="20" minWidth="20" maxWidth="3.4028234663852886e+38" headerToolTip="Is the cue zero length?" id="MJt-on-fRA" userLabel="izZeroLength">
1053+
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="center" title="Ø">
1054+
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
1055+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1056+
</tableHeaderCell>
1057+
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="3lT-Ha-QQd">
1058+
<font key="font" metaFont="system"/>
1059+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
1060+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
1061+
</textFieldCell>
1062+
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
1063+
<prototypeCellViews>
1064+
<tableCellView identifier="isZeroLengthCell" misplaced="YES" id="IRf-wx-W0Q">
1065+
<rect key="frame" x="504" y="0.0" width="20" height="23"/>
1066+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1067+
<subviews>
1068+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="IAm-jq-wR3">
1069+
<rect key="frame" x="0.0" y="4" width="20" height="14"/>
1070+
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="fPO-M2-x6F">
1071+
<font key="font" size="12" name="Menlo-Regular"/>
1072+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
1073+
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
1074+
</textFieldCell>
1075+
</textField>
1076+
</subviews>
1077+
<constraints>
1078+
<constraint firstItem="IAm-jq-wR3" firstAttribute="top" secondItem="IRf-wx-W0Q" secondAttribute="top" constant="4" id="5z8-sO-3ff"/>
1079+
<constraint firstItem="IAm-jq-wR3" firstAttribute="leading" secondItem="IRf-wx-W0Q" secondAttribute="leading" constant="2" id="6aW-0v-eEo"/>
1080+
<constraint firstAttribute="bottom" secondItem="IAm-jq-wR3" secondAttribute="bottom" constant="4" id="I3C-04-jj8"/>
1081+
<constraint firstAttribute="trailing" secondItem="IAm-jq-wR3" secondAttribute="trailing" constant="2" id="N9Z-BQ-ytW"/>
1082+
</constraints>
1083+
<connections>
1084+
<outlet property="textField" destination="IAm-jq-wR3" id="hWo-SK-3Jy"/>
1085+
</connections>
1086+
</tableCellView>
1087+
</prototypeCellViews>
1088+
</tableColumn>
10891089
<tableColumn identifier="speaker" width="100" minWidth="10" maxWidth="3.4028234663852886e+38" id="oy9-yl-DbN" userLabel="Speaker">
10901090
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Speaker">
10911091
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@@ -1136,10 +1136,10 @@
11361136
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
11371137
<prototypeCellViews>
11381138
<tableCellView identifier="textCell" horizontalHuggingPriority="10" verticalHuggingPriority="999" verticalCompressionResistancePriority="999" translatesAutoresizingMaskIntoConstraints="NO" id="7P6-Ln-SHg">
1139-
<rect key="frame" x="658" y="0.0" width="170" height="21"/>
1139+
<rect key="frame" x="658" y="0.0" width="171" height="21"/>
11401140
<subviews>
11411141
<textField focusRingType="none" horizontalHuggingPriority="10" verticalHuggingPriority="999" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="999" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zKF-jW-E6L">
1142-
<rect key="frame" x="0.0" y="3" width="170" height="15"/>
1142+
<rect key="frame" x="0.0" y="3" width="171" height="15"/>
11431143
<textFieldCell key="cell" allowsUndo="NO" sendsActionOnEndEditing="YES" title="Table View Cell" id="4j4-lH-erf" customClass="RSVerticallyCenteredTextFieldCell" customModule="Subtitle_Viewer" customModuleProvider="target">
11441144
<font key="font" size="13" name="Menlo-Regular"/>
11451145
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -1176,7 +1176,7 @@
11761176
<autoresizingMask key="autoresizingMask"/>
11771177
</scroller>
11781178
<tableHeaderView key="headerView" wantsLayer="YES" id="H60-f4-Ggh">
1179-
<rect key="frame" x="0.0" y="0.0" width="837" height="28"/>
1179+
<rect key="frame" x="0.0" y="0.0" width="837.5" height="28"/>
11801180
<autoresizingMask key="autoresizingMask"/>
11811181
</tableHeaderView>
11821182
</scrollView>

0 commit comments

Comments
 (0)