Skip to content

Commit

Permalink
Cleaned up GUI interface
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Nov 8, 2019
1 parent c4b00c6 commit 66e275a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
4 changes: 3 additions & 1 deletion GUI/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {


func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
true
}

func applicationDidFinishLaunching(_ aNotification: Notification) {
// Insert code here to initialize your application
Expand Down
8 changes: 4 additions & 4 deletions GUI/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
</connections>
</application>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="GUI" customModuleProvider="target"/>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="TBPatch" customModuleProvider="target"/>
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
Expand All @@ -84,7 +84,7 @@
<scene sceneID="R2V-B0-nI4">
<objects>
<windowController id="B8D-0N-5wS" sceneMemberID="viewController">
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
<window key="window" title="Thunderbolt Patcher" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" titlebarAppearsTransparent="YES" id="IQv-IB-iLA">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="196" y="240" width="480" height="270"/>
Expand All @@ -104,7 +104,7 @@
<!--View Controller-->
<scene sceneID="hIz-AP-VOD">
<objects>
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModule="GUI" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModule="TBPatch" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" id="m2S-Jp-Qdl">
<rect key="frame" x="0.0" y="0.0" width="480" height="270"/>
<autoresizingMask key="autoresizingMask"/>
Expand All @@ -113,7 +113,7 @@
<rect key="frame" x="72" y="198" width="391" height="25"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" completes="NO" usesDataSource="YES" numberOfVisibleItems="5" id="O0M-W0-w5o">
<font key="font" metaFont="titleBar"/>
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</comboBoxCell>
Expand Down
12 changes: 6 additions & 6 deletions ThunderboltPatcher.xcodeproj/xcshareddata/xcschemes/GUI.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CE13379F23621429008A58E8"
BuildableName = "GUI.app"
BlueprintIdentifier = "CE2051E7236809E400DCC481"
BuildableName = "TBPatch.app"
BlueprintName = "GUI"
ReferencedContainer = "container:ThunderboltPatcher.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -44,8 +44,8 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CE13379F23621429008A58E8"
BuildableName = "GUI.app"
BlueprintIdentifier = "CE2051E7236809E400DCC481"
BuildableName = "TBPatch.app"
BlueprintName = "GUI"
ReferencedContainer = "container:ThunderboltPatcher.xcodeproj">
</BuildableReference>
Expand All @@ -61,8 +61,8 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CE13379F23621429008A58E8"
BuildableName = "GUI.app"
BlueprintIdentifier = "CE2051E7236809E400DCC481"
BuildableName = "TBPatch.app"
BlueprintName = "GUI"
ReferencedContainer = "container:ThunderboltPatcher.xcodeproj">
</BuildableReference>
Expand Down

0 comments on commit 66e275a

Please sign in to comment.