Skip to content

Commit

Permalink
Redesign as a menubar app
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishal Telangre authored Nov 1, 2016
1 parent 7cd6502 commit d2c23b1
Show file tree
Hide file tree
Showing 19 changed files with 304 additions and 757 deletions.
112 changes: 58 additions & 54 deletions Kyapchar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,25 @@
objects = {

/* Begin PBXBuildFile section */
08DE4F871DA00B9000D969DA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08DE4F861DA00B9000D969DA /* AppDelegate.swift */; };
08DE4F891DA00B9000D969DA /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08DE4F881DA00B9000D969DA /* ViewController.swift */; };
08DE4F8B1DA00B9000D969DA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 08DE4F8A1DA00B9000D969DA /* Assets.xcassets */; };
08DE4F8E1DA00B9000D969DA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 08DE4F8C1DA00B9000D969DA /* Main.storyboard */; };
086724DC1DC86E07007033BB /* Recorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 086724DB1DC86E07007033BB /* Recorder.swift */; };
089CD7551DC7B742005067DB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 089CD7541DC7B742005067DB /* AppDelegate.swift */; };
089CD7571DC7B742005067DB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 089CD7561DC7B742005067DB /* Assets.xcassets */; };
089CD75A1DC7B742005067DB /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 089CD7581DC7B742005067DB /* MainMenu.xib */; };
089CD7641DC85A3C005067DB /* MenuController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 089CD7631DC85A3C005067DB /* MenuController.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
08DE4F831DA00B9000D969DA /* Kyapchar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Kyapchar.app; sourceTree = BUILT_PRODUCTS_DIR; };
08DE4F861DA00B9000D969DA /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
08DE4F881DA00B9000D969DA /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
08DE4F8A1DA00B9000D969DA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
08DE4F8D1DA00B9000D969DA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
08DE4F8F1DA00B9000D969DA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
086724DB1DC86E07007033BB /* Recorder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Recorder.swift; sourceTree = "<group>"; };
089CD7511DC7B742005067DB /* Kyapchar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Kyapchar.app; sourceTree = BUILT_PRODUCTS_DIR; };
089CD7541DC7B742005067DB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
089CD7561DC7B742005067DB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
089CD7591DC7B742005067DB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
089CD75B1DC7B742005067DB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
089CD7631DC85A3C005067DB /* MenuController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MenuController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
08DE4F801DA00B9000D969DA /* Frameworks */ = {
089CD74E1DC7B742005067DB /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -33,124 +35,126 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
08DE4F7A1DA00B9000D969DA = {
089CD7481DC7B742005067DB = {
isa = PBXGroup;
children = (
08DE4F851DA00B9000D969DA /* Kyapchar */,
08DE4F841DA00B9000D969DA /* Products */,
089CD7531DC7B742005067DB /* Kyapchar */,
089CD7521DC7B742005067DB /* Products */,
);
sourceTree = "<group>";
};
08DE4F841DA00B9000D969DA /* Products */ = {
089CD7521DC7B742005067DB /* Products */ = {
isa = PBXGroup;
children = (
08DE4F831DA00B9000D969DA /* Kyapchar.app */,
089CD7511DC7B742005067DB /* Kyapchar.app */,
);
name = Products;
sourceTree = "<group>";
};
08DE4F851DA00B9000D969DA /* Kyapchar */ = {
089CD7531DC7B742005067DB /* Kyapchar */ = {
isa = PBXGroup;
children = (
08DE4F861DA00B9000D969DA /* AppDelegate.swift */,
08DE4F881DA00B9000D969DA /* ViewController.swift */,
08DE4F8A1DA00B9000D969DA /* Assets.xcassets */,
08DE4F8C1DA00B9000D969DA /* Main.storyboard */,
08DE4F8F1DA00B9000D969DA /* Info.plist */,
089CD7631DC85A3C005067DB /* MenuController.swift */,
086724DB1DC86E07007033BB /* Recorder.swift */,
089CD7541DC7B742005067DB /* AppDelegate.swift */,
089CD7561DC7B742005067DB /* Assets.xcassets */,
089CD7581DC7B742005067DB /* MainMenu.xib */,
089CD75B1DC7B742005067DB /* Info.plist */,
);
path = Kyapchar;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
08DE4F821DA00B9000D969DA /* Kyapchar */ = {
089CD7501DC7B742005067DB /* Kyapchar */ = {
isa = PBXNativeTarget;
buildConfigurationList = 08DE4F921DA00B9000D969DA /* Build configuration list for PBXNativeTarget "Kyapchar" */;
buildConfigurationList = 089CD75E1DC7B742005067DB /* Build configuration list for PBXNativeTarget "Kyapchar" */;
buildPhases = (
08DE4F7F1DA00B9000D969DA /* Sources */,
08DE4F801DA00B9000D969DA /* Frameworks */,
08DE4F811DA00B9000D969DA /* Resources */,
089CD74D1DC7B742005067DB /* Sources */,
089CD74E1DC7B742005067DB /* Frameworks */,
089CD74F1DC7B742005067DB /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Kyapchar;
productName = Kyapchar;
productReference = 08DE4F831DA00B9000D969DA /* Kyapchar.app */;
productReference = 089CD7511DC7B742005067DB /* Kyapchar.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
08DE4F7B1DA00B9000D969DA /* Project object */ = {
089CD7491DC7B742005067DB /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = "Vishal Telangre";
TargetAttributes = {
08DE4F821DA00B9000D969DA = {
089CD7501DC7B742005067DB = {
CreatedOnToolsVersion = 7.3.1;
};
};
};
buildConfigurationList = 08DE4F7E1DA00B9000D969DA /* Build configuration list for PBXProject "Kyapchar" */;
buildConfigurationList = 089CD74C1DC7B742005067DB /* Build configuration list for PBXProject "Kyapchar" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 08DE4F7A1DA00B9000D969DA;
productRefGroup = 08DE4F841DA00B9000D969DA /* Products */;
mainGroup = 089CD7481DC7B742005067DB;
productRefGroup = 089CD7521DC7B742005067DB /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
08DE4F821DA00B9000D969DA /* Kyapchar */,
089CD7501DC7B742005067DB /* Kyapchar */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
08DE4F811DA00B9000D969DA /* Resources */ = {
089CD74F1DC7B742005067DB /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
08DE4F8B1DA00B9000D969DA /* Assets.xcassets in Resources */,
08DE4F8E1DA00B9000D969DA /* Main.storyboard in Resources */,
089CD7571DC7B742005067DB /* Assets.xcassets in Resources */,
089CD75A1DC7B742005067DB /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
08DE4F7F1DA00B9000D969DA /* Sources */ = {
089CD74D1DC7B742005067DB /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
08DE4F891DA00B9000D969DA /* ViewController.swift in Sources */,
08DE4F871DA00B9000D969DA /* AppDelegate.swift in Sources */,
086724DC1DC86E07007033BB /* Recorder.swift in Sources */,
089CD7551DC7B742005067DB /* AppDelegate.swift in Sources */,
089CD7641DC85A3C005067DB /* MenuController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
08DE4F8C1DA00B9000D969DA /* Main.storyboard */ = {
089CD7581DC7B742005067DB /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
08DE4F8D1DA00B9000D969DA /* Base */,
089CD7591DC7B742005067DB /* Base */,
);
name = Main.storyboard;
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
08DE4F901DA00B9000D969DA /* Debug */ = {
089CD75C1DC7B742005067DB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
Expand Down Expand Up @@ -195,7 +199,7 @@
};
name = Debug;
};
08DE4F911DA00B9000D969DA /* Release */ = {
089CD75D1DC7B742005067DB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
Expand Down Expand Up @@ -232,7 +236,7 @@
};
name = Release;
};
08DE4F931DA00B9000D969DA /* Debug */ = {
089CD75F1DC7B742005067DB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
Expand All @@ -244,7 +248,7 @@
};
name = Debug;
};
08DE4F941DA00B9000D969DA /* Release */ = {
089CD7601DC7B742005067DB /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
Expand All @@ -259,25 +263,25 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
08DE4F7E1DA00B9000D969DA /* Build configuration list for PBXProject "Kyapchar" */ = {
089CD74C1DC7B742005067DB /* Build configuration list for PBXProject "Kyapchar" */ = {
isa = XCConfigurationList;
buildConfigurations = (
08DE4F901DA00B9000D969DA /* Debug */,
08DE4F911DA00B9000D969DA /* Release */,
089CD75C1DC7B742005067DB /* Debug */,
089CD75D1DC7B742005067DB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
08DE4F921DA00B9000D969DA /* Build configuration list for PBXNativeTarget "Kyapchar" */ = {
089CD75E1DC7B742005067DB /* Build configuration list for PBXNativeTarget "Kyapchar" */ = {
isa = XCConfigurationList;
buildConfigurations = (
08DE4F931DA00B9000D969DA /* Debug */,
08DE4F941DA00B9000D969DA /* Release */,
089CD75F1DC7B742005067DB /* Debug */,
089CD7601DC7B742005067DB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 08DE4F7B1DA00B9000D969DA /* Project object */;
rootObject = 089CD7491DC7B742005067DB /* Project object */;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "08DE4F821DA00B9000D969DA"
BlueprintIdentifier = "089CD7501DC7B742005067DB"
BuildableName = "Kyapchar.app"
BlueprintName = "Kyapchar"
ReferencedContainer = "container:Kyapchar.xcodeproj">
Expand All @@ -32,7 +32,7 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "08DE4F821DA00B9000D969DA"
BlueprintIdentifier = "089CD7501DC7B742005067DB"
BuildableName = "Kyapchar.app"
BlueprintName = "Kyapchar"
ReferencedContainer = "container:Kyapchar.xcodeproj">
Expand All @@ -55,7 +55,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "08DE4F821DA00B9000D969DA"
BlueprintIdentifier = "089CD7501DC7B742005067DB"
BuildableName = "Kyapchar.app"
BlueprintName = "Kyapchar"
ReferencedContainer = "container:Kyapchar.xcodeproj">
Expand All @@ -74,7 +74,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "08DE4F821DA00B9000D969DA"
BlueprintIdentifier = "089CD7501DC7B742005067DB"
BuildableName = "Kyapchar.app"
BlueprintName = "Kyapchar"
ReferencedContainer = "container:Kyapchar.xcodeproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>08DE4F821DA00B9000D969DA</key>
<key>089CD7501DC7B742005067DB</key>
<dict>
<key>primary</key>
<true/>
Expand Down
7 changes: 2 additions & 5 deletions Kyapchar/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
// AppDelegate.swift
// Kyapchar
//
// Created by Vishal Telangre on 10/1/16.
// Created by Vishal Telangre on 10/31/16.
// Copyright © 2016 Vishal Telangre. All rights reserved.
//

import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {




func applicationDidFinishLaunching(aNotification: NSNotification) {
// Insert code here to initialize your application
}
Expand All @@ -21,6 +19,5 @@ class AppDelegate: NSObject, NSApplicationDelegate {
// Insert code here to tear down your application
}


}

11 changes: 5 additions & 6 deletions Kyapchar/Assets.xcassets/pause.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{
"images" : [
{
"idiom" : "universal",
"idiom" : "mac",
"scale" : "1x"
},
{
"idiom" : "universal",
"idiom" : "mac",
"filename" : "pause.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file modified Kyapchar/Assets.xcassets/pause.imageset/pause.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions Kyapchar/Assets.xcassets/record.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{
"images" : [
{
"idiom" : "universal",
"idiom" : "mac",
"scale" : "1x"
},
{
"idiom" : "universal",
"idiom" : "mac",
"filename" : "record.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file modified Kyapchar/Assets.xcassets/record.imageset/record.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d2c23b1

Please sign in to comment.