Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Setup all menu items, setup login item action

  • Loading branch information...
commit e870021cfd6cdf6088d484a572731a60b283c2b9 1 parent 378bad6
@keith authored
View
3  .gitmodules
@@ -0,0 +1,3 @@
+[submodule "Github Status/MPLoginItems"]
+ path = Github Status/MPLoginItems
+ url = git@github.com:mattpat/MPLoginItems.git
View
1,048 Github Status.xcodeproj/project.pbxproj
@@ -1,692 +1,356 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>archiveVersion</key>
- <string>1</string>
- <key>classes</key>
- <dict/>
- <key>objectVersion</key>
- <string>46</string>
- <key>objects</key>
- <dict>
- <key>3DE4C188240942E68E75B3BA</key>
- <dict>
- <key>explicitFileType</key>
- <string>archive.ar</string>
- <key>includeInIndex</key>
- <string>0</string>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>name</key>
- <string>libPods.a</string>
- <key>path</key>
- <string>libPods.a</string>
- <key>sourceTree</key>
- <string>BUILT_PRODUCTS_DIR</string>
- </dict>
- <key>4127E9E0BDF848158EB7F06F</key>
- <dict>
- <key>fileRef</key>
- <string>3DE4C188240942E68E75B3BA</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
- <key>settings</key>
- <dict/>
- </dict>
- <key>51316B7BFB5A4A15B18CB153</key>
- <dict>
- <key>includeInIndex</key>
- <string>1</string>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>text.xcconfig</string>
- <key>name</key>
- <string>Pods.xcconfig</string>
- <key>path</key>
- <string>Pods/Pods.xcconfig</string>
- <key>sourceTree</key>
- <string>SOURCE_ROOT</string>
- </dict>
- <key>C2D5B29516768AEA00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2AA16768AEA00FDAB90</string>
- <string>C2D5B2A316768AEA00FDAB90</string>
- <string>C2D5B2A116768AEA00FDAB90</string>
- <string>51316B7BFB5A4A15B18CB153</string>
- </array>
- <key>isa</key>
- <string>PBXGroup</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B29716768AEA00FDAB90</key>
- <dict>
- <key>attributes</key>
- <dict>
- <key>CLASSPREFIX</key>
- <string>KS</string>
- <key>LastUpgradeCheck</key>
- <string>0450</string>
- <key>ORGANIZATIONNAME</key>
- <string>Keith Smiley</string>
- </dict>
- <key>buildConfigurationList</key>
- <string>C2D5B29A16768AEA00FDAB90</string>
- <key>compatibilityVersion</key>
- <string>Xcode 3.2</string>
- <key>developmentRegion</key>
- <string>English</string>
- <key>hasScannedForEncodings</key>
- <string>0</string>
- <key>isa</key>
- <string>PBXProject</string>
- <key>knownRegions</key>
- <array>
- <string>en</string>
- </array>
- <key>mainGroup</key>
- <string>C2D5B29516768AEA00FDAB90</string>
- <key>productRefGroup</key>
- <string>C2D5B2A116768AEA00FDAB90</string>
- <key>projectDirPath</key>
- <string></string>
- <key>projectReferences</key>
- <array/>
- <key>projectRoot</key>
- <string></string>
- <key>targets</key>
- <array>
- <string>C2D5B29F16768AEA00FDAB90</string>
- </array>
- </dict>
- <key>C2D5B29A16768AEA00FDAB90</key>
- <dict>
- <key>buildConfigurations</key>
- <array>
- <string>C2D5B2BC16768AEB00FDAB90</string>
- <string>C2D5B2BD16768AEB00FDAB90</string>
- </array>
- <key>defaultConfigurationIsVisible</key>
- <string>0</string>
- <key>defaultConfigurationName</key>
- <string>Release</string>
- <key>isa</key>
- <string>XCConfigurationList</string>
- </dict>
- <key>C2D5B29C16768AEA00FDAB90</key>
- <dict>
- <key>buildActionMask</key>
- <string>2147483647</string>
- <key>files</key>
- <array>
- <string>C2D5B2B116768AEA00FDAB90</string>
- <string>C2D5B2B816768AEB00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXSourcesBuildPhase</string>
- <key>runOnlyForDeploymentPostprocessing</key>
- <string>0</string>
- </dict>
- <key>C2D5B29D16768AEA00FDAB90</key>
- <dict>
- <key>buildActionMask</key>
- <string>2147483647</string>
- <key>files</key>
- <array>
- <string>C2D5B2A516768AEA00FDAB90</string>
- <string>4127E9E0BDF848158EB7F06F</string>
- </array>
- <key>isa</key>
- <string>PBXFrameworksBuildPhase</string>
- <key>runOnlyForDeploymentPostprocessing</key>
- <string>0</string>
- </dict>
- <key>C2D5B29E16768AEA00FDAB90</key>
- <dict>
- <key>buildActionMask</key>
- <string>2147483647</string>
- <key>files</key>
- <array>
- <string>C2D5B2AF16768AEA00FDAB90</string>
- <string>C2D5B2B516768AEB00FDAB90</string>
- <string>C2D5B2BB16768AEB00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXResourcesBuildPhase</string>
- <key>runOnlyForDeploymentPostprocessing</key>
- <string>0</string>
- </dict>
- <key>C2D5B29F16768AEA00FDAB90</key>
- <dict>
- <key>buildConfigurationList</key>
- <string>C2D5B2BE16768AEB00FDAB90</string>
- <key>buildPhases</key>
- <array>
- <string>C2D5B29C16768AEA00FDAB90</string>
- <string>C2D5B29D16768AEA00FDAB90</string>
- <string>C2D5B29E16768AEA00FDAB90</string>
- <string>F8D986A97FF5498FBD9C631F</string>
- </array>
- <key>buildRules</key>
- <array/>
- <key>dependencies</key>
- <array/>
- <key>isa</key>
- <string>PBXNativeTarget</string>
- <key>name</key>
- <string>Github Status</string>
- <key>productName</key>
- <string>Github Status</string>
- <key>productReference</key>
- <string>C2D5B2A016768AEA00FDAB90</string>
- <key>productType</key>
- <string>com.apple.product-type.application</string>
- </dict>
- <key>C2D5B2A016768AEA00FDAB90</key>
- <dict>
- <key>explicitFileType</key>
- <string>wrapper.application</string>
- <key>includeInIndex</key>
- <string>0</string>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>path</key>
- <string>Github Status.app</string>
- <key>sourceTree</key>
- <string>BUILT_PRODUCTS_DIR</string>
- </dict>
- <key>C2D5B2A116768AEA00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2A016768AEA00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXGroup</string>
- <key>name</key>
- <string>Products</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2A316768AEA00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2A416768AEA00FDAB90</string>
- <string>C2D5B2A616768AEA00FDAB90</string>
- <string>3DE4C188240942E68E75B3BA</string>
- </array>
- <key>isa</key>
- <string>PBXGroup</string>
- <key>name</key>
- <string>Frameworks</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2A416768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>wrapper.framework</string>
- <key>name</key>
- <string>Cocoa.framework</string>
- <key>path</key>
- <string>System/Library/Frameworks/Cocoa.framework</string>
- <key>sourceTree</key>
- <string>SDKROOT</string>
- </dict>
- <key>C2D5B2A516768AEA00FDAB90</key>
- <dict>
- <key>fileRef</key>
- <string>C2D5B2A416768AEA00FDAB90</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
- </dict>
- <key>C2D5B2A616768AEA00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2A716768AEA00FDAB90</string>
- <string>C2D5B2A816768AEA00FDAB90</string>
- <string>C2D5B2A916768AEA00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXGroup</string>
- <key>name</key>
- <string>Other Frameworks</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2A716768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>wrapper.framework</string>
- <key>name</key>
- <string>AppKit.framework</string>
- <key>path</key>
- <string>System/Library/Frameworks/AppKit.framework</string>
- <key>sourceTree</key>
- <string>SDKROOT</string>
- </dict>
- <key>C2D5B2A816768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>wrapper.framework</string>
- <key>name</key>
- <string>CoreData.framework</string>
- <key>path</key>
- <string>System/Library/Frameworks/CoreData.framework</string>
- <key>sourceTree</key>
- <string>SDKROOT</string>
- </dict>
- <key>C2D5B2A916768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>wrapper.framework</string>
- <key>name</key>
- <string>Foundation.framework</string>
- <key>path</key>
- <string>System/Library/Frameworks/Foundation.framework</string>
- <key>sourceTree</key>
- <string>SDKROOT</string>
- </dict>
- <key>C2D5B2AA16768AEA00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2B616768AEB00FDAB90</string>
- <string>C2D5B2B716768AEB00FDAB90</string>
- <string>C2D5B2B916768AEB00FDAB90</string>
- <string>C2D5B2AB16768AEA00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXGroup</string>
- <key>path</key>
- <string>Github Status</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2AB16768AEA00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2AC16768AEA00FDAB90</string>
- <string>C2D5B2AD16768AEA00FDAB90</string>
- <string>C2D5B2B016768AEA00FDAB90</string>
- <string>C2D5B2B216768AEA00FDAB90</string>
- <string>C2D5B2B316768AEB00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXGroup</string>
- <key>name</key>
- <string>Supporting Files</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2AC16768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>text.plist.xml</string>
- <key>path</key>
- <string>Github Status-Info.plist</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2AD16768AEA00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2AE16768AEA00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXVariantGroup</string>
- <key>name</key>
- <string>InfoPlist.strings</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2AE16768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>text.plist.strings</string>
- <key>name</key>
- <string>en</string>
- <key>path</key>
- <string>en.lproj/InfoPlist.strings</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2AF16768AEA00FDAB90</key>
- <dict>
- <key>fileRef</key>
- <string>C2D5B2AD16768AEA00FDAB90</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
- </dict>
- <key>C2D5B2B016768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>sourcecode.c.objc</string>
- <key>path</key>
- <string>main.m</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2B116768AEA00FDAB90</key>
- <dict>
- <key>fileRef</key>
- <string>C2D5B2B016768AEA00FDAB90</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
- </dict>
- <key>C2D5B2B216768AEA00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>sourcecode.c.h</string>
- <key>path</key>
- <string>Github Status-Prefix.pch</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2B316768AEB00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2B416768AEB00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXVariantGroup</string>
- <key>name</key>
- <string>Credits.rtf</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2B416768AEB00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>text.rtf</string>
- <key>name</key>
- <string>en</string>
- <key>path</key>
- <string>en.lproj/Credits.rtf</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2B516768AEB00FDAB90</key>
- <dict>
- <key>fileRef</key>
- <string>C2D5B2B316768AEB00FDAB90</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
- </dict>
- <key>C2D5B2B616768AEB00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>sourcecode.c.h</string>
- <key>path</key>
- <string>KSAppDelegate.h</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2B716768AEB00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>sourcecode.c.objc</string>
- <key>path</key>
- <string>KSAppDelegate.m</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2B816768AEB00FDAB90</key>
- <dict>
- <key>fileRef</key>
- <string>C2D5B2B716768AEB00FDAB90</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
- </dict>
- <key>C2D5B2B916768AEB00FDAB90</key>
- <dict>
- <key>children</key>
- <array>
- <string>C2D5B2BA16768AEB00FDAB90</string>
- </array>
- <key>isa</key>
- <string>PBXVariantGroup</string>
- <key>name</key>
- <string>MainMenu.xib</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2BA16768AEB00FDAB90</key>
- <dict>
- <key>isa</key>
- <string>PBXFileReference</string>
- <key>lastKnownFileType</key>
- <string>file.xib</string>
- <key>name</key>
- <string>en</string>
- <key>path</key>
- <string>en.lproj/MainMenu.xib</string>
- <key>sourceTree</key>
- <string>&lt;group&gt;</string>
- </dict>
- <key>C2D5B2BB16768AEB00FDAB90</key>
- <dict>
- <key>fileRef</key>
- <string>C2D5B2B916768AEB00FDAB90</string>
- <key>isa</key>
- <string>PBXBuildFile</string>
- </dict>
- <key>C2D5B2BC16768AEB00FDAB90</key>
- <dict>
- <key>buildSettings</key>
- <dict>
- <key>ALWAYS_SEARCH_USER_PATHS</key>
- <string>NO</string>
- <key>ARCHS</key>
- <string>$(ARCHS_STANDARD_64_BIT)</string>
- <key>CLANG_CXX_LANGUAGE_STANDARD</key>
- <string>gnu++0x</string>
- <key>CLANG_CXX_LIBRARY</key>
- <string>libc++</string>
- <key>CLANG_ENABLE_OBJC_ARC</key>
- <string>YES</string>
- <key>CLANG_WARN_EMPTY_BODY</key>
- <string>YES</string>
- <key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
- <string>YES</string>
- <key>COPY_PHASE_STRIP</key>
- <string>NO</string>
- <key>GCC_C_LANGUAGE_STANDARD</key>
- <string>gnu99</string>
- <key>GCC_DYNAMIC_NO_PIC</key>
- <string>NO</string>
- <key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
- <string>YES</string>
- <key>GCC_OPTIMIZATION_LEVEL</key>
- <string>0</string>
- <key>GCC_PREPROCESSOR_DEFINITIONS</key>
- <array>
- <string>DEBUG=1</string>
- <string>$(inherited)</string>
- </array>
- <key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
- <string>NO</string>
- <key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
- <string>YES</string>
- <key>GCC_WARN_ABOUT_RETURN_TYPE</key>
- <string>YES</string>
- <key>GCC_WARN_UNINITIALIZED_AUTOS</key>
- <string>YES</string>
- <key>GCC_WARN_UNUSED_VARIABLE</key>
- <string>YES</string>
- <key>MACOSX_DEPLOYMENT_TARGET</key>
- <string>10.8</string>
- <key>ONLY_ACTIVE_ARCH</key>
- <string>YES</string>
- <key>SDKROOT</key>
- <string>macosx</string>
- </dict>
- <key>isa</key>
- <string>XCBuildConfiguration</string>
- <key>name</key>
- <string>Debug</string>
- </dict>
- <key>C2D5B2BD16768AEB00FDAB90</key>
- <dict>
- <key>buildSettings</key>
- <dict>
- <key>ALWAYS_SEARCH_USER_PATHS</key>
- <string>NO</string>
- <key>ARCHS</key>
- <string>$(ARCHS_STANDARD_64_BIT)</string>
- <key>CLANG_CXX_LANGUAGE_STANDARD</key>
- <string>gnu++0x</string>
- <key>CLANG_CXX_LIBRARY</key>
- <string>libc++</string>
- <key>CLANG_ENABLE_OBJC_ARC</key>
- <string>YES</string>
- <key>CLANG_WARN_EMPTY_BODY</key>
- <string>YES</string>
- <key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
- <string>YES</string>
- <key>COPY_PHASE_STRIP</key>
- <string>YES</string>
- <key>DEBUG_INFORMATION_FORMAT</key>
- <string>dwarf-with-dsym</string>
- <key>GCC_C_LANGUAGE_STANDARD</key>
- <string>gnu99</string>
- <key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
- <string>YES</string>
- <key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
- <string>YES</string>
- <key>GCC_WARN_ABOUT_RETURN_TYPE</key>
- <string>YES</string>
- <key>GCC_WARN_UNINITIALIZED_AUTOS</key>
- <string>YES</string>
- <key>GCC_WARN_UNUSED_VARIABLE</key>
- <string>YES</string>
- <key>MACOSX_DEPLOYMENT_TARGET</key>
- <string>10.8</string>
- <key>SDKROOT</key>
- <string>macosx</string>
- </dict>
- <key>isa</key>
- <string>XCBuildConfiguration</string>
- <key>name</key>
- <string>Release</string>
- </dict>
- <key>C2D5B2BE16768AEB00FDAB90</key>
- <dict>
- <key>buildConfigurations</key>
- <array>
- <string>C2D5B2BF16768AEB00FDAB90</string>
- <string>C2D5B2C016768AEB00FDAB90</string>
- </array>
- <key>defaultConfigurationIsVisible</key>
- <string>0</string>
- <key>isa</key>
- <string>XCConfigurationList</string>
- </dict>
- <key>C2D5B2BF16768AEB00FDAB90</key>
- <dict>
- <key>baseConfigurationReference</key>
- <string>51316B7BFB5A4A15B18CB153</string>
- <key>buildSettings</key>
- <dict>
- <key>COMBINE_HIDPI_IMAGES</key>
- <string>YES</string>
- <key>GCC_PRECOMPILE_PREFIX_HEADER</key>
- <string>YES</string>
- <key>GCC_PREFIX_HEADER</key>
- <string>Github Status/Github Status-Prefix.pch</string>
- <key>INFOPLIST_FILE</key>
- <string>Github Status/Github Status-Info.plist</string>
- <key>PRODUCT_NAME</key>
- <string>$(TARGET_NAME)</string>
- <key>WRAPPER_EXTENSION</key>
- <string>app</string>
- </dict>
- <key>isa</key>
- <string>XCBuildConfiguration</string>
- <key>name</key>
- <string>Debug</string>
- </dict>
- <key>C2D5B2C016768AEB00FDAB90</key>
- <dict>
- <key>baseConfigurationReference</key>
- <string>51316B7BFB5A4A15B18CB153</string>
- <key>buildSettings</key>
- <dict>
- <key>COMBINE_HIDPI_IMAGES</key>
- <string>YES</string>
- <key>GCC_PRECOMPILE_PREFIX_HEADER</key>
- <string>YES</string>
- <key>GCC_PREFIX_HEADER</key>
- <string>Github Status/Github Status-Prefix.pch</string>
- <key>INFOPLIST_FILE</key>
- <string>Github Status/Github Status-Info.plist</string>
- <key>PRODUCT_NAME</key>
- <string>$(TARGET_NAME)</string>
- <key>WRAPPER_EXTENSION</key>
- <string>app</string>
- </dict>
- <key>isa</key>
- <string>XCBuildConfiguration</string>
- <key>name</key>
- <string>Release</string>
- </dict>
- <key>F8D986A97FF5498FBD9C631F</key>
- <dict>
- <key>buildActionMask</key>
- <string>2147483647</string>
- <key>files</key>
- <array/>
- <key>inputPaths</key>
- <array/>
- <key>isa</key>
- <string>PBXShellScriptBuildPhase</string>
- <key>name</key>
- <string>Copy Pods Resources</string>
- <key>outputPaths</key>
- <array/>
- <key>runOnlyForDeploymentPostprocessing</key>
- <string>0</string>
- <key>shellPath</key>
- <string>/bin/sh</string>
- <key>shellScript</key>
- <string>"${SRCROOT}/Pods/Pods-resources.sh"
-</string>
- <key>showEnvVarsInLog</key>
- <string>1</string>
- </dict>
- </dict>
- <key>rootObject</key>
- <string>C2D5B29716768AEA00FDAB90</string>
-</dict>
-</plist>
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 4127E9E0BDF848158EB7F06F /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DE4C188240942E68E75B3BA /* libPods.a */; };
+ C2D5B2A516768AEA00FDAB90 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C2D5B2A416768AEA00FDAB90 /* Cocoa.framework */; };
+ C2D5B2AF16768AEA00FDAB90 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C2D5B2AD16768AEA00FDAB90 /* InfoPlist.strings */; };
+ C2D5B2B116768AEA00FDAB90 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C2D5B2B016768AEA00FDAB90 /* main.m */; };
+ C2D5B2B516768AEB00FDAB90 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = C2D5B2B316768AEB00FDAB90 /* Credits.rtf */; };
+ C2D5B2B816768AEB00FDAB90 /* KSAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C2D5B2B716768AEB00FDAB90 /* KSAppDelegate.m */; };
+ C2D5B2BB16768AEB00FDAB90 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = C2D5B2B916768AEB00FDAB90 /* MainMenu.xib */; };
+ C2D5B2D31676A89F00FDAB90 /* KSConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = C2D5B2D21676A89F00FDAB90 /* KSConstants.m */; };
+ C2D5B2D51676ABA700FDAB90 /* Preferences.plist in Resources */ = {isa = PBXBuildFile; fileRef = C2D5B2D41676ABA700FDAB90 /* Preferences.plist */; };
+ C2D5B2DB1676ADF300FDAB90 /* MPLoginItems.m in Sources */ = {isa = PBXBuildFile; fileRef = C2D5B2D91676ADF300FDAB90 /* MPLoginItems.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 3DE4C188240942E68E75B3BA /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
+ 51316B7BFB5A4A15B18CB153 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = SOURCE_ROOT; };
+ C2D5B2A016768AEA00FDAB90 /* Github Status.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Github Status.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ C2D5B2A416768AEA00FDAB90 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
+ C2D5B2A716768AEA00FDAB90 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
+ C2D5B2A816768AEA00FDAB90 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
+ C2D5B2A916768AEA00FDAB90 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ C2D5B2AC16768AEA00FDAB90 /* Github Status-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Github Status-Info.plist"; sourceTree = "<group>"; };
+ C2D5B2AE16768AEA00FDAB90 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ C2D5B2B016768AEA00FDAB90 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ C2D5B2B216768AEA00FDAB90 /* Github Status-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Github Status-Prefix.pch"; sourceTree = "<group>"; };
+ C2D5B2B416768AEB00FDAB90 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
+ C2D5B2B616768AEB00FDAB90 /* KSAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KSAppDelegate.h; sourceTree = "<group>"; };
+ C2D5B2B716768AEB00FDAB90 /* KSAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KSAppDelegate.m; sourceTree = "<group>"; };
+ C2D5B2BA16768AEB00FDAB90 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+ C2D5B2D11676A89F00FDAB90 /* KSConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSConstants.h; sourceTree = "<group>"; };
+ C2D5B2D21676A89F00FDAB90 /* KSConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KSConstants.m; sourceTree = "<group>"; };
+ C2D5B2D41676ABA700FDAB90 /* Preferences.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Preferences.plist; sourceTree = "<group>"; };
+ C2D5B2D81676ADF300FDAB90 /* MPLoginItems.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPLoginItems.h; sourceTree = "<group>"; };
+ C2D5B2D91676ADF300FDAB90 /* MPLoginItems.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPLoginItems.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ C2D5B29D16768AEA00FDAB90 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C2D5B2A516768AEA00FDAB90 /* Cocoa.framework in Frameworks */,
+ 4127E9E0BDF848158EB7F06F /* libPods.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ C2D5B29516768AEA00FDAB90 = {
+ isa = PBXGroup;
+ children = (
+ C2D5B2AA16768AEA00FDAB90 /* Github Status */,
+ C2D5B2A316768AEA00FDAB90 /* Frameworks */,
+ C2D5B2A116768AEA00FDAB90 /* Products */,
+ 51316B7BFB5A4A15B18CB153 /* Pods.xcconfig */,
+ );
+ sourceTree = "<group>";
+ };
+ C2D5B2A116768AEA00FDAB90 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ C2D5B2A016768AEA00FDAB90 /* Github Status.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ C2D5B2A316768AEA00FDAB90 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ C2D5B2A416768AEA00FDAB90 /* Cocoa.framework */,
+ C2D5B2A616768AEA00FDAB90 /* Other Frameworks */,
+ 3DE4C188240942E68E75B3BA /* libPods.a */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ C2D5B2A616768AEA00FDAB90 /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ C2D5B2A716768AEA00FDAB90 /* AppKit.framework */,
+ C2D5B2A816768AEA00FDAB90 /* CoreData.framework */,
+ C2D5B2A916768AEA00FDAB90 /* Foundation.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ C2D5B2AA16768AEA00FDAB90 /* Github Status */ = {
+ isa = PBXGroup;
+ children = (
+ C2D5B2B616768AEB00FDAB90 /* KSAppDelegate.h */,
+ C2D5B2B716768AEB00FDAB90 /* KSAppDelegate.m */,
+ C2D5B2D11676A89F00FDAB90 /* KSConstants.h */,
+ C2D5B2D21676A89F00FDAB90 /* KSConstants.m */,
+ C2D5B2B916768AEB00FDAB90 /* MainMenu.xib */,
+ C2D5B2D61676ADF300FDAB90 /* MPLoginItems */,
+ C2D5B2AB16768AEA00FDAB90 /* Supporting Files */,
+ );
+ path = "Github Status";
+ sourceTree = "<group>";
+ };
+ C2D5B2AB16768AEA00FDAB90 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ C2D5B2AC16768AEA00FDAB90 /* Github Status-Info.plist */,
+ C2D5B2AD16768AEA00FDAB90 /* InfoPlist.strings */,
+ C2D5B2B016768AEA00FDAB90 /* main.m */,
+ C2D5B2B216768AEA00FDAB90 /* Github Status-Prefix.pch */,
+ C2D5B2B316768AEB00FDAB90 /* Credits.rtf */,
+ C2D5B2D41676ABA700FDAB90 /* Preferences.plist */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ C2D5B2D61676ADF300FDAB90 /* MPLoginItems */ = {
+ isa = PBXGroup;
+ children = (
+ C2D5B2D81676ADF300FDAB90 /* MPLoginItems.h */,
+ C2D5B2D91676ADF300FDAB90 /* MPLoginItems.m */,
+ );
+ path = MPLoginItems;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ C2D5B29F16768AEA00FDAB90 /* Github Status */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = C2D5B2BE16768AEB00FDAB90 /* Build configuration list for PBXNativeTarget "Github Status" */;
+ buildPhases = (
+ C2D5B29C16768AEA00FDAB90 /* Sources */,
+ C2D5B29D16768AEA00FDAB90 /* Frameworks */,
+ C2D5B29E16768AEA00FDAB90 /* Resources */,
+ F8D986A97FF5498FBD9C631F /* Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "Github Status";
+ productName = "Github Status";
+ productReference = C2D5B2A016768AEA00FDAB90 /* Github Status.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ C2D5B29716768AEA00FDAB90 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ CLASSPREFIX = KS;
+ LastUpgradeCheck = 0450;
+ ORGANIZATIONNAME = "Keith Smiley";
+ };
+ buildConfigurationList = C2D5B29A16768AEA00FDAB90 /* Build configuration list for PBXProject "Github Status" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = C2D5B29516768AEA00FDAB90;
+ productRefGroup = C2D5B2A116768AEA00FDAB90 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ C2D5B29F16768AEA00FDAB90 /* Github Status */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ C2D5B29E16768AEA00FDAB90 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C2D5B2AF16768AEA00FDAB90 /* InfoPlist.strings in Resources */,
+ C2D5B2B516768AEB00FDAB90 /* Credits.rtf in Resources */,
+ C2D5B2BB16768AEB00FDAB90 /* MainMenu.xib in Resources */,
+ C2D5B2D51676ABA700FDAB90 /* Preferences.plist in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ F8D986A97FF5498FBD9C631F /* Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Copy Pods Resources";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ C2D5B29C16768AEA00FDAB90 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C2D5B2B116768AEA00FDAB90 /* main.m in Sources */,
+ C2D5B2B816768AEB00FDAB90 /* KSAppDelegate.m in Sources */,
+ C2D5B2D31676A89F00FDAB90 /* KSConstants.m in Sources */,
+ C2D5B2DB1676ADF300FDAB90 /* MPLoginItems.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ C2D5B2AD16768AEA00FDAB90 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ C2D5B2AE16768AEA00FDAB90 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ C2D5B2B316768AEB00FDAB90 /* Credits.rtf */ = {
+ isa = PBXVariantGroup;
+ children = (
+ C2D5B2B416768AEB00FDAB90 /* en */,
+ );
+ name = Credits.rtf;
+ sourceTree = "<group>";
+ };
+ C2D5B2B916768AEB00FDAB90 /* MainMenu.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ C2D5B2BA16768AEB00FDAB90 /* en */,
+ );
+ name = MainMenu.xib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ C2D5B2BC16768AEB00FDAB90 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ C2D5B2BD16768AEB00FDAB90 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ C2D5B2BF16768AEB00FDAB90 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 51316B7BFB5A4A15B18CB153 /* Pods.xcconfig */;
+ buildSettings = {
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Github Status/Github Status-Prefix.pch";
+ INFOPLIST_FILE = "Github Status/Github Status-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ C2D5B2C016768AEB00FDAB90 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 51316B7BFB5A4A15B18CB153 /* Pods.xcconfig */;
+ buildSettings = {
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Github Status/Github Status-Prefix.pch";
+ INFOPLIST_FILE = "Github Status/Github Status-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ C2D5B29A16768AEA00FDAB90 /* Build configuration list for PBXProject "Github Status" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C2D5B2BC16768AEB00FDAB90 /* Debug */,
+ C2D5B2BD16768AEB00FDAB90 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ C2D5B2BE16768AEB00FDAB90 /* Build configuration list for PBXNativeTarget "Github Status" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C2D5B2BF16768AEB00FDAB90 /* Debug */,
+ C2D5B2C016768AEB00FDAB90 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = C2D5B29716768AEA00FDAB90 /* Project object */;
+}
View
BIN  Github Status.xcworkspace/xcuserdata/ksmiley.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
4 Github Status/Github Status-Prefix.pch
@@ -4,4 +4,8 @@
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
+
+ // Import for AFNetworking
+ #import <SystemConfiguration/SystemConfiguration.h>
+ #import <CoreServices/CoreServices.h>
#endif
View
13 Github Status/KSAppDelegate.h
@@ -8,8 +8,17 @@
#import <Cocoa/Cocoa.h>
-@interface KSAppDelegate : NSObject <NSApplicationDelegate>
+@interface KSAppDelegate : NSObject <NSApplicationDelegate, NSMenuDelegate>
-@property (assign) IBOutlet NSWindow *window;
+@property (nonatomic, strong) NSStatusItem *statusItem;
+@property (nonatomic, strong) NSMenu *statusMenu;
+
+@property (nonatomic, strong) NSMenuItem *lastChecked;
+@property (nonatomic, strong) NSMenuItem *separatorItem;
+@property (nonatomic, strong) NSMenuItem *githubStatusItem;
+@property (nonatomic, strong) NSMenuItem *githubMessageItem;
+@property (nonatomic, strong) NSMenuItem *githubUpdatedDate;
+@property (nonatomic, strong) NSMenuItem *loginItem;
+@property (nonatomic, strong) NSMenuItem *quitItem;
@end
View
197 Github Status/KSAppDelegate.m
@@ -7,12 +7,207 @@
//
#import "KSAppDelegate.h"
+#import "KSConstants.h"
+
+#import "AFNetworking.h"
+#import "Reachability.h"
+#import "MPLoginItems/MPLoginItems.h"
@implementation KSAppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
- // Insert code here to initialize your application
+ NSURL *bundleURL = [[NSBundle mainBundle] bundleURL];
+ [[NSUserDefaults standardUserDefaults] setBool:[MPLoginItems loginItemExists:bundleURL] forKey:openAtLogin];
+ [[NSUserDefaults standardUserDefaults] synchronize];
+
+ [self checkStatus];
+}
+
+- (void)awakeFromNib
+{
+ self.statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength];
+ [self.statusItem setImage:[NSImage imageNamed:NSImageNameActionTemplate]];
+ [self.statusItem setHighlightMode:YES];
+ [self.statusItem setTarget:self];
+
+ [self setupMenu];
+ [self.statusItem setMenu:self.statusMenu];
+}
+
+- (void)setupMenu
+{
+ if (!self.statusMenu) {
+ self.statusMenu = [[NSMenu alloc] init];
+ [self.statusMenu addItemWithTitle:@"About Github Status" action:@selector(showAbout) keyEquivalent:@""];
+ [self.statusMenu addItemWithTitle:@"Refresh" action:@selector(checkStatus) keyEquivalent:@""];
+ }
+
+ if (!self.lastChecked) {
+ self.lastChecked = [[NSMenuItem alloc] init];
+ [self.lastChecked setHidden:YES];
+ [self.statusMenu addItem:self.lastChecked];
+ }
+
+ if (!self.separatorItem) {
+ self.separatorItem = [NSMenuItem separatorItem];
+ [self.separatorItem setHidden:YES];
+ [self.statusMenu addItem:self.separatorItem];
+ }
+
+ if (!self.githubStatusItem) {
+ self.githubStatusItem = [[NSMenuItem alloc] init];
+ [self.githubStatusItem setHidden:YES];
+ [self.statusMenu addItem:self.githubStatusItem];
+ }
+
+ if (!self.githubMessageItem) {
+ self.githubMessageItem = [[NSMenuItem alloc] init];
+ [self.githubMessageItem setHidden:YES];
+ [self.statusMenu addItem:self.githubMessageItem];
+ }
+
+ if (!self.githubUpdatedDate) {
+ self.githubUpdatedDate = [[NSMenuItem alloc] init];
+ [self.githubUpdatedDate setHidden:YES];
+ [self.statusMenu addItem:self.githubUpdatedDate];
+ }
+
+
+
+ if (!self.loginItem) {
+ [self.statusMenu addItem:[NSMenuItem separatorItem]];
+
+ self.loginItem = [[NSMenuItem alloc] initWithTitle:@"Open at Login" action:@selector(setOpenAtLogin) keyEquivalent:@""];
+ if ([[NSUserDefaults standardUserDefaults] boolForKey:openAtLogin]) {
+ [self.loginItem setState:NSOnState];
+ }
+ [self.statusMenu addItem:self.loginItem];
+ }
+
+ if (!self.quitItem) {
+ self.quitItem = [[NSMenuItem alloc] initWithTitle:@"Quit Github Status" action:@selector(terminate:) keyEquivalent:@""];
+ [self.statusMenu addItem:self.quitItem];
+ }
+}
+
+- (void)checkStatus
+{
+
+ if (![Reachability reachabilityWithHostname:kGithubReachabilityString].isReachable)
+ {
+ Reachability *reach = [Reachability reachabilityWithHostname:kGithubMainAPIString];
+
+ [reach setReachableBlock:^(Reachability *reachability) {
+ [self checkStatus];
+ }];
+
+ [reach setUnreachableBlock:^(Reachability *reachability) {
+ // Set github down/network fail
+ }];
+
+ if (![reach startNotifier]) {
+ NSLog(@"Failed to start reachability notifier.");
+ }
+ }
+
+ [self setupMenu];
+
+ AFHTTPClient *client = [AFHTTPClient clientWithBaseURL:[NSURL URLWithString:kGithubAPIURLString]];
+
+ NSURLRequest *request = [client requestWithMethod:@"GET" path:kGithubMainAPIString parameters:nil];
+ AFJSONRequestOperation *operation = [AFJSONRequestOperation JSONRequestOperationWithRequest:request
+ success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON)
+ {
+ NSLog(@"%@", JSON);
+
+ [self.lastChecked setTitle:[NSString stringWithFormat:@"Last Checked: %@", [NSDate date]]];
+ [self.lastChecked setHidden:NO];
+
+ if ([JSON valueForKey:kGithubStatusKey]) {
+ [self.githubStatusItem setTitle:[JSON valueForKey:kGithubStatusKey]];
+ [self.githubStatusItem setHidden:NO];
+ [self.separatorItem setHidden:NO];
+ } else {
+ [self.githubStatusItem setHidden:YES];
+ }
+
+ if ([JSON valueForKey:kGithubMessageKey]) {
+ [self.githubMessageItem setTitle:[JSON valueForKey:kGithubMessageKey]];
+ [self.githubMessageItem setHidden:NO];
+ [self.separatorItem setHidden:NO];
+ } else {
+ [self.githubMessageItem setHidden:YES];
+ }
+
+ if ([JSON valueForKey:kGithubDateKey]) {
+ [self.githubUpdatedDate setTitle:[JSON valueForKey:kGithubDateKey]];
+ [self.githubUpdatedDate setHidden:NO];
+ [self.separatorItem setHidden:NO];
+ } else {
+ [self.githubUpdatedDate setHidden:YES];
+ }
+
+ if (self.githubStatusItem.isHidden && self.githubMessageItem.isHidden && self.githubUpdatedDate.isHidden) {
+ [self.separatorItem setHidden:YES];
+ }
+
+ [self.statusMenu update];
+ }
+ failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, id JSON)
+ {
+ NSLog(@"%@ %@", JSON, error);
+ }];
+
+ [operation start];
+}
+
+- (void)menuWillOpen:(NSMenu *)menu
+{
+
+}
+
+- (void)setOpenAtLogin
+{
+ NSURL *bundleURL = [[NSBundle mainBundle] bundleURL];
+ if (self.loginItem.state == NSOnState) {
+ if ([MPLoginItems loginItemExists:bundleURL]) {
+ [MPLoginItems removeLoginItemWithURL:bundleURL];
+ }
+
+ if ([MPLoginItems loginItemExists:bundleURL]) {
+ [[NSAlert alertWithMessageText:@"Github Status"
+ defaultButton:nil
+ alternateButton:nil
+ otherButton:nil
+ informativeTextWithFormat:@"Failed to remove Github status from your login items. You can remove it manually in System Preferences -> Users & Groups -> Login Items"] runModal];
+ } else {
+ [self.loginItem setState:NSOffState];
+ [[NSUserDefaults standardUserDefaults] setBool:NO forKey:openAtLogin];
+ }
+ } else {
+ if (![MPLoginItems loginItemExists:bundleURL]) {
+ [MPLoginItems addLoginItemWithURL:bundleURL];
+ }
+
+ if ([MPLoginItems loginItemExists:bundleURL]) {
+ [self.loginItem setState:NSOnState];
+ [[NSUserDefaults standardUserDefaults] setBool:YES forKey:openAtLogin];
+ } else {
+ [[NSAlert alertWithMessageText:@"Github Status"
+ defaultButton:nil
+ alternateButton:nil
+ otherButton:nil
+ informativeTextWithFormat:@"Failed to add Github status from your login items. You can add it manually in System Preferences -> Users & Groups -> Login Items"] runModal];
+ }
+ }
+
+ [[NSUserDefaults standardUserDefaults] synchronize];
+}
+
+- (void)showAbout {
+ [NSApp activateIgnoringOtherApps:YES];
+ [NSApp orderFrontStandardAboutPanel:self];
}
@end
View
23 Github Status/KSConstants.h
@@ -0,0 +1,23 @@
+//
+// KSConstants.h
+// Github Status
+//
+// Created by Keith Smiley on 12/10/12.
+// Copyright (c) 2012 Keith Smiley. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+// Preferences
+FOUNDATION_EXPORT NSString * const openAtLogin;
+
+// Github strings
+FOUNDATION_EXPORT NSString * const kGithubAPIURLString;
+FOUNDATION_EXPORT NSString * const kGithubReachabilityString;
+FOUNDATION_EXPORT NSString * const kGithubMainAPIString;
+FOUNDATION_EXPORT NSString * const kGithubStatusKey;
+FOUNDATION_EXPORT NSString * const kGithubMessageKey;
+FOUNDATION_EXPORT NSString * const kGithubDateKey;
+
+@interface KSConstants : NSObject
+@end
View
23 Github Status/KSConstants.m
@@ -0,0 +1,23 @@
+//
+// KSConstants.m
+// Github Status
+//
+// Created by Keith Smiley on 12/10/12.
+// Copyright (c) 2012 Keith Smiley. All rights reserved.
+//
+
+#import "KSConstants.h"
+
+// Preferences
+NSString * const openAtLogin = @"openAtLogin";
+
+// Github strings
+NSString * const kGithubAPIURLString = @"https://status.github.com/api/";
+NSString * const kGithubReachabilityString = @"status.github.com";
+NSString * const kGithubMainAPIString = @"last-message.json";
+NSString * const kGithubStatusKey = @"status";
+NSString * const kGithubMessageKey = @"body";
+NSString * const kGithubDateKey = @"created_on";
+
+@implementation KSConstants
+@end
1  Github Status/MPLoginItems
@@ -0,0 +1 @@
+Subproject commit ad53cf980d39e6f71e1972b4c0a8b7464fbda1ae
View
8 Github Status/Preferences.plist
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>openAtLogin</key>
+ <false/>
+</dict>
+</plist>
View
32 Github Status/en.lproj/Credits.rtf
@@ -1,29 +1,7 @@
-{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
+{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf340
+{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
-\paperw9840\paperh8400
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
+\vieww9600\viewh8400\viewkind0
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720
-\f0\b\fs24 \cf0 Engineering:
-\b0 \
- Some people\
-\
-
-\b Human Interface Design:
-\b0 \
- Some other people\
-\
-
-\b Testing:
-\b0 \
- Hopefully not nobody\
-\
-
-\b Documentation:
-\b0 \
- Whoever\
-\
-
-\b With special thanks to:
-\b0 \
- Mom\
-}
+\f0\b\fs24 \cf0 Github Project}
View
1,536 Github Status/en.lproj/MainMenu.xib
@@ -2,20 +2,18 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1080</int>
- <string key="IBDocument.SystemVersion">11D50</string>
- <string key="IBDocument.InterfaceBuilderVersion">2457</string>
- <string key="IBDocument.AppKitVersion">1138.32</string>
- <string key="IBDocument.HIToolboxVersion">568.00</string>
+ <string key="IBDocument.SystemVersion">12C60</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2844</string>
+ <string key="IBDocument.AppKitVersion">1187.34</string>
+ <string key="IBDocument.HIToolboxVersion">625.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="NS.object.0">2457</string>
+ <string key="NS.object.0">2844</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
- <string>NSWindowTemplate</string>
- <string>NSView</string>
+ <string>NSCustomObject</string>
<string>NSMenu</string>
<string>NSMenuItem</string>
- <string>NSCustomObject</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1289,24 +1287,6 @@
</array>
<string key="NSName">_NSMainMenu</string>
</object>
- <object class="NSWindowTemplate" id="972006081">
- <int key="NSWindowStyleMask">15</int>
- <int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{335, 390}, {480, 360}}</string>
- <int key="NSWTFlags">1954021376</int>
- <string key="NSWindowTitle">Github Status</string>
- <string key="NSWindowClass">NSWindow</string>
- <nil key="NSViewClass"/>
- <nil key="NSUserInterfaceItemIdentifier"/>
- <object class="NSView" key="NSWindowView" id="439893737">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrameSize">{480, 360}</string>
- </object>
- <string key="NSScreenRect">{{0, 0}, {2560, 1418}}</string>
- <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
- <bool key="NSWindowIsRestorable">YES</bool>
- </object>
<object class="NSCustomObject" id="976324537">
<string key="NSClassName">KSAppDelegate</string>
</object>
@@ -1988,14 +1968,6 @@
</object>
<int key="connectionID">425</int>
</object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">window</string>
- <reference key="source" ref="976324537"/>
- <reference key="destination" ref="972006081"/>
- </object>
- <int key="connectionID">532</int>
- </object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
@@ -2510,19 +2482,6 @@
<reference key="parent" ref="698887838"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">371</int>
- <reference key="object" ref="972006081"/>
- <array class="NSMutableArray" key="children">
- <reference ref="439893737"/>
- </array>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">372</int>
- <reference key="object" ref="439893737"/>
- <reference key="parent" ref="972006081"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">375</int>
<reference key="object" ref="302598603"/>
<array class="NSMutableArray" key="children">
@@ -3058,10 +3017,6 @@
<string key="350.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="351.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="354.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="371.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="371.IBWindowTemplateEditedContentRect">{{380, 496}, {480, 360}}</string>
- <integer value="1" key="371.NSWindowTemplate.visibleAtLaunch"/>
- <string key="372.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="375.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="376.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="377.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3162,1492 +3117,21 @@
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
- <string key="className">ABCardController</string>
- <string key="superclassName">NSObject</string>
- <dictionary class="NSMutableDictionary" key="actions">
- <string key="addCardViewField:">id</string>
- <string key="copy:">id</string>
- <string key="cut:">id</string>
- <string key="doDelete:">id</string>
- <string key="find:">id</string>
- <string key="paste:">id</string>
- <string key="saveChanges:">id</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="actionInfosByName">
- <object class="IBActionInfo" key="addCardViewField:">
- <string key="name">addCardViewField:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="copy:">
- <string key="name">copy:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="cut:">
- <string key="name">cut:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="doDelete:">
- <string key="name">doDelete:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="find:">
- <string key="name">find:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="paste:">
- <string key="name">paste:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="saveChanges:">
- <string key="name">saveChanges:</string>
- <string key="candidateClassName">id</string>
- </object>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="mCardView">ABCardView</string>
- <string key="mEditButton">NSButton</string>
- <string key="mManagedObjectContext">NSManagedObjectContext</string>
- <string key="mSearchField">NSSearchField</string>
- <string key="mStatusTextField">NSTextField</string>
- <string key="mWindow">NSWindow</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="mCardView">
- <string key="name">mCardView</string>
- <string key="candidateClassName">ABCardView</string>
- </object>
- <object class="IBToOneOutletInfo" key="mEditButton">
- <string key="name">mEditButton</string>
- <string key="candidateClassName">NSButton</string>
- </object>
- <object class="IBToOneOutletInfo" key="mManagedObjectContext">
- <string key="name">mManagedObjectContext</string>
- <string key="candidateClassName">NSManagedObjectContext</string>
- </object>
- <object class="IBToOneOutletInfo" key="mSearchField">
- <string key="name">mSearchField</string>
- <string key="candidateClassName">NSSearchField</string>
- </object>
- <object class="IBToOneOutletInfo" key="mStatusTextField">
- <string key="name">mStatusTextField</string>
- <string key="candidateClassName">NSTextField</string>
- </object>
- <object class="IBToOneOutletInfo" key="mWindow">
- <string key="name">mWindow</string>
- <string key="candidateClassName">NSWindow</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/ABCardController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">ABCardView</string>
- <string key="superclassName">NSView</string>
- <dictionary class="NSMutableDictionary" key="actions">
- <string key="commitAndSave:">id</string>
- <string key="statusImageClicked:">id</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="actionInfosByName">
- <object class="IBActionInfo" key="commitAndSave:">
- <string key="name">commitAndSave:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="statusImageClicked:">
- <string key="name">statusImageClicked:</string>
- <string key="candidateClassName">id</string>
- </object>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="mBindingsController">NSObjectController</string>
- <string key="mBuddyStatusImage">NSImageView</string>
- <string key="mHeaderView">NSView</string>
- <string key="mNameView">ABNameFrameView</string>
- <string key="mNextKeyView">NSView</string>
- <string key="mUserImage">NSImage</string>
- <string key="mUserImageView">ABImageView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="mBindingsController">
- <string key="name">mBindingsController</string>
- <string key="candidateClassName">NSObjectController</string>
- </object>
- <object class="IBToOneOutletInfo" key="mBuddyStatusImage">
- <string key="name">mBuddyStatusImage</string>
- <string key="candidateClassName">NSImageView</string>
- </object>
- <object class="IBToOneOutletInfo" key="mHeaderView">
- <string key="name">mHeaderView</string>
- <string key="candidateClassName">NSView</string>
- </object>
- <object class="IBToOneOutletInfo" key="mNameView">
- <string key="name">mNameView</string>
- <string key="candidateClassName">ABNameFrameView</string>
- </object>
- <object class="IBToOneOutletInfo" key="mNextKeyView">
- <string key="name">mNextKeyView</string>
- <string key="candidateClassName">NSView</string>
- </object>
- <object class="IBToOneOutletInfo" key="mUserImage">
- <string key="name">mUserImage</string>
- <string key="candidateClassName">NSImage</string>
- </object>
- <object class="IBToOneOutletInfo" key="mUserImageView">
- <string key="name">mUserImageView</string>
- <string key="candidateClassName">ABImageView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/ABCardView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">ABImageView</string>
- <string key="superclassName">NSImageView</string>
- <dictionary class="NSMutableDictionary" key="actions">
- <string key="copy:">id</string>
- <string key="cut:">id</string>
- <string key="delete:">id</string>
- <string key="paste:">id</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="actionInfosByName">
- <object class="IBActionInfo" key="copy:">
- <string key="name">copy:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="cut:">
- <string key="name">cut:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="delete:">
- <string key="name">delete:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="paste:">
- <string key="name">paste:</string>
- <string key="candidateClassName">id</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/ABImageView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTBorderedView</string>
- <string key="superclassName">DVTLayoutView_ML</string>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">contentView</string>
- <string key="NS.object.0">NSView</string>
- </object>
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">contentView</string>
- <object class="IBToOneOutletInfo" key="NS.object.0">
- <string key="name">contentView</string>
- <string key="candidateClassName">NSView</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTBorderedView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTDelayedMenuButton</string>
- <string key="superclassName">NSButton</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTDelayedMenuButton.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTGradientImageButton</string>
- <string key="superclassName">NSButton</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTGradientImageButton.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTImageAndTextCell</string>
- <string key="superclassName">NSTextFieldCell</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTImageAndTextCell.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTImageAndTextColumn</string>
- <string key="superclassName">NSTableColumn</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTImageAndTextColumn.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTLayoutView_ML</string>
- <string key="superclassName">NSView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTLayoutView_ML.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTOutlineView</string>
- <string key="superclassName">NSOutlineView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTOutlineView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTSplitView</string>
- <string key="superclassName">NSSplitView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTSplitView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTStackView_ML</string>
- <string key="superclassName">DVTLayoutView_ML</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTStackView_ML.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTTableView</string>
- <string key="superclassName">NSTableView</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTTableView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">DVTViewController</string>
- <string key="superclassName">NSViewController</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/DVTViewController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">HFController</string>
- <string key="superclassName">NSObject</string>
- <object class="NSMutableDictionary" key="actions">
- <string key="NS.key.0">selectAll:</string>
- <string key="NS.object.0">id</string>
- </object>
- <object class="NSMutableDictionary" key="actionInfosByName">
- <string key="NS.key.0">selectAll:</string>
- <object class="IBActionInfo" key="NS.object.0">
- <string key="name">selectAll:</string>
- <string key="candidateClassName">id</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/HFController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">HFRepresenterTextView</string>
- <string key="superclassName">NSView</string>
- <object class="NSMutableDictionary" key="actions">
- <string key="NS.key.0">selectAll:</string>
- <string key="NS.object.0">id</string>
- </object>
- <object class="NSMutableDictionary" key="actionInfosByName">
- <string key="NS.key.0">selectAll:</string>
- <object class="IBActionInfo" key="NS.object.0">
- <string key="name">selectAll:</string>
- <string key="candidateClassName">id</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/HFRepresenterTextView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IBEditor</string>
- <string key="superclassName">NSObject</string>
- <dictionary class="NSMutableDictionary" key="actions">
- <string key="changeFont:">id</string>
- <string key="performCopy:">id</string>
- <string key="performCut:">id</string>
- <string key="selectAll:">id</string>
- <string key="sizeSelectionToFit:">id</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="actionInfosByName">
- <object class="IBActionInfo" key="changeFont:">
- <string key="name">changeFont:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="performCopy:">
- <string key="name">performCopy:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="performCut:">
- <string key="name">performCut:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="selectAll:">
- <string key="name">selectAll:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="sizeSelectionToFit:">
- <string key="name">sizeSelectionToFit:</string>
- <string key="candidateClassName">id</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IBEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDECapsuleListView</string>
- <string key="superclassName">DVTStackView_ML</string>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">dataSource</string>
- <string key="NS.object.0">id</string>
- </object>
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">dataSource</string>
- <object class="IBToOneOutletInfo" key="NS.object.0">
- <string key="name">dataSource</string>
- <string key="candidateClassName">id</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDECapsuleListView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDMArrayController</string>
- <string key="superclassName">NSArrayController</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDMArrayController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDMEditor</string>
- <string key="superclassName">IDEEditor</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="bottomToolbarBorderView">DVTBorderedView</string>
- <string key="sourceListSplitViewPane">NSView</string>
- <string key="sourceListViewController">IDEDMEditorSourceListController</string>
- <string key="splitView">DVTSplitView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="bottomToolbarBorderView">
- <string key="name">bottomToolbarBorderView</string>
- <string key="candidateClassName">DVTBorderedView</string>
- </object>
- <object class="IBToOneOutletInfo" key="sourceListSplitViewPane">
- <string key="name">sourceListSplitViewPane</string>
- <string key="candidateClassName">NSView</string>
- </object>
- <object class="IBToOneOutletInfo" key="sourceListViewController">
- <string key="name">sourceListViewController</string>
- <string key="candidateClassName">IDEDMEditorSourceListController</string>
- </object>
- <object class="IBToOneOutletInfo" key="splitView">
- <string key="name">splitView</string>
- <string key="candidateClassName">DVTSplitView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDMEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDMEditorController</string>
- <string key="superclassName">IDEViewController</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDMEditorController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDMEditorSourceListController</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="borderedView">DVTBorderedView</string>
- <string key="parentEditor">IDEDMEditor</string>
- <string key="primaryColumn">DVTImageAndTextColumn</string>
- <string key="sourceListOutlineView">DVTOutlineView</string>
- <string key="sourceListTreeController">NSTreeController</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="borderedView">
- <string key="name">borderedView</string>
- <string key="candidateClassName">DVTBorderedView</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDMEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="primaryColumn">
- <string key="name">primaryColumn</string>
- <string key="candidateClassName">DVTImageAndTextColumn</string>
- </object>
- <object class="IBToOneOutletInfo" key="sourceListOutlineView">
- <string key="name">sourceListOutlineView</string>
- <string key="candidateClassName">DVTOutlineView</string>
- </object>
- <object class="IBToOneOutletInfo" key="sourceListTreeController">
- <string key="name">sourceListTreeController</string>
- <string key="candidateClassName">NSTreeController</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDMEditorSourceListController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDMHighlightImageAndTextCell</string>
- <string key="superclassName">DVTImageAndTextCell</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDMHighlightImageAndTextCell.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelBrowserEditor</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="attributesTableViewController">IDEDataModelPropertiesTableController</string>
- <string key="capsuleView">IDECapsuleListView</string>
- <string key="entityArrayController">NSArrayController</string>
- <string key="fetchedPropertiesTableViewController">IDEDataModelPropertiesTableController</string>
- <string key="parentEditor">IDEDataModelEntityContentsEditor</string>
- <string key="relationshipsTableViewController">IDEDataModelPropertiesTableController</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="attributesTableViewController">
- <string key="name">attributesTableViewController</string>
- <string key="candidateClassName">IDEDataModelPropertiesTableController</string>
- </object>
- <object class="IBToOneOutletInfo" key="capsuleView">
- <string key="name">capsuleView</string>
- <string key="candidateClassName">IDECapsuleListView</string>
- </object>
- <object class="IBToOneOutletInfo" key="entityArrayController">
- <string key="name">entityArrayController</string>
- <string key="candidateClassName">NSArrayController</string>
- </object>
- <object class="IBToOneOutletInfo" key="fetchedPropertiesTableViewController">
- <string key="name">fetchedPropertiesTableViewController</string>
- <string key="candidateClassName">IDEDataModelPropertiesTableController</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDataModelEntityContentsEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="relationshipsTableViewController">
- <string key="name">relationshipsTableViewController</string>
- <string key="candidateClassName">IDEDataModelPropertiesTableController</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelBrowserEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelConfigurationEditor</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="capsuleListView">IDECapsuleListView</string>
- <string key="parentEditor">IDEDataModelEditor</string>
- <string key="tableController">IDEDataModelConfigurationTableController</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="capsuleListView">
- <string key="name">capsuleListView</string>
- <string key="candidateClassName">IDECapsuleListView</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDataModelEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="tableController">
- <string key="name">tableController</string>
- <string key="candidateClassName">IDEDataModelConfigurationTableController</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelConfigurationEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelConfigurationTableController</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="configurationsArrayController">NSArrayController</string>
- <string key="entitiesArrayController">NSArrayController</string>
- <string key="parentEditor">IDEDataModelConfigurationEditor</string>
- <string key="tableView">XDTableView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="configurationsArrayController">
- <string key="name">configurationsArrayController</string>
- <string key="candidateClassName">NSArrayController</string>
- </object>
- <object class="IBToOneOutletInfo" key="entitiesArrayController">
- <string key="name">entitiesArrayController</string>
- <string key="candidateClassName">NSArrayController</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDataModelConfigurationEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="tableView">
- <string key="name">tableView</string>
- <string key="candidateClassName">XDTableView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelConfigurationTableController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelDiagramEditor</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="diagramView">XDDiagramView</string>
- <string key="parentEditor">IDEDataModelEntityContentsEditor</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="diagramView">
- <string key="name">diagramView</string>
- <string key="candidateClassName">XDDiagramView</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDataModelEntityContentsEditor</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelDiagramEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelEditor</string>
- <string key="superclassName">IDEDMEditor</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="addEntityButton">DVTDelayedMenuButton</string>
- <string key="addPropertyButton">DVTDelayedMenuButton</string>
- <string key="browserDiagramSegmentControl">NSSegmentedControl</string>
- <string key="configurationViewController">IDEDataModelConfigurationEditor</string>
- <string key="entityContentsViewController">IDEDataModelEntityContentsEditor</string>
- <string key="fetchRequestViewController">IDEDataModelFetchRequestEditor</string>
- <string key="hierarchySegmentControl">NSSegmentedControl</string>
- <string key="tabView">NSTabView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="addEntityButton">
- <string key="name">addEntityButton</string>
- <string key="candidateClassName">DVTDelayedMenuButton</string>
- </object>
- <object class="IBToOneOutletInfo" key="addPropertyButton">
- <string key="name">addPropertyButton</string>
- <string key="candidateClassName">DVTDelayedMenuButton</string>
- </object>
- <object class="IBToOneOutletInfo" key="browserDiagramSegmentControl">
- <string key="name">browserDiagramSegmentControl</string>
- <string key="candidateClassName">NSSegmentedControl</string>
- </object>
- <object class="IBToOneOutletInfo" key="configurationViewController">
- <string key="name">configurationViewController</string>
- <string key="candidateClassName">IDEDataModelConfigurationEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="entityContentsViewController">
- <string key="name">entityContentsViewController</string>
- <string key="candidateClassName">IDEDataModelEntityContentsEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="fetchRequestViewController">
- <string key="name">fetchRequestViewController</string>
- <string key="candidateClassName">IDEDataModelFetchRequestEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="hierarchySegmentControl">
- <string key="name">hierarchySegmentControl</string>
- <string key="candidateClassName">NSSegmentedControl</string>
- </object>
- <object class="IBToOneOutletInfo" key="tabView">
- <string key="name">tabView</string>
- <string key="candidateClassName">NSTabView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelEntityContentsEditor</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="browserViewController">IDEDataModelBrowserEditor</string>
- <string key="diagramViewController">IDEDataModelDiagramEditor</string>
- <string key="parentEditor">IDEDataModelEditor</string>
- <string key="tabView">NSTabView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="browserViewController">
- <string key="name">browserViewController</string>
- <string key="candidateClassName">IDEDataModelBrowserEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="diagramViewController">
- <string key="name">diagramViewController</string>
- <string key="candidateClassName">IDEDataModelDiagramEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDataModelEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="tabView">
- <string key="name">tabView</string>
- <string key="candidateClassName">NSTabView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelEntityContentsEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelFetchRequestEditor</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="entityController">NSArrayController</string>
- <string key="parentEditor">IDEDataModelEditor</string>
- <string key="tableView">IDECapsuleListView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="entityController">
- <string key="name">entityController</string>
- <string key="candidateClassName">NSArrayController</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDataModelEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="tableView">
- <string key="name">tableView</string>
- <string key="candidateClassName">IDECapsuleListView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelFetchRequestEditor.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDataModelPropertiesTableController</string>
- <string key="superclassName">IDEDMEditorController</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="arrayController">IDEDMArrayController</string>
- <string key="entitiesColumn">NSTableColumn</string>
- <string key="entityArrayController">NSArrayController</string>
- <string key="parentEditor">IDEDataModelBrowserEditor</string>
- <string key="propertyNameAndImageCell">IDEDMHighlightImageAndTextCell</string>
- <string key="tableView">XDTableView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="arrayController">
- <string key="name">arrayController</string>
- <string key="candidateClassName">IDEDMArrayController</string>
- </object>
- <object class="IBToOneOutletInfo" key="entitiesColumn">
- <string key="name">entitiesColumn</string>
- <string key="candidateClassName">NSTableColumn</string>
- </object>
- <object class="IBToOneOutletInfo" key="entityArrayController">
- <string key="name">entityArrayController</string>
- <string key="candidateClassName">NSArrayController</string>
- </object>
- <object class="IBToOneOutletInfo" key="parentEditor">
- <string key="name">parentEditor</string>
- <string key="candidateClassName">IDEDataModelBrowserEditor</string>
- </object>
- <object class="IBToOneOutletInfo" key="propertyNameAndImageCell">
- <string key="name">propertyNameAndImageCell</string>
- <string key="candidateClassName">IDEDMHighlightImageAndTextCell</string>
- </object>
- <object class="IBToOneOutletInfo" key="tableView">
- <string key="name">tableView</string>
- <string key="candidateClassName">XDTableView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/IDEDataModelPropertiesTableController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">IDEDocDownloadsTableViewController</string>
- <string key="superclassName">NSObject</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="_downloadButtonCell">NSButtonCell</string>
- <string key="_tableView">DVTTableView</string>
- <string key="prefPaneController">IDEDocViewingPrefPaneController</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="_downloadButtonCell">
- <string key="name">_downloadButtonCell</string>
- <string key="candidateClassName">NSButtonCell</string>
- </object>
- <object class="IBToOneOutletInfo" key="_tableView">
- <string key="name">_tableView</string>
- <string key="candidateClassName">DVTTableView</string>
- </object>
- <object class="IBToOneOutletInfo" key="prefPaneController">
- <string key="name">prefPaneController</string>
- <string key="candidateClassName">IDEDocViewingPrefPaneController</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>