Rewrite some classes in Swift.
This commit is contained in:
15 files changed
+175
-300
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13168.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13168.3"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -143,9 +143,9 @@
|
||||
<allowedToolbarItems>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="4Tn-KL-e86"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="Iau-lm-QMb"/>
|
||||
<toolbarItem implicitItemIdentifier="3A987BC3-AE8F-4D56-8562-D2F37B9DA021" label="Add Item" paletteLabel="Add Item" toolTip="Add an item to the queue" image="NSAddTemplate" id="mbj-v3-fFG" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="3A987BC3-AE8F-4D56-8562-D2F37B9DA021" label="Add Item" paletteLabel="Add Item" toolTip="Add an item to the queue" image="NSAddTemplate" id="mbj-v3-fFG" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="28"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="sUh-2y-iie">
|
||||
<rect key="frame" x="9" y="14" width="36" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
@@ -158,9 +158,9 @@
|
||||
<action selector="open:" target="-2" id="sdm-Bo-vsx"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="403860A1-8562-4F5B-BBEE-E8C1270A9077" label="Settings" paletteLabel="Settings" toolTip="Show/hide settings" image="NSActionTemplate" id="Qif-lh-Rps" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="403860A1-8562-4F5B-BBEE-E8C1270A9077" label="Settings" paletteLabel="Settings" toolTip="Show/hide settings" image="NSActionTemplate" id="Qif-lh-Rps" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="28"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="tU5-DL-6vU">
|
||||
<rect key="frame" x="8" y="14" width="36" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
@@ -173,9 +173,9 @@
|
||||
<action selector="toggleOptions:" target="-2" id="f6O-LF-uNy"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="90FECCE0-5997-4C12-9158-9F7391313970" label="Start" paletteLabel="Start" toolTip="Start/stop queue" image="playBackTemplate" id="xeY-tT-tF2" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="90FECCE0-5997-4C12-9158-9F7391313970" label="Start" paletteLabel="Start" toolTip="Start/stop queue" image="playBackTemplate" id="xeY-tT-tF2" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="28"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="sOU-an-jdB">
|
||||
<rect key="frame" x="0.0" y="14" width="36" height="28"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11761" systemVersion="16C53a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11761"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="SBLogWindowController">
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="ActivityWindowController" customModule="Subler" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="logView" destination="FnY-V1-Sgg" id="z15-mv-gl7"/>
|
||||
<outlet property="window" destination="F0z-JX-Cv5" id="gIp-Ho-8D9"/>
|
||||
@@ -41,7 +41,7 @@
|
||||
<rect key="frame" x="1" y="1" width="400" height="411"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textView ambiguous="YES" editable="NO" importsGraphics="NO" richText="NO" findStyle="bar" incrementalSearchingEnabled="YES" allowsCharacterPickerTouchBarItem="NO" allowsNonContiguousLayout="YES" textCompletion="NO" id="FnY-V1-Sgg">
|
||||
<textView ambiguous="YES" editable="NO" importsGraphics="NO" richText="NO" verticallyResizable="YES" findStyle="bar" incrementalSearchingEnabled="YES" allowsCharacterPickerTouchBarItem="NO" allowsNonContiguousLayout="YES" textCompletion="NO" id="FnY-V1-Sgg">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="411"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
@@ -64,6 +64,7 @@
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="myf-Ql-qUP" secondAttribute="trailing" constant="8" id="gh1-w9-lnf"/>
|
||||
<constraint firstItem="myf-Ql-qUP" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="se5-gp-TjO" secondAttribute="leading" constant="20" symbolic="YES" id="keQ-Uw-5xb"/>
|
||||
<constraint firstAttribute="bottom" secondItem="myf-Ql-qUP" secondAttribute="bottom" constant="8" id="ovP-jQ-beQ"/>
|
||||
</constraints>
|
||||
</view>
|
||||
@@ -356,7 +356,7 @@
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="100319"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="100320"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSeparatorItem" id="100321"/>
|
||||
<toolbarItem implicitItemIdentifier="D2E8E21C-DCD4-456F-B15A-9AC0AA5556DF" label="Import" paletteLabel="Import" toolTip="Import tracks from external files" image="NSAddTemplate" id="q3d-mv-KiV" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="D2E8E21C-DCD4-456F-B15A-9AC0AA5556DF" label="Import" paletteLabel="Import" toolTip="Import tracks from external files" image="NSAddTemplate" id="q3d-mv-KiV" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="28"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="9Ap-vv-70i">
|
||||
@@ -371,7 +371,7 @@
|
||||
<action selector="selectFile:" target="-2" id="mw9-1U-2Pb"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="5B6FDF6D-9486-49B2-8EA4-184D76D0864C" label="Delete Track" paletteLabel="Delete Track" toolTip="Delete the selected track" image="ToolbarRemoveTemplate" id="S3Y-pp-4q3" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="5B6FDF6D-9486-49B2-8EA4-184D76D0864C" label="Delete Track" paletteLabel="Delete Track" toolTip="Delete the selected track" image="ToolbarRemoveTemplate" id="S3Y-pp-4q3" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="28"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="v1q-Kq-a3i">
|
||||
@@ -386,7 +386,7 @@
|
||||
<action selector="deleteTrack:" target="-2" id="FiO-82-bMI"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="66402BE4-4A7B-4048-A584-2BC0F5E69600" label="Search Metadata" paletteLabel="Search Metadata" toolTip="Search metadata on the web" image="NSRevealFreestandingTemplate" id="Q2q-Vv-Qt7" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="66402BE4-4A7B-4048-A584-2BC0F5E69600" label="Search Metadata" paletteLabel="Search Metadata" toolTip="Search metadata on the web" image="NSRevealFreestandingTemplate" id="Q2q-Vv-Qt7" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="24"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="J1D-OD-RyX">
|
||||
@@ -401,7 +401,7 @@
|
||||
<action selector="searchMetadata:" target="-2" id="aEl-9y-ofV"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="C90398D0-2F66-43E9-8B04-6CCD8DDA90D2" label="Search Chapters" paletteLabel="Search Chapters" toolTip="Search chapters on the web" image="ToolbarChaptersTemplate" id="Srh-TP-1hf" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="C90398D0-2F66-43E9-8B04-6CCD8DDA90D2" label="Search Chapters" paletteLabel="Search Chapters" toolTip="Search chapters on the web" image="ToolbarChaptersTemplate" id="Srh-TP-1hf" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="28"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="iya-i9-RSa">
|
||||
@@ -416,7 +416,7 @@
|
||||
<action selector="searchChapters:" target="-2" id="CoQ-HW-2Jh"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="9F789D5F-C25E-449F-ABCE-DDF99B4FF988" label="Send to Queue" paletteLabel="Send to Queue" toolTip="Send the current document to the queue" image="ToolbarActionTemplate" id="APi-CJ-dh2" customClass="ButtonToolbarItem">
|
||||
<toolbarItem implicitItemIdentifier="9F789D5F-C25E-449F-ABCE-DDF99B4FF988" label="Send to Queue" paletteLabel="Send to Queue" toolTip="Send the current document to the queue" image="ToolbarActionTemplate" id="APi-CJ-dh2" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<size key="minSize" width="36" height="24"/>
|
||||
<size key="maxSize" width="36" height="28"/>
|
||||
<button key="view" verticalHuggingPriority="750" id="lvx-ga-BAF">
|
||||
|
||||
Reference in new issue
Block a user