Skip to content

Commit

Permalink
fix: update menus to look better, add quit button
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Kovacs <[email protected]>
  • Loading branch information
Noah Kovacs committed Jun 11, 2019
1 parent 544e55d commit 985a349
Show file tree
Hide file tree
Showing 16 changed files with 384 additions and 131 deletions.
131 changes: 131 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# Created by .ignore support plugin (hsz.mobi)
### macOS template
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Xcode template
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Xcode Patch
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno

### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

2 changes: 2 additions & 0 deletions .idea/ToggleBluetooth.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/runConfigurations/ToggleBluetooth.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/xcode.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 12 additions & 19 deletions ToggleBluetooth.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,24 @@
objects = {

/* Begin PBXBuildFile section */
AB47595E22AF276F00D859D8 /* ApplicationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB47595D22AF276F00D859D8 /* ApplicationController.swift */; };
AB5ECFFA22AC236500F2052D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB5ECFF922AC236500F2052D /* AppDelegate.swift */; };
AB5ECFFC22AC236500F2052D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB5ECFFB22AC236500F2052D /* ViewController.swift */; };
AB5ECFFE22AC236600F2052D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AB5ECFFD22AC236600F2052D /* Assets.xcassets */; };
AB5ED00122AC236600F2052D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AB5ECFFF22AC236600F2052D /* Main.storyboard */; };
AB8D7F7422AE0ECB00E6E7A1 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = AB8D7F7322AE0ECB00E6E7A1 /* MainMenu.xib */; };
CA635506539ACBAF6E956479 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = CA635396E88C080E1257019A /* LICENSE */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
AB47595D22AF276F00D859D8 /* ApplicationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ApplicationController.swift; sourceTree = "<group>"; };
AB5ECFF622AC236500F2052D /* ToggleBluetooth.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ToggleBluetooth.app; sourceTree = BUILT_PRODUCTS_DIR; };
AB5ECFF922AC236500F2052D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
AB5ECFFB22AC236500F2052D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
AB5ECFFD22AC236600F2052D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
AB5ED00022AC236600F2052D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
AB5ED00222AC236600F2052D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
AB5ED00322AC236600F2052D /* ToggleBluetooth.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = ToggleBluetooth.entitlements; sourceTree = "<group>"; };
AB5ED00B22AC36C500F2052D /* Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Header.h; sourceTree = "<group>"; };
AB5ED00C22AC401100F2052D /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; };
AB8D7F7322AE0ECB00E6E7A1 /* MainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = "<group>"; };
CA635396E88C080E1257019A /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -41,6 +43,7 @@
children = (
AB5ECFF822AC236500F2052D /* ToggleBluetooth */,
AB5ECFF722AC236500F2052D /* Products */,
CA635396E88C080E1257019A /* LICENSE */,
);
sourceTree = "<group>";
};
Expand All @@ -55,11 +58,11 @@
AB5ECFF822AC236500F2052D /* ToggleBluetooth */ = {
isa = PBXGroup;
children = (
AB47595D22AF276F00D859D8 /* ApplicationController.swift */,
AB8D7F7322AE0ECB00E6E7A1 /* MainMenu.xib */,
AB5ECFF922AC236500F2052D /* AppDelegate.swift */,
AB5ED00B22AC36C500F2052D /* Header.h */,
AB5ECFFB22AC236500F2052D /* ViewController.swift */,
AB5ECFFD22AC236600F2052D /* Assets.xcassets */,
AB5ECFFF22AC236600F2052D /* Main.storyboard */,
AB5ED00222AC236600F2052D /* Info.plist */,
AB5ED00C22AC401100F2052D /* README.md */,
AB5ED00322AC236600F2052D /* ToggleBluetooth.entitlements */,
Expand Down Expand Up @@ -130,8 +133,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
AB8D7F7422AE0ECB00E6E7A1 /* MainMenu.xib in Resources */,
AB5ECFFE22AC236600F2052D /* Assets.xcassets in Resources */,
AB5ED00122AC236600F2052D /* Main.storyboard in Resources */,
CA635506539ACBAF6E956479 /* LICENSE in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -142,24 +146,13 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
AB5ECFFC22AC236500F2052D /* ViewController.swift in Sources */,
AB47595E22AF276F00D859D8 /* ApplicationController.swift in Sources */,
AB5ECFFA22AC236500F2052D /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
AB5ECFFF22AC236600F2052D /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
AB5ED00022AC236600F2052D /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
AB5ED00422AC236600F2052D /* Debug */ = {
isa = XCBuildConfiguration;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB5ECFF522AC236500F2052D"
BuildableName = "ToggleBluetooth.app"
BlueprintName = "ToggleBluetooth"
ReferencedContainer = "container:ToggleBluetooth.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB5ECFF522AC236500F2052D"
BuildableName = "ToggleBluetooth.app"
BlueprintName = "ToggleBluetooth"
ReferencedContainer = "container:ToggleBluetooth.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB5ECFF522AC236500F2052D"
BuildableName = "ToggleBluetooth.app"
BlueprintName = "ToggleBluetooth"
ReferencedContainer = "container:ToggleBluetooth.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB5ECFF522AC236500F2052D"
BuildableName = "ToggleBluetooth.app"
BlueprintName = "ToggleBluetooth"
ReferencedContainer = "container:ToggleBluetooth.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>AB5ECFF522AC236500F2052D</key>
<dict>
<key>primary</key>
<true />
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit 985a349

Please sign in to comment.