diff --git a/Clocker-Helper/Clocker-Helper.xcodeproj/project.pbxproj b/Clocker-Helper/Clocker-Helper.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0fd3a97 --- /dev/null +++ b/Clocker-Helper/Clocker-Helper.xcodeproj/project.pbxproj @@ -0,0 +1,302 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 9A20A05A1C4E801500FB45AB /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A20A0591C4E801500FB45AB /* AppDelegate.m */; }; + 9A20A05D1C4E801500FB45AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A20A05C1C4E801500FB45AB /* main.m */; }; + 9A20A05F1C4E801500FB45AB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9A20A05E1C4E801500FB45AB /* Assets.xcassets */; }; + 9A20A0621C4E801500FB45AB /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9A20A0601C4E801500FB45AB /* MainMenu.xib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 9A20A0551C4E801500FB45AB /* Clocker-Helper.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Clocker-Helper.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 9A20A0581C4E801500FB45AB /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 9A20A0591C4E801500FB45AB /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 9A20A05C1C4E801500FB45AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 9A20A05E1C4E801500FB45AB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 9A20A0611C4E801500FB45AB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 9A20A0631C4E801500FB45AB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 9A20A0731C4E80D300FB45AB /* Clocker-Helper.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Clocker-Helper.entitlements"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 9A20A0521C4E801500FB45AB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 9A20A04C1C4E801500FB45AB = { + isa = PBXGroup; + children = ( + 9A20A0571C4E801500FB45AB /* Clocker-Helper */, + 9A20A0561C4E801500FB45AB /* Products */, + ); + sourceTree = ""; + }; + 9A20A0561C4E801500FB45AB /* Products */ = { + isa = PBXGroup; + children = ( + 9A20A0551C4E801500FB45AB /* Clocker-Helper.app */, + ); + name = Products; + sourceTree = ""; + }; + 9A20A0571C4E801500FB45AB /* Clocker-Helper */ = { + isa = PBXGroup; + children = ( + 9A20A0731C4E80D300FB45AB /* Clocker-Helper.entitlements */, + 9A20A0581C4E801500FB45AB /* AppDelegate.h */, + 9A20A0591C4E801500FB45AB /* AppDelegate.m */, + 9A20A05E1C4E801500FB45AB /* Assets.xcassets */, + 9A20A0601C4E801500FB45AB /* MainMenu.xib */, + 9A20A0631C4E801500FB45AB /* Info.plist */, + 9A20A05B1C4E801500FB45AB /* Supporting Files */, + ); + path = "Clocker-Helper"; + sourceTree = ""; + }; + 9A20A05B1C4E801500FB45AB /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 9A20A05C1C4E801500FB45AB /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 9A20A0541C4E801500FB45AB /* Clocker-Helper */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9A20A0661C4E801500FB45AB /* Build configuration list for PBXNativeTarget "Clocker-Helper" */; + buildPhases = ( + 9A20A0511C4E801500FB45AB /* Sources */, + 9A20A0521C4E801500FB45AB /* Frameworks */, + 9A20A0531C4E801500FB45AB /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Clocker-Helper"; + productName = "Clocker-Helper"; + productReference = 9A20A0551C4E801500FB45AB /* Clocker-Helper.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 9A20A04D1C4E801500FB45AB /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = "Abhishek Banthia"; + TargetAttributes = { + 9A20A0541C4E801500FB45AB = { + CreatedOnToolsVersion = 7.2; + DevelopmentTeam = AJS5SNW8EY; + SystemCapabilities = { + com.apple.Sandbox = { + enabled = 1; + }; + }; + }; + }; + }; + buildConfigurationList = 9A20A0501C4E801500FB45AB /* Build configuration list for PBXProject "Clocker-Helper" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 9A20A04C1C4E801500FB45AB; + productRefGroup = 9A20A0561C4E801500FB45AB /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 9A20A0541C4E801500FB45AB /* Clocker-Helper */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 9A20A0531C4E801500FB45AB /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9A20A05F1C4E801500FB45AB /* Assets.xcassets in Resources */, + 9A20A0621C4E801500FB45AB /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 9A20A0511C4E801500FB45AB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9A20A05D1C4E801500FB45AB /* main.m in Sources */, + 9A20A05A1C4E801500FB45AB /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 9A20A0601C4E801500FB45AB /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 9A20A0611C4E801500FB45AB /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 9A20A0641C4E801500FB45AB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 9A20A0651C4E801500FB45AB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + 9A20A0671C4E801500FB45AB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = "Clocker-Helper/Clocker-Helper.entitlements"; + CODE_SIGN_IDENTITY = "Mac Developer"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = "Clocker-Helper/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.abhishek.Clocker-Helper"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 9A20A0681C4E801500FB45AB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = "Clocker-Helper/Clocker-Helper.entitlements"; + CODE_SIGN_IDENTITY = "Mac Developer"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = "Clocker-Helper/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.abhishek.Clocker-Helper"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 9A20A0501C4E801500FB45AB /* Build configuration list for PBXProject "Clocker-Helper" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9A20A0641C4E801500FB45AB /* Debug */, + 9A20A0651C4E801500FB45AB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9A20A0661C4E801500FB45AB /* Build configuration list for PBXNativeTarget "Clocker-Helper" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9A20A0671C4E801500FB45AB /* Debug */, + 9A20A0681C4E801500FB45AB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 9A20A04D1C4E801500FB45AB /* Project object */; +} diff --git a/Clocker-Helper/Clocker-Helper.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/Clocker-Helper.xcscheme b/Clocker-Helper/Clocker-Helper.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/Clocker-Helper.xcscheme new file mode 100644 index 0000000..8d44518 --- /dev/null +++ b/Clocker-Helper/Clocker-Helper.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/Clocker-Helper.xcscheme @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Clocker-Helper/Clocker-Helper.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/xcschememanagement.plist b/Clocker-Helper/Clocker-Helper.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..63483ec --- /dev/null +++ b/Clocker-Helper/Clocker-Helper.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + Clocker-Helper.xcscheme + + orderHint + 1 + + + SuppressBuildableAutocreation + + 9A20A0541C4E801500FB45AB + + primary + + + + + diff --git a/Clocker-Helper/Clocker-Helper/AppDelegate.h b/Clocker-Helper/Clocker-Helper/AppDelegate.h new file mode 100644 index 0000000..2ba7b90 --- /dev/null +++ b/Clocker-Helper/Clocker-Helper/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// Clocker-Helper +// +// Created by Abhishek Banthia on 1/19/16. +// Copyright © 2016 Abhishek Banthia. All rights reserved. +// + +#import + +@interface AppDelegate : NSObject + + +@end + diff --git a/Clocker-Helper/Clocker-Helper/AppDelegate.m b/Clocker-Helper/Clocker-Helper/AppDelegate.m new file mode 100644 index 0000000..917011b --- /dev/null +++ b/Clocker-Helper/Clocker-Helper/AppDelegate.m @@ -0,0 +1,32 @@ +// +// AppDelegate.m +// Clocker-Helper +// +// Created by Abhishek Banthia on 1/19/16. +// Copyright © 2016 Abhishek Banthia. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@property (weak) IBOutlet NSWindow *window; +@end + +@implementation AppDelegate + +- (void)applicationDidFinishLaunching:(NSNotification *)aNotification +{ + NSString *path = [[[[[[NSBundle mainBundle] bundlePath] stringByDeletingLastPathComponent] stringByDeletingLastPathComponent] stringByDeletingLastPathComponent] stringByDeletingLastPathComponent]; + + [[NSWorkspace sharedWorkspace] launchApplication:path]; + + /*The Helper App's job is done!*/ + [NSApp terminate:nil]; +} + +- (void)applicationWillTerminate:(NSNotification *)aNotification { + // Insert code here to tear down your application +} + +@end diff --git a/Clocker-Helper/Clocker-Helper/Assets.xcassets/AppIcon.appiconset/Contents.json b/Clocker-Helper/Clocker-Helper/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/Clocker-Helper/Clocker-Helper/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Clocker-Helper/Clocker-Helper/Base.lproj/MainMenu.xib b/Clocker-Helper/Clocker-Helper/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..1596e74 --- /dev/null +++ b/Clocker-Helper/Clocker-Helper/Base.lproj/MainMenu.xib @@ -0,0 +1,667 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Clocker-Helper/Clocker-Helper/Clocker-Helper.entitlements b/Clocker-Helper/Clocker-Helper/Clocker-Helper.entitlements new file mode 100644 index 0000000..852fa1a --- /dev/null +++ b/Clocker-Helper/Clocker-Helper/Clocker-Helper.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.app-sandbox + + + diff --git a/Clocker-Helper/Clocker-Helper/Info.plist b/Clocker-Helper/Clocker-Helper/Info.plist new file mode 100644 index 0000000..28500c3 --- /dev/null +++ b/Clocker-Helper/Clocker-Helper/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSBackgroundOnly + + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2016 Abhishek Banthia. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/Clocker-Helper/Clocker-Helper/main.m b/Clocker-Helper/Clocker-Helper/main.m new file mode 100644 index 0000000..e74ed1e --- /dev/null +++ b/Clocker-Helper/Clocker-Helper/main.m @@ -0,0 +1,13 @@ +// +// main.m +// Clocker-Helper +// +// Created by Abhishek Banthia on 1/19/16. +// Copyright © 2016 Abhishek Banthia. All rights reserved. +// + +#import + +int main(int argc, const char * argv[]) { + return NSApplicationMain(argc, argv); +} diff --git a/Clocker.xcodeproj/project.pbxproj b/Clocker.xcodeproj/project.pbxproj index 0804ac6..e8314ff 100755 --- a/Clocker.xcodeproj/project.pbxproj +++ b/Clocker.xcodeproj/project.pbxproj @@ -8,6 +8,8 @@ /* Begin PBXBuildFile section */ 9A20A04B1C4DEED200FB45AB /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A20A04A1C4DEED200FB45AB /* IOKit.framework */; }; + 9A20A0701C4E804D00FB45AB /* ServiceManagement.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A20A06F1C4E804D00FB45AB /* ServiceManagement.framework */; }; + 9A20A0721C4E80A800FB45AB /* Clocker-Helper.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = 9A20A06E1C4E801600FB45AB /* Clocker-Helper.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 9A25F7471C1A5E17007D369B /* iRate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A25F7441C1A5E17007D369B /* iRate.m */; }; 9A3247321C25FD3A00CF6B6E /* CLCustomSliderCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A3247311C25FD3A00CF6B6E /* CLCustomSliderCell.m */; }; 9A3247391C263F4F00CF6B6E /* CLAppearanceViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A3247371C263F4F00CF6B6E /* CLAppearanceViewController.m */; }; @@ -64,7 +66,27 @@ DD4F7C0913C30F9F00825C6E /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD4F7C0813C30F9F00825C6E /* Cocoa.framework */; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + 9A20A06D1C4E801600FB45AB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 9A20A0691C4E801500FB45AB /* Clocker-Helper.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 9A20A0551C4E801500FB45AB; + remoteInfo = "Clocker-Helper"; + }; +/* End PBXContainerItemProxy section */ + /* Begin PBXCopyFilesBuildPhase section */ + 9A20A0711C4E808500FB45AB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = Contents/Library/LoginItems; + dstSubfolderSpec = 1; + files = ( + 9A20A0721C4E80A800FB45AB /* Clocker-Helper.app in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 9A9E876D1C1FEE0B00A7A2DF /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -80,6 +102,8 @@ /* Begin PBXFileReference section */ 9A20A04A1C4DEED200FB45AB /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; }; + 9A20A0691C4E801500FB45AB /* Clocker-Helper.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "Clocker-Helper.xcodeproj"; path = "Clocker-Helper/Clocker-Helper.xcodeproj"; sourceTree = ""; }; + 9A20A06F1C4E804D00FB45AB /* ServiceManagement.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ServiceManagement.framework; path = System/Library/Frameworks/ServiceManagement.framework; sourceTree = SDKROOT; }; 9A25F7411C1A5E17007D369B /* iRate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = iRate.h; path = "Clocker/Rate App/iRate.h"; sourceTree = ""; }; 9A25F7441C1A5E17007D369B /* iRate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = iRate.m; path = "Clocker/Rate App/iRate.m"; sourceTree = ""; }; 9A3247301C25FD3A00CF6B6E /* CLCustomSliderCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLCustomSliderCell.h; path = "Clocker/Custom Slider/CLCustomSliderCell.h"; sourceTree = ""; }; @@ -176,6 +200,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 9A20A0701C4E804D00FB45AB /* ServiceManagement.framework in Frameworks */, 9A20A04B1C4DEED200FB45AB /* IOKit.framework in Frameworks */, 9A43792C1BEC231100F4E27F /* libz.tbd in Frameworks */, 9A9E876C1C1FEDE700A7A2DF /* libsqlite3.tbd in Frameworks */, @@ -207,6 +232,14 @@ name = Utilties; sourceTree = ""; }; + 9A20A06A1C4E801500FB45AB /* Products */ = { + isa = PBXGroup; + children = ( + 9A20A06E1C4E801600FB45AB /* Clocker-Helper.app */, + ); + name = Products; + sourceTree = ""; + }; 9A25F7481C1A5E21007D369B /* Rate */ = { isa = PBXGroup; children = ( @@ -386,6 +419,7 @@ 9A5951FB1C1D5222009C17AA /* Check for Updated Version */, DD4F7C0513C30F9F00825C6E /* Products */, 9A25F7481C1A5E21007D369B /* Rate */, + 9A20A0691C4E801500FB45AB /* Clocker-Helper.xcodeproj */, ); sourceTree = ""; }; @@ -400,6 +434,7 @@ DD4F7C0713C30F9F00825C6E /* Frameworks */ = { isa = PBXGroup; children = ( + 9A20A06F1C4E804D00FB45AB /* ServiceManagement.framework */, 9A20A04A1C4DEED200FB45AB /* IOKit.framework */, 9A9E876B1C1FEDE700A7A2DF /* libsqlite3.tbd */, 9A9E87691C1FEDDB00A7A2DF /* SystemConfiguration.framework */, @@ -432,6 +467,7 @@ DD4F7C0213C30F9F00825C6E /* Resources */, 9A4379201BEC220200F4E27F /* ShellScript */, 9A9E876D1C1FEE0B00A7A2DF /* CopyFiles */, + 9A20A0711C4E808500FB45AB /* CopyFiles */, ); buildRules = ( ); @@ -471,6 +507,12 @@ mainGroup = DD4F7BF913C30F9F00825C6E; productRefGroup = DD4F7C0513C30F9F00825C6E /* Products */; projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 9A20A06A1C4E801500FB45AB /* Products */; + ProjectRef = 9A20A0691C4E801500FB45AB /* Clocker-Helper.xcodeproj */; + }, + ); projectRoot = ""; targets = ( DD4F7C0313C30F9F00825C6E /* Clocker */, @@ -478,6 +520,16 @@ }; /* End PBXProject section */ +/* Begin PBXReferenceProxy section */ + 9A20A06E1C4E801600FB45AB /* Clocker-Helper.app */ = { + isa = PBXReferenceProxy; + fileType = wrapper.application; + path = "Clocker-Helper.app"; + remoteRef = 9A20A06D1C4E801600FB45AB /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + /* Begin PBXResourcesBuildPhase section */ DD4F7C0213C30F9F00825C6E /* Resources */ = { isa = PBXResourcesBuildPhase; @@ -595,6 +647,7 @@ CODE_SIGN_ENTITLEMENTS = Clocker/Clocker.entitlements; CODE_SIGN_IDENTITY = "Mac Developer: Abhishek Banthia (75WFZYE9LW)"; COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)", @@ -694,6 +747,7 @@ CODE_SIGN_ENTITLEMENTS = Clocker/Clocker.entitlements; CODE_SIGN_IDENTITY = "Mac Developer: Abhishek Banthia (75WFZYE9LW)"; COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -723,6 +777,7 @@ CODE_SIGN_ENTITLEMENTS = Clocker/Clocker.entitlements; CODE_SIGN_IDENTITY = "Mac Developer: Abhishek Banthia (75WFZYE9LW)"; COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)", diff --git a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate index 02d2283..f4dac62 100644 Binary files a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate and b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Clocker/Appearance Tab/CLAppearanceView.xib b/Clocker/Appearance Tab/CLAppearanceView.xib index bf621f3..6c6461c 100644 --- a/Clocker/Appearance Tab/CLAppearanceView.xib +++ b/Clocker/Appearance Tab/CLAppearanceView.xib @@ -25,7 +25,7 @@ - + @@ -37,7 +37,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -89,7 +89,7 @@ - + @@ -101,18 +101,18 @@ - + - + - + @@ -129,19 +129,19 @@ - + - + - + @@ -158,7 +158,7 @@ - + @@ -191,36 +191,36 @@ - + - + - + - + - + - + diff --git a/Clocker/ApplicationDelegate.m b/Clocker/ApplicationDelegate.m index ad18c4c..39d72ac 100755 --- a/Clocker/ApplicationDelegate.m +++ b/Clocker/ApplicationDelegate.m @@ -113,6 +113,14 @@ void *kContextActivePanel = &kContextActivePanel; [[NSUserDefaults standardUserDefaults] setObject:@0 forKey:CLShowCityInMenu]; } + NSNumber *startClockerAtLogin = [[NSUserDefaults standardUserDefaults] objectForKey:@"startAtLogin"]; + if (startClockerAtLogin == nil) { + [[NSUserDefaults standardUserDefaults] setObject:@0 forKey:@"startAtLogin"]; + } + + + + // Install icon into the menu bar self.menubarController = [[MenubarController alloc] init]; diff --git a/Clocker/PanelController.m b/Clocker/PanelController.m index 46640a4..adf0080 100755 --- a/Clocker/PanelController.m +++ b/Clocker/PanelController.m @@ -311,7 +311,7 @@ NSString *const CLTimezoneCellViewIdentifier = @"timeZoneCell"; NSString *theme = [[NSUserDefaults standardUserDefaults] objectForKey:CLThemeKey]; if (theme.length > 0 && ![theme isEqualToString:@"Default"]) { -// [cell updateTextColorWithColor:[NSColor whiteColor] andCell:cell]; + [cell updateTextColorWithColor:[NSColor whiteColor] andCell:cell]; [self.mainTableview setBackgroundColor:[NSColor blackColor]]; self.window.alphaValue = 0.90; [cell.customName setDrawsBackground:YES]; @@ -321,7 +321,7 @@ NSString *const CLTimezoneCellViewIdentifier = @"timeZoneCell"; else { -// [cell updateTextColorWithColor:[NSColor blackColor] andCell:cell]; + [cell updateTextColorWithColor:[NSColor blackColor] andCell:cell]; [cell.customName setDrawsBackground:NO]; [self.mainTableview setBackgroundColor:[NSColor whiteColor]]; self.window.alphaValue = 1; diff --git a/Clocker/Preferences/CLPreferencesView.xib b/Clocker/Preferences/CLPreferencesView.xib index 91b7d91..56fadd0 100644 --- a/Clocker/Preferences/CLPreferencesView.xib +++ b/Clocker/Preferences/CLPreferencesView.xib @@ -111,6 +111,9 @@ CA + + +