├── .gitignore ├── Popup.xcodeproj └── project.pbxproj ├── Popup.xcworkspace └── contents.xcworkspacedata ├── Popup ├── ApplicationDelegate.h ├── ApplicationDelegate.m ├── BackgroundView.h ├── BackgroundView.m ├── MenubarController.h ├── MenubarController.m ├── Panel.h ├── Panel.m ├── Panel.xib ├── PanelController.h ├── PanelController.m ├── Popup-Info.plist ├── Popup-Prefix.pch ├── Status.png ├── Status@2x.png ├── StatusHighlighted.png ├── StatusHighlighted@2x.png ├── StatusItemView.h ├── StatusItemView.m ├── en.lproj │ └── MainMenu.xib └── main.m └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | build/* 3 | *.pbxuser 4 | !default.pbxuser 5 | *.mode1v3 6 | !default.mode1v3 7 | *.mode2v3 8 | !default.mode2v3 9 | *.perspectivev3 10 | !default.perspectivev3 11 | !default.xcworkspace 12 | xcuserdata 13 | profile 14 | *.moved-aside 15 | # Finder 16 | .DS_Store 17 | #deploy script 18 | deploy 19 | rakefile*.rb 20 | upload*.sh 21 | *.rb 22 | pkg/ 23 | bin 24 | 25 | # default project workspace 26 | project.xcworkspace -------------------------------------------------------------------------------- /Popup.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | DD4F7C0913C30F9F00825C6E /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD4F7C0813C30F9F00825C6E /* Cocoa.framework */; }; 11 | DD4F7C1513C30F9F00825C6E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DD4F7C1413C30F9F00825C6E /* main.m */; }; 12 | DD4F7C1C13C30F9F00825C6E /* ApplicationDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DD4F7C1B13C30F9F00825C6E /* ApplicationDelegate.m */; }; 13 | DD4F7C1F13C30F9F00825C6E /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = DD4F7C1D13C30F9F00825C6E /* MainMenu.xib */; }; 14 | DD4F7C3813C317A500825C6E /* MenubarController.m in Sources */ = {isa = PBXBuildFile; fileRef = DD4F7C3713C317A500825C6E /* MenubarController.m */; }; 15 | DD4F7C3C13C3180800825C6E /* StatusItemView.m in Sources */ = {isa = PBXBuildFile; fileRef = DD4F7C3B13C3180800825C6E /* StatusItemView.m */; }; 16 | DD4F7C3F13C318D600825C6E /* PanelController.m in Sources */ = {isa = PBXBuildFile; fileRef = DD4F7C3E13C318D600825C6E /* PanelController.m */; }; 17 | DD4F7C4113C31B4A00825C6E /* Panel.xib in Resources */ = {isa = PBXBuildFile; fileRef = DD4F7C4013C31B4A00825C6E /* Panel.xib */; }; 18 | DD4F7C4413C31BD200825C6E /* Panel.m in Sources */ = {isa = PBXBuildFile; fileRef = DD4F7C4313C31BD200825C6E /* Panel.m */; }; 19 | DD4F7C4713C3208500825C6E /* BackgroundView.m in Sources */ = {isa = PBXBuildFile; fileRef = DD4F7C4613C3208500825C6E /* BackgroundView.m */; }; 20 | DD4F7C4B13C322FA00825C6E /* Status.png in Resources */ = {isa = PBXBuildFile; fileRef = DD4F7C4913C322FA00825C6E /* Status.png */; }; 21 | DD4F7C4C13C322FA00825C6E /* StatusHighlighted.png in Resources */ = {isa = PBXBuildFile; fileRef = DD4F7C4A13C322FA00825C6E /* StatusHighlighted.png */; }; 22 | DDF4EFAC16C80A510044D141 /* Status@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DDF4EFAB16C80A510044D141 /* Status@2x.png */; }; 23 | DDF4EFAE16C80AD30044D141 /* StatusHighlighted@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DDF4EFAD16C80AD30044D141 /* StatusHighlighted@2x.png */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXFileReference section */ 27 | DD4F7C0413C30F9F00825C6E /* Popup.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Popup.app; sourceTree = BUILT_PRODUCTS_DIR; }; 28 | DD4F7C0813C30F9F00825C6E /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 29 | DD4F7C0B13C30F9F00825C6E /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 30 | DD4F7C0C13C30F9F00825C6E /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 31 | DD4F7C0D13C30F9F00825C6E /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 32 | DD4F7C1013C30F9F00825C6E /* Popup-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Popup-Info.plist"; path = "Popup/Popup-Info.plist"; sourceTree = ""; }; 33 | DD4F7C1413C30F9F00825C6E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 34 | DD4F7C1613C30F9F00825C6E /* Popup-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Popup-Prefix.pch"; sourceTree = ""; }; 35 | DD4F7C1A13C30F9F00825C6E /* ApplicationDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ApplicationDelegate.h; sourceTree = ""; }; 36 | DD4F7C1B13C30F9F00825C6E /* ApplicationDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ApplicationDelegate.m; sourceTree = ""; }; 37 | DD4F7C1E13C30F9F00825C6E /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = ""; }; 38 | DD4F7C3613C317A500825C6E /* MenubarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MenubarController.h; sourceTree = ""; }; 39 | DD4F7C3713C317A500825C6E /* MenubarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MenubarController.m; sourceTree = ""; }; 40 | DD4F7C3A13C3180800825C6E /* StatusItemView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StatusItemView.h; sourceTree = ""; }; 41 | DD4F7C3B13C3180800825C6E /* StatusItemView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StatusItemView.m; sourceTree = ""; }; 42 | DD4F7C3D13C318D600825C6E /* PanelController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PanelController.h; sourceTree = ""; }; 43 | DD4F7C3E13C318D600825C6E /* PanelController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PanelController.m; sourceTree = ""; }; 44 | DD4F7C4013C31B4A00825C6E /* Panel.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = Panel.xib; path = Popup/Panel.xib; sourceTree = ""; }; 45 | DD4F7C4213C31BD200825C6E /* Panel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Panel.h; sourceTree = ""; }; 46 | DD4F7C4313C31BD200825C6E /* Panel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Panel.m; sourceTree = ""; }; 47 | DD4F7C4513C3208500825C6E /* BackgroundView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BackgroundView.h; sourceTree = ""; }; 48 | DD4F7C4613C3208500825C6E /* BackgroundView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BackgroundView.m; sourceTree = ""; }; 49 | DD4F7C4913C322FA00825C6E /* Status.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Status.png; path = Popup/Status.png; sourceTree = ""; }; 50 | DD4F7C4A13C322FA00825C6E /* StatusHighlighted.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = StatusHighlighted.png; path = Popup/StatusHighlighted.png; sourceTree = ""; }; 51 | DDF4EFAB16C80A510044D141 /* Status@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Status@2x.png"; path = "Popup/Status@2x.png"; sourceTree = ""; }; 52 | DDF4EFAD16C80AD30044D141 /* StatusHighlighted@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "StatusHighlighted@2x.png"; path = "Popup/StatusHighlighted@2x.png"; sourceTree = ""; }; 53 | /* End PBXFileReference section */ 54 | 55 | /* Begin PBXFrameworksBuildPhase section */ 56 | DD4F7C0113C30F9F00825C6E /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | DD4F7C0913C30F9F00825C6E /* Cocoa.framework in Frameworks */, 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | /* End PBXFrameworksBuildPhase section */ 65 | 66 | /* Begin PBXGroup section */ 67 | DD4F7BF913C30F9F00825C6E = { 68 | isa = PBXGroup; 69 | children = ( 70 | DD4F7C0E13C30F9F00825C6E /* Sources */, 71 | DD4F7C2813C3123E00825C6E /* User Interface */, 72 | DD4F7C0713C30F9F00825C6E /* Frameworks */, 73 | DD4F7C0513C30F9F00825C6E /* Products */, 74 | DD4F7C1013C30F9F00825C6E /* Popup-Info.plist */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | DD4F7C0513C30F9F00825C6E /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | DD4F7C0413C30F9F00825C6E /* Popup.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | DD4F7C0713C30F9F00825C6E /* Frameworks */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | DD4F7C0B13C30F9F00825C6E /* AppKit.framework */, 90 | DD4F7C0C13C30F9F00825C6E /* CoreData.framework */, 91 | DD4F7C0D13C30F9F00825C6E /* Foundation.framework */, 92 | DD4F7C0813C30F9F00825C6E /* Cocoa.framework */, 93 | ); 94 | name = Frameworks; 95 | sourceTree = ""; 96 | }; 97 | DD4F7C0E13C30F9F00825C6E /* Sources */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | DD4F7C2613C311DF00825C6E /* Controllers */, 101 | DD4F7C3913C317EC00825C6E /* Views */, 102 | DD4F7C0F13C30F9F00825C6E /* Supporting Files */, 103 | ); 104 | name = Sources; 105 | path = Popup; 106 | sourceTree = ""; 107 | }; 108 | DD4F7C0F13C30F9F00825C6E /* Supporting Files */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | DD4F7C1613C30F9F00825C6E /* Popup-Prefix.pch */, 112 | DD4F7C1413C30F9F00825C6E /* main.m */, 113 | ); 114 | name = "Supporting Files"; 115 | sourceTree = ""; 116 | }; 117 | DD4F7C2613C311DF00825C6E /* Controllers */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | DD4F7C1A13C30F9F00825C6E /* ApplicationDelegate.h */, 121 | DD4F7C1B13C30F9F00825C6E /* ApplicationDelegate.m */, 122 | DD4F7C3613C317A500825C6E /* MenubarController.h */, 123 | DD4F7C3713C317A500825C6E /* MenubarController.m */, 124 | DD4F7C3D13C318D600825C6E /* PanelController.h */, 125 | DD4F7C3E13C318D600825C6E /* PanelController.m */, 126 | ); 127 | name = Controllers; 128 | sourceTree = ""; 129 | }; 130 | DD4F7C2813C3123E00825C6E /* User Interface */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | DD4F7C4813C322D800825C6E /* Graphics */, 134 | DD4F7C2913C3124300825C6E /* XIBs */, 135 | ); 136 | name = "User Interface"; 137 | sourceTree = ""; 138 | }; 139 | DD4F7C2913C3124300825C6E /* XIBs */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | DD4F7C1D13C30F9F00825C6E /* MainMenu.xib */, 143 | DD4F7C4013C31B4A00825C6E /* Panel.xib */, 144 | ); 145 | name = XIBs; 146 | sourceTree = ""; 147 | }; 148 | DD4F7C3913C317EC00825C6E /* Views */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | DD4F7C4213C31BD200825C6E /* Panel.h */, 152 | DD4F7C4313C31BD200825C6E /* Panel.m */, 153 | DD4F7C3A13C3180800825C6E /* StatusItemView.h */, 154 | DD4F7C3B13C3180800825C6E /* StatusItemView.m */, 155 | DD4F7C4513C3208500825C6E /* BackgroundView.h */, 156 | DD4F7C4613C3208500825C6E /* BackgroundView.m */, 157 | ); 158 | name = Views; 159 | sourceTree = ""; 160 | }; 161 | DD4F7C4813C322D800825C6E /* Graphics */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | DD4F7C4913C322FA00825C6E /* Status.png */, 165 | DDF4EFAB16C80A510044D141 /* Status@2x.png */, 166 | DD4F7C4A13C322FA00825C6E /* StatusHighlighted.png */, 167 | DDF4EFAD16C80AD30044D141 /* StatusHighlighted@2x.png */, 168 | ); 169 | name = Graphics; 170 | sourceTree = ""; 171 | }; 172 | /* End PBXGroup section */ 173 | 174 | /* Begin PBXNativeTarget section */ 175 | DD4F7C0313C30F9F00825C6E /* Popup */ = { 176 | isa = PBXNativeTarget; 177 | buildConfigurationList = DD4F7C2213C30F9F00825C6E /* Build configuration list for PBXNativeTarget "Popup" */; 178 | buildPhases = ( 179 | DD4F7C0013C30F9F00825C6E /* Sources */, 180 | DD4F7C0113C30F9F00825C6E /* Frameworks */, 181 | DD4F7C0213C30F9F00825C6E /* Resources */, 182 | ); 183 | buildRules = ( 184 | ); 185 | dependencies = ( 186 | ); 187 | name = Popup; 188 | productName = Popup; 189 | productReference = DD4F7C0413C30F9F00825C6E /* Popup.app */; 190 | productType = "com.apple.product-type.application"; 191 | }; 192 | /* End PBXNativeTarget section */ 193 | 194 | /* Begin PBXProject section */ 195 | DD4F7BFB13C30F9F00825C6E /* Project object */ = { 196 | isa = PBXProject; 197 | attributes = { 198 | LastUpgradeCheck = 0610; 199 | }; 200 | buildConfigurationList = DD4F7BFE13C30F9F00825C6E /* Build configuration list for PBXProject "Popup" */; 201 | compatibilityVersion = "Xcode 3.2"; 202 | developmentRegion = English; 203 | hasScannedForEncodings = 0; 204 | knownRegions = ( 205 | en, 206 | ); 207 | mainGroup = DD4F7BF913C30F9F00825C6E; 208 | productRefGroup = DD4F7C0513C30F9F00825C6E /* Products */; 209 | projectDirPath = ""; 210 | projectRoot = ""; 211 | targets = ( 212 | DD4F7C0313C30F9F00825C6E /* Popup */, 213 | ); 214 | }; 215 | /* End PBXProject section */ 216 | 217 | /* Begin PBXResourcesBuildPhase section */ 218 | DD4F7C0213C30F9F00825C6E /* Resources */ = { 219 | isa = PBXResourcesBuildPhase; 220 | buildActionMask = 2147483647; 221 | files = ( 222 | DD4F7C1F13C30F9F00825C6E /* MainMenu.xib in Resources */, 223 | DD4F7C4113C31B4A00825C6E /* Panel.xib in Resources */, 224 | DD4F7C4B13C322FA00825C6E /* Status.png in Resources */, 225 | DD4F7C4C13C322FA00825C6E /* StatusHighlighted.png in Resources */, 226 | DDF4EFAC16C80A510044D141 /* Status@2x.png in Resources */, 227 | DDF4EFAE16C80AD30044D141 /* StatusHighlighted@2x.png in Resources */, 228 | ); 229 | runOnlyForDeploymentPostprocessing = 0; 230 | }; 231 | /* End PBXResourcesBuildPhase section */ 232 | 233 | /* Begin PBXSourcesBuildPhase section */ 234 | DD4F7C0013C30F9F00825C6E /* Sources */ = { 235 | isa = PBXSourcesBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | DD4F7C1513C30F9F00825C6E /* main.m in Sources */, 239 | DD4F7C1C13C30F9F00825C6E /* ApplicationDelegate.m in Sources */, 240 | DD4F7C3813C317A500825C6E /* MenubarController.m in Sources */, 241 | DD4F7C3C13C3180800825C6E /* StatusItemView.m in Sources */, 242 | DD4F7C3F13C318D600825C6E /* PanelController.m in Sources */, 243 | DD4F7C4413C31BD200825C6E /* Panel.m in Sources */, 244 | DD4F7C4713C3208500825C6E /* BackgroundView.m in Sources */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | /* End PBXSourcesBuildPhase section */ 249 | 250 | /* Begin PBXVariantGroup section */ 251 | DD4F7C1D13C30F9F00825C6E /* MainMenu.xib */ = { 252 | isa = PBXVariantGroup; 253 | children = ( 254 | DD4F7C1E13C30F9F00825C6E /* en */, 255 | ); 256 | name = MainMenu.xib; 257 | path = Popup; 258 | sourceTree = ""; 259 | }; 260 | /* End PBXVariantGroup section */ 261 | 262 | /* Begin XCBuildConfiguration section */ 263 | DD4F7C2013C30F9F00825C6E /* Debug */ = { 264 | isa = XCBuildConfiguration; 265 | buildSettings = { 266 | ALWAYS_SEARCH_USER_PATHS = NO; 267 | CLANG_WARN_BOOL_CONVERSION = YES; 268 | CLANG_WARN_CONSTANT_CONVERSION = YES; 269 | CLANG_WARN_EMPTY_BODY = YES; 270 | CLANG_WARN_ENUM_CONVERSION = YES; 271 | CLANG_WARN_INT_CONVERSION = YES; 272 | CLANG_WARN_UNREACHABLE_CODE = YES; 273 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 274 | COPY_PHASE_STRIP = NO; 275 | ENABLE_STRICT_OBJC_MSGSEND = YES; 276 | GCC_C_LANGUAGE_STANDARD = gnu99; 277 | GCC_DYNAMIC_NO_PIC = NO; 278 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 279 | GCC_OPTIMIZATION_LEVEL = 0; 280 | GCC_PREPROCESSOR_DEFINITIONS = ( 281 | "DEBUG=1", 282 | "$(inherited)", 283 | ); 284 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 285 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 286 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 287 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 288 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 289 | GCC_WARN_UNDECLARED_SELECTOR = YES; 290 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 291 | GCC_WARN_UNUSED_FUNCTION = YES; 292 | GCC_WARN_UNUSED_VARIABLE = YES; 293 | MACOSX_DEPLOYMENT_TARGET = 10.6; 294 | ONLY_ACTIVE_ARCH = YES; 295 | SDKROOT = macosx; 296 | }; 297 | name = Debug; 298 | }; 299 | DD4F7C2113C30F9F00825C6E /* Release */ = { 300 | isa = XCBuildConfiguration; 301 | buildSettings = { 302 | ALWAYS_SEARCH_USER_PATHS = NO; 303 | CLANG_WARN_BOOL_CONVERSION = YES; 304 | CLANG_WARN_CONSTANT_CONVERSION = YES; 305 | CLANG_WARN_EMPTY_BODY = YES; 306 | CLANG_WARN_ENUM_CONVERSION = YES; 307 | CLANG_WARN_INT_CONVERSION = YES; 308 | CLANG_WARN_UNREACHABLE_CODE = YES; 309 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 310 | COPY_PHASE_STRIP = YES; 311 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 312 | ENABLE_STRICT_OBJC_MSGSEND = YES; 313 | GCC_C_LANGUAGE_STANDARD = gnu99; 314 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 315 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 316 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 317 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 318 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 319 | GCC_WARN_UNDECLARED_SELECTOR = YES; 320 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 321 | GCC_WARN_UNUSED_FUNCTION = YES; 322 | GCC_WARN_UNUSED_VARIABLE = YES; 323 | MACOSX_DEPLOYMENT_TARGET = 10.6; 324 | SDKROOT = macosx; 325 | }; 326 | name = Release; 327 | }; 328 | DD4F7C2313C30F9F00825C6E /* Debug */ = { 329 | isa = XCBuildConfiguration; 330 | buildSettings = { 331 | CLANG_ENABLE_OBJC_ARC = YES; 332 | COMBINE_HIDPI_IMAGES = YES; 333 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 334 | GCC_PREFIX_HEADER = "Popup/Popup-Prefix.pch"; 335 | INFOPLIST_FILE = "Popup/Popup-Info.plist"; 336 | PRODUCT_NAME = "$(TARGET_NAME)"; 337 | WRAPPER_EXTENSION = app; 338 | }; 339 | name = Debug; 340 | }; 341 | DD4F7C2413C30F9F00825C6E /* Release */ = { 342 | isa = XCBuildConfiguration; 343 | buildSettings = { 344 | CLANG_ENABLE_OBJC_ARC = YES; 345 | COMBINE_HIDPI_IMAGES = YES; 346 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 347 | GCC_PREFIX_HEADER = "Popup/Popup-Prefix.pch"; 348 | INFOPLIST_FILE = "Popup/Popup-Info.plist"; 349 | PRODUCT_NAME = "$(TARGET_NAME)"; 350 | WRAPPER_EXTENSION = app; 351 | }; 352 | name = Release; 353 | }; 354 | /* End XCBuildConfiguration section */ 355 | 356 | /* Begin XCConfigurationList section */ 357 | DD4F7BFE13C30F9F00825C6E /* Build configuration list for PBXProject "Popup" */ = { 358 | isa = XCConfigurationList; 359 | buildConfigurations = ( 360 | DD4F7C2013C30F9F00825C6E /* Debug */, 361 | DD4F7C2113C30F9F00825C6E /* Release */, 362 | ); 363 | defaultConfigurationIsVisible = 0; 364 | defaultConfigurationName = Release; 365 | }; 366 | DD4F7C2213C30F9F00825C6E /* Build configuration list for PBXNativeTarget "Popup" */ = { 367 | isa = XCConfigurationList; 368 | buildConfigurations = ( 369 | DD4F7C2313C30F9F00825C6E /* Debug */, 370 | DD4F7C2413C30F9F00825C6E /* Release */, 371 | ); 372 | defaultConfigurationIsVisible = 0; 373 | defaultConfigurationName = Release; 374 | }; 375 | /* End XCConfigurationList section */ 376 | }; 377 | rootObject = DD4F7BFB13C30F9F00825C6E /* Project object */; 378 | } 379 | -------------------------------------------------------------------------------- /Popup.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Popup/ApplicationDelegate.h: -------------------------------------------------------------------------------- 1 | #import "MenubarController.h" 2 | #import "PanelController.h" 3 | 4 | @interface ApplicationDelegate : NSObject 5 | 6 | @property (nonatomic, strong) MenubarController *menubarController; 7 | @property (nonatomic, strong, readonly) PanelController *panelController; 8 | 9 | - (IBAction)togglePanel:(id)sender; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /Popup/ApplicationDelegate.m: -------------------------------------------------------------------------------- 1 | #import "ApplicationDelegate.h" 2 | 3 | @implementation ApplicationDelegate 4 | 5 | @synthesize panelController = _panelController; 6 | @synthesize menubarController = _menubarController; 7 | 8 | #pragma mark - 9 | 10 | - (void)dealloc 11 | { 12 | [_panelController removeObserver:self forKeyPath:@"hasActivePanel"]; 13 | } 14 | 15 | #pragma mark - 16 | 17 | void *kContextActivePanel = &kContextActivePanel; 18 | 19 | - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context 20 | { 21 | if (context == kContextActivePanel) { 22 | self.menubarController.hasActiveIcon = self.panelController.hasActivePanel; 23 | } 24 | else { 25 | [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; 26 | } 27 | } 28 | 29 | #pragma mark - NSApplicationDelegate 30 | 31 | - (void)applicationDidFinishLaunching:(NSNotification *)notification 32 | { 33 | // Install icon into the menu bar 34 | self.menubarController = [[MenubarController alloc] init]; 35 | } 36 | 37 | - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender 38 | { 39 | // Explicitly remove the icon from the menu bar 40 | self.menubarController = nil; 41 | return NSTerminateNow; 42 | } 43 | 44 | #pragma mark - Actions 45 | 46 | - (IBAction)togglePanel:(id)sender 47 | { 48 | self.menubarController.hasActiveIcon = !self.menubarController.hasActiveIcon; 49 | self.panelController.hasActivePanel = self.menubarController.hasActiveIcon; 50 | } 51 | 52 | #pragma mark - Public accessors 53 | 54 | - (PanelController *)panelController 55 | { 56 | if (_panelController == nil) { 57 | _panelController = [[PanelController alloc] initWithDelegate:self]; 58 | [_panelController addObserver:self forKeyPath:@"hasActivePanel" options:0 context:kContextActivePanel]; 59 | } 60 | return _panelController; 61 | } 62 | 63 | #pragma mark - PanelControllerDelegate 64 | 65 | - (StatusItemView *)statusItemViewForPanelController:(PanelController *)controller 66 | { 67 | return self.menubarController.statusItemView; 68 | } 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /Popup/BackgroundView.h: -------------------------------------------------------------------------------- 1 | #define ARROW_WIDTH 12 2 | #define ARROW_HEIGHT 8 3 | 4 | @interface BackgroundView : NSView 5 | { 6 | NSInteger _arrowX; 7 | } 8 | 9 | @property (nonatomic, assign) NSInteger arrowX; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /Popup/BackgroundView.m: -------------------------------------------------------------------------------- 1 | #import "BackgroundView.h" 2 | 3 | #define FILL_OPACITY 0.9f 4 | #define STROKE_OPACITY 1.0f 5 | 6 | #define LINE_THICKNESS 1.0f 7 | #define CORNER_RADIUS 6.0f 8 | 9 | #define SEARCH_INSET 10.0f 10 | 11 | #pragma mark - 12 | 13 | @implementation BackgroundView 14 | 15 | @synthesize arrowX = _arrowX; 16 | 17 | #pragma mark - 18 | 19 | - (void)drawRect:(NSRect)dirtyRect 20 | { 21 | NSRect contentRect = NSInsetRect([self bounds], LINE_THICKNESS, LINE_THICKNESS); 22 | NSBezierPath *path = [NSBezierPath bezierPath]; 23 | 24 | [path moveToPoint:NSMakePoint(_arrowX, NSMaxY(contentRect))]; 25 | [path lineToPoint:NSMakePoint(_arrowX + ARROW_WIDTH / 2, NSMaxY(contentRect) - ARROW_HEIGHT)]; 26 | [path lineToPoint:NSMakePoint(NSMaxX(contentRect) - CORNER_RADIUS, NSMaxY(contentRect) - ARROW_HEIGHT)]; 27 | 28 | NSPoint topRightCorner = NSMakePoint(NSMaxX(contentRect), NSMaxY(contentRect) - ARROW_HEIGHT); 29 | [path curveToPoint:NSMakePoint(NSMaxX(contentRect), NSMaxY(contentRect) - ARROW_HEIGHT - CORNER_RADIUS) 30 | controlPoint1:topRightCorner controlPoint2:topRightCorner]; 31 | 32 | [path lineToPoint:NSMakePoint(NSMaxX(contentRect), NSMinY(contentRect) + CORNER_RADIUS)]; 33 | 34 | NSPoint bottomRightCorner = NSMakePoint(NSMaxX(contentRect), NSMinY(contentRect)); 35 | [path curveToPoint:NSMakePoint(NSMaxX(contentRect) - CORNER_RADIUS, NSMinY(contentRect)) 36 | controlPoint1:bottomRightCorner controlPoint2:bottomRightCorner]; 37 | 38 | [path lineToPoint:NSMakePoint(NSMinX(contentRect) + CORNER_RADIUS, NSMinY(contentRect))]; 39 | 40 | [path curveToPoint:NSMakePoint(NSMinX(contentRect), NSMinY(contentRect) + CORNER_RADIUS) 41 | controlPoint1:contentRect.origin controlPoint2:contentRect.origin]; 42 | 43 | [path lineToPoint:NSMakePoint(NSMinX(contentRect), NSMaxY(contentRect) - ARROW_HEIGHT - CORNER_RADIUS)]; 44 | 45 | NSPoint topLeftCorner = NSMakePoint(NSMinX(contentRect), NSMaxY(contentRect) - ARROW_HEIGHT); 46 | [path curveToPoint:NSMakePoint(NSMinX(contentRect) + CORNER_RADIUS, NSMaxY(contentRect) - ARROW_HEIGHT) 47 | controlPoint1:topLeftCorner controlPoint2:topLeftCorner]; 48 | 49 | [path lineToPoint:NSMakePoint(_arrowX - ARROW_WIDTH / 2, NSMaxY(contentRect) - ARROW_HEIGHT)]; 50 | [path closePath]; 51 | 52 | [[NSColor colorWithDeviceWhite:1 alpha:FILL_OPACITY] setFill]; 53 | [path fill]; 54 | 55 | [NSGraphicsContext saveGraphicsState]; 56 | 57 | NSBezierPath *clip = [NSBezierPath bezierPathWithRect:[self bounds]]; 58 | [clip appendBezierPath:path]; 59 | [clip addClip]; 60 | 61 | [path setLineWidth:LINE_THICKNESS * 2]; 62 | [[NSColor whiteColor] setStroke]; 63 | [path stroke]; 64 | 65 | [NSGraphicsContext restoreGraphicsState]; 66 | } 67 | 68 | #pragma mark - 69 | #pragma mark Public accessors 70 | 71 | - (void)setArrowX:(NSInteger)value 72 | { 73 | _arrowX = value; 74 | [self setNeedsDisplay:YES]; 75 | } 76 | 77 | @end 78 | -------------------------------------------------------------------------------- /Popup/MenubarController.h: -------------------------------------------------------------------------------- 1 | #define STATUS_ITEM_VIEW_WIDTH 24.0 2 | 3 | #pragma mark - 4 | 5 | @class StatusItemView; 6 | 7 | @interface MenubarController : NSObject { 8 | @private 9 | StatusItemView *_statusItemView; 10 | } 11 | 12 | @property (nonatomic) BOOL hasActiveIcon; 13 | @property (nonatomic, strong, readonly) NSStatusItem *statusItem; 14 | @property (nonatomic, strong, readonly) StatusItemView *statusItemView; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Popup/MenubarController.m: -------------------------------------------------------------------------------- 1 | #import "MenubarController.h" 2 | #import "StatusItemView.h" 3 | 4 | @implementation MenubarController 5 | 6 | @synthesize statusItemView = _statusItemView; 7 | 8 | #pragma mark - 9 | 10 | - (id)init 11 | { 12 | self = [super init]; 13 | if (self != nil) 14 | { 15 | // Install status item into the menu bar 16 | NSStatusItem *statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength:STATUS_ITEM_VIEW_WIDTH]; 17 | _statusItemView = [[StatusItemView alloc] initWithStatusItem:statusItem]; 18 | _statusItemView.image = [NSImage imageNamed:@"Status"]; 19 | _statusItemView.alternateImage = [NSImage imageNamed:@"StatusHighlighted"]; 20 | _statusItemView.action = @selector(togglePanel:); 21 | } 22 | return self; 23 | } 24 | 25 | - (void)dealloc 26 | { 27 | [[NSStatusBar systemStatusBar] removeStatusItem:self.statusItem]; 28 | } 29 | 30 | #pragma mark - 31 | #pragma mark Public accessors 32 | 33 | - (NSStatusItem *)statusItem 34 | { 35 | return self.statusItemView.statusItem; 36 | } 37 | 38 | #pragma mark - 39 | 40 | - (BOOL)hasActiveIcon 41 | { 42 | return self.statusItemView.isHighlighted; 43 | } 44 | 45 | - (void)setHasActiveIcon:(BOOL)flag 46 | { 47 | self.statusItemView.isHighlighted = flag; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Popup/Panel.h: -------------------------------------------------------------------------------- 1 | @interface Panel : NSPanel 2 | @end 3 | -------------------------------------------------------------------------------- /Popup/Panel.m: -------------------------------------------------------------------------------- 1 | #import "Panel.h" 2 | 3 | @implementation Panel 4 | 5 | - (BOOL)canBecomeKeyWindow; 6 | { 7 | return YES; // Allow Search field to become the first responder 8 | } 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /Popup/Panel.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1080 5 | 12C3012 6 | 3084 7 | 1187.34 8 | 625.00 9 | 10 | com.apple.InterfaceBuilder.CocoaPlugin 11 | 3084 12 | 13 | 14 | YES 15 | NSCustomObject 16 | NSSearchField 17 | NSSearchFieldCell 18 | NSTextField 19 | NSTextFieldCell 20 | NSView 21 | NSWindowTemplate 22 | 23 | 24 | YES 25 | com.apple.InterfaceBuilder.CocoaPlugin 26 | 27 | 28 | PluginDependencyRecalculationVersion 29 | 30 | 31 | 32 | YES 33 | 34 | PanelController 35 | 36 | 37 | FirstResponder 38 | 39 | 40 | NSApplication 41 | 42 | 43 | 144 44 | 2 45 | {{162, 101}, {280, 180}} 46 | 1685586944 47 | 48 | Panel 49 | 50 | 51 | 52 | 53 | 256 54 | 55 | YES 56 | 57 | 58 | 266 59 | {{20, 138}, {240, 22}} 60 | 61 | 62 | 63 | YES 64 | 65 | 342884416 66 | 33856 67 | 68 | 69 | LucidaGrande 70 | 11 71 | 16 72 | 73 | 74 | 75 | YES 76 | 1 77 | 78 | 6 79 | System 80 | textBackgroundColor 81 | 82 | 3 83 | MQA 84 | 85 | 86 | 87 | 6 88 | System 89 | textColor 90 | 91 | 3 92 | MAA 93 | 94 | 95 | 96 | 0 97 | 0 98 | search 99 | 100 | _searchFieldSearch: 101 | 102 | 138690560 103 | 0 104 | 105 | 400 106 | 75 107 | 108 | 109 | 0 110 | 0 111 | clear 112 | 113 | YES 114 | 115 | YES 116 | 117 | YES 118 | AXDescription 119 | NSAccessibilityEncodedAttributesValueType 120 | 121 | 122 | YES 123 | cancel 124 | 125 | 126 | 127 | 128 | 129 | _searchFieldCancel: 130 | 131 | 138690560 132 | 0 133 | 134 | 400 135 | 75 136 | 137 | 255 138 | 139 | NO 140 | 141 | 142 | 143 | 274 144 | {{17, 20}, {246, 110}} 145 | 146 | 147 | 148 | _NS:3596 149 | YES 150 | 151 | 67108864 152 | 138412032 153 | 154 | 155 | _NS:3596 156 | 157 | 158 | 6 159 | System 160 | controlColor 161 | 162 | 3 163 | MC42NjY2NjY2NjY3AA 164 | 165 | 166 | 167 | 6 168 | System 169 | disabledControlTextColor 170 | 171 | 3 172 | MC4zMzMzMzMzMzMzAA 173 | 174 | 175 | 176 | NO 177 | 178 | 179 | {280, 180} 180 | 181 | 182 | 183 | 184 | {{0, 0}, {1440, 878}} 185 | {10000000000000, 10000000000000} 186 | 2 187 | 66 188 | NO 189 | 190 | 191 | 192 | 193 | YES 194 | 195 | 196 | window 197 | 198 | 199 | 200 | 7 201 | 202 | 203 | 204 | backgroundView 205 | 206 | 207 | 208 | 20 209 | 210 | 211 | 212 | searchField 213 | 214 | 215 | 216 | 21 217 | 218 | 219 | 220 | textField 221 | 222 | 223 | 224 | 37 225 | 226 | 227 | 228 | delegate 229 | 230 | 231 | 232 | 8 233 | 234 | 235 | 236 | delegate 237 | 238 | 239 | 240 | 29 241 | 242 | 243 | 244 | 245 | YES 246 | 247 | 0 248 | 249 | YES 250 | 251 | 252 | 253 | 254 | 255 | -2 256 | 257 | 258 | File's Owner 259 | 260 | 261 | -1 262 | 263 | 264 | First Responder 265 | 266 | 267 | -3 268 | 269 | 270 | Application 271 | 272 | 273 | 5 274 | 275 | 276 | YES 277 | 278 | 279 | 280 | 281 | 282 | 6 283 | 284 | 285 | YES 286 | 287 | 288 | 289 | 290 | 291 | 292 | 18 293 | 294 | 295 | YES 296 | 297 | 298 | 299 | 300 | 301 | 19 302 | 303 | 304 | 305 | 306 | 34 307 | 308 | 309 | YES 310 | 311 | 312 | 313 | 314 | 315 | 35 316 | 317 | 318 | 319 | 320 | 321 | 322 | YES 323 | 324 | YES 325 | -1.IBPluginDependency 326 | -2.IBPluginDependency 327 | -3.IBPluginDependency 328 | 18.IBPluginDependency 329 | 19.IBPluginDependency 330 | 34.IBPluginDependency 331 | 35.IBPluginDependency 332 | 5.IBPluginDependency 333 | 5.IBWindowTemplateEditedContentRect 334 | 5.NSWindowTemplate.visibleAtLaunch 335 | 6.CustomClassName 336 | 6.IBPluginDependency 337 | 338 | 339 | YES 340 | com.apple.InterfaceBuilder.CocoaPlugin 341 | com.apple.InterfaceBuilder.CocoaPlugin 342 | com.apple.InterfaceBuilder.CocoaPlugin 343 | com.apple.InterfaceBuilder.CocoaPlugin 344 | com.apple.InterfaceBuilder.CocoaPlugin 345 | com.apple.InterfaceBuilder.CocoaPlugin 346 | com.apple.InterfaceBuilder.CocoaPlugin 347 | com.apple.InterfaceBuilder.CocoaPlugin 348 | {{609, 381}, {280, 378}} 349 | 350 | BackgroundView 351 | com.apple.InterfaceBuilder.CocoaPlugin 352 | 353 | 354 | 355 | YES 356 | 357 | 358 | 359 | 360 | 361 | YES 362 | 363 | 364 | 365 | 366 | 37 367 | 368 | 369 | 370 | YES 371 | 372 | BackgroundView 373 | NSView 374 | 375 | IBProjectSource 376 | ./Classes/BackgroundView.h 377 | 378 | 379 | 380 | Panel 381 | NSPanel 382 | 383 | IBProjectSource 384 | ./Classes/Panel.h 385 | 386 | 387 | 388 | PanelController 389 | NSWindowController 390 | 391 | YES 392 | 393 | YES 394 | backgroundView 395 | searchField 396 | textField 397 | 398 | 399 | YES 400 | BackgroundView 401 | NSSearchField 402 | NSTextField 403 | 404 | 405 | 406 | YES 407 | 408 | YES 409 | backgroundView 410 | searchField 411 | textField 412 | 413 | 414 | YES 415 | 416 | backgroundView 417 | BackgroundView 418 | 419 | 420 | searchField 421 | NSSearchField 422 | 423 | 424 | textField 425 | NSTextField 426 | 427 | 428 | 429 | 430 | IBProjectSource 431 | ./Classes/PanelController.h 432 | 433 | 434 | 435 | 436 | 0 437 | IBCocoaFramework 438 | 439 | com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 440 | 441 | 442 | YES 443 | 3 444 | 445 | 446 | -------------------------------------------------------------------------------- /Popup/PanelController.h: -------------------------------------------------------------------------------- 1 | #import "BackgroundView.h" 2 | #import "StatusItemView.h" 3 | 4 | @class PanelController; 5 | 6 | @protocol PanelControllerDelegate 7 | 8 | @optional 9 | 10 | - (StatusItemView *)statusItemViewForPanelController:(PanelController *)controller; 11 | 12 | @end 13 | 14 | #pragma mark - 15 | 16 | @interface PanelController : NSWindowController 17 | { 18 | BOOL _hasActivePanel; 19 | __unsafe_unretained BackgroundView *_backgroundView; 20 | __unsafe_unretained id _delegate; 21 | __unsafe_unretained NSSearchField *_searchField; 22 | __unsafe_unretained NSTextField *_textField; 23 | } 24 | 25 | @property (nonatomic, unsafe_unretained) IBOutlet BackgroundView *backgroundView; 26 | @property (nonatomic, unsafe_unretained) IBOutlet NSSearchField *searchField; 27 | @property (nonatomic, unsafe_unretained) IBOutlet NSTextField *textField; 28 | 29 | @property (nonatomic) BOOL hasActivePanel; 30 | @property (nonatomic, unsafe_unretained, readonly) id delegate; 31 | 32 | - (id)initWithDelegate:(id)delegate; 33 | 34 | - (void)openPanel; 35 | - (void)closePanel; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Popup/PanelController.m: -------------------------------------------------------------------------------- 1 | #import "PanelController.h" 2 | #import "BackgroundView.h" 3 | #import "StatusItemView.h" 4 | #import "MenubarController.h" 5 | 6 | #define OPEN_DURATION .15 7 | #define CLOSE_DURATION .1 8 | 9 | #define SEARCH_INSET 17 10 | 11 | #define POPUP_HEIGHT 122 12 | #define PANEL_WIDTH 280 13 | #define MENU_ANIMATION_DURATION .1 14 | 15 | #pragma mark - 16 | 17 | @implementation PanelController 18 | 19 | @synthesize backgroundView = _backgroundView; 20 | @synthesize delegate = _delegate; 21 | @synthesize searchField = _searchField; 22 | @synthesize textField = _textField; 23 | 24 | #pragma mark - 25 | 26 | - (id)initWithDelegate:(id)delegate 27 | { 28 | self = [super initWithWindowNibName:@"Panel"]; 29 | if (self != nil) 30 | { 31 | _delegate = delegate; 32 | } 33 | return self; 34 | } 35 | 36 | - (void)dealloc 37 | { 38 | [[NSNotificationCenter defaultCenter] removeObserver:self name:NSControlTextDidChangeNotification object:self.searchField]; 39 | } 40 | 41 | #pragma mark - 42 | 43 | - (void)awakeFromNib 44 | { 45 | [super awakeFromNib]; 46 | 47 | // Make a fully skinned panel 48 | NSPanel *panel = (id)[self window]; 49 | [panel setAcceptsMouseMovedEvents:YES]; 50 | [panel setLevel:NSPopUpMenuWindowLevel]; 51 | [panel setOpaque:NO]; 52 | [panel setBackgroundColor:[NSColor clearColor]]; 53 | 54 | // Follow search string 55 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(runSearch) name:NSControlTextDidChangeNotification object:self.searchField]; 56 | } 57 | 58 | #pragma mark - Public accessors 59 | 60 | - (BOOL)hasActivePanel 61 | { 62 | return _hasActivePanel; 63 | } 64 | 65 | - (void)setHasActivePanel:(BOOL)flag 66 | { 67 | if (_hasActivePanel != flag) 68 | { 69 | _hasActivePanel = flag; 70 | 71 | if (_hasActivePanel) 72 | { 73 | [self openPanel]; 74 | } 75 | else 76 | { 77 | [self closePanel]; 78 | } 79 | } 80 | } 81 | 82 | #pragma mark - NSWindowDelegate 83 | 84 | - (void)windowWillClose:(NSNotification *)notification 85 | { 86 | self.hasActivePanel = NO; 87 | } 88 | 89 | - (void)windowDidResignKey:(NSNotification *)notification; 90 | { 91 | if ([[self window] isVisible]) 92 | { 93 | self.hasActivePanel = NO; 94 | } 95 | } 96 | 97 | - (void)windowDidResize:(NSNotification *)notification 98 | { 99 | NSWindow *panel = [self window]; 100 | NSRect statusRect = [self statusRectForWindow:panel]; 101 | NSRect panelRect = [panel frame]; 102 | 103 | CGFloat statusX = roundf(NSMidX(statusRect)); 104 | CGFloat panelX = statusX - NSMinX(panelRect); 105 | 106 | self.backgroundView.arrowX = panelX; 107 | 108 | NSRect searchRect = [self.searchField frame]; 109 | searchRect.size.width = NSWidth([self.backgroundView bounds]) - SEARCH_INSET * 2; 110 | searchRect.origin.x = SEARCH_INSET; 111 | searchRect.origin.y = NSHeight([self.backgroundView bounds]) - ARROW_HEIGHT - SEARCH_INSET - NSHeight(searchRect); 112 | 113 | if (NSIsEmptyRect(searchRect)) 114 | { 115 | [self.searchField setHidden:YES]; 116 | } 117 | else 118 | { 119 | [self.searchField setFrame:searchRect]; 120 | [self.searchField setHidden:NO]; 121 | } 122 | 123 | NSRect textRect = [self.textField frame]; 124 | textRect.size.width = NSWidth([self.backgroundView bounds]) - SEARCH_INSET * 2; 125 | textRect.origin.x = SEARCH_INSET; 126 | textRect.size.height = NSHeight([self.backgroundView bounds]) - ARROW_HEIGHT - SEARCH_INSET * 3 - NSHeight(searchRect); 127 | textRect.origin.y = SEARCH_INSET; 128 | 129 | if (NSIsEmptyRect(textRect)) 130 | { 131 | [self.textField setHidden:YES]; 132 | } 133 | else 134 | { 135 | [self.textField setFrame:textRect]; 136 | [self.textField setHidden:NO]; 137 | } 138 | } 139 | 140 | #pragma mark - Keyboard 141 | 142 | - (void)cancelOperation:(id)sender 143 | { 144 | self.hasActivePanel = NO; 145 | } 146 | 147 | - (void)runSearch 148 | { 149 | NSString *searchFormat = @""; 150 | NSString *searchString = [self.searchField stringValue]; 151 | if ([searchString length] > 0) 152 | { 153 | searchFormat = NSLocalizedString(@"Search for ‘%@’…", @"Format for search request"); 154 | } 155 | NSString *searchRequest = [NSString stringWithFormat:searchFormat, searchString]; 156 | [self.textField setStringValue:searchRequest]; 157 | } 158 | 159 | #pragma mark - Public methods 160 | 161 | - (NSRect)statusRectForWindow:(NSWindow *)window 162 | { 163 | NSRect screenRect = [[[NSScreen screens] objectAtIndex:0] frame]; 164 | NSRect statusRect = NSZeroRect; 165 | 166 | StatusItemView *statusItemView = nil; 167 | if ([self.delegate respondsToSelector:@selector(statusItemViewForPanelController:)]) 168 | { 169 | statusItemView = [self.delegate statusItemViewForPanelController:self]; 170 | } 171 | 172 | if (statusItemView) 173 | { 174 | statusRect = statusItemView.globalRect; 175 | statusRect.origin.y = NSMinY(statusRect) - NSHeight(statusRect); 176 | } 177 | else 178 | { 179 | statusRect.size = NSMakeSize(STATUS_ITEM_VIEW_WIDTH, [[NSStatusBar systemStatusBar] thickness]); 180 | statusRect.origin.x = roundf((NSWidth(screenRect) - NSWidth(statusRect)) / 2); 181 | statusRect.origin.y = NSHeight(screenRect) - NSHeight(statusRect) * 2; 182 | } 183 | return statusRect; 184 | } 185 | 186 | - (void)openPanel 187 | { 188 | NSWindow *panel = [self window]; 189 | 190 | NSRect screenRect = [[[NSScreen screens] objectAtIndex:0] frame]; 191 | NSRect statusRect = [self statusRectForWindow:panel]; 192 | 193 | NSRect panelRect = [panel frame]; 194 | panelRect.size.width = PANEL_WIDTH; 195 | panelRect.size.height = POPUP_HEIGHT; 196 | panelRect.origin.x = roundf(NSMidX(statusRect) - NSWidth(panelRect) / 2); 197 | panelRect.origin.y = NSMaxY(statusRect) - NSHeight(panelRect); 198 | 199 | if (NSMaxX(panelRect) > (NSMaxX(screenRect) - ARROW_HEIGHT)) 200 | panelRect.origin.x -= NSMaxX(panelRect) - (NSMaxX(screenRect) - ARROW_HEIGHT); 201 | 202 | [NSApp activateIgnoringOtherApps:NO]; 203 | [panel setAlphaValue:0]; 204 | [panel setFrame:statusRect display:YES]; 205 | [panel makeKeyAndOrderFront:nil]; 206 | 207 | NSTimeInterval openDuration = OPEN_DURATION; 208 | 209 | NSEvent *currentEvent = [NSApp currentEvent]; 210 | if ([currentEvent type] == NSLeftMouseDown) 211 | { 212 | NSUInteger clearFlags = ([currentEvent modifierFlags] & NSDeviceIndependentModifierFlagsMask); 213 | BOOL shiftPressed = (clearFlags == NSShiftKeyMask); 214 | BOOL shiftOptionPressed = (clearFlags == (NSShiftKeyMask | NSAlternateKeyMask)); 215 | if (shiftPressed || shiftOptionPressed) 216 | { 217 | openDuration *= 10; 218 | 219 | if (shiftOptionPressed) 220 | NSLog(@"Icon is at %@\n\tMenu is on screen %@\n\tWill be animated to %@", 221 | NSStringFromRect(statusRect), NSStringFromRect(screenRect), NSStringFromRect(panelRect)); 222 | } 223 | } 224 | 225 | [NSAnimationContext beginGrouping]; 226 | [[NSAnimationContext currentContext] setDuration:openDuration]; 227 | [[panel animator] setFrame:panelRect display:YES]; 228 | [[panel animator] setAlphaValue:1]; 229 | [NSAnimationContext endGrouping]; 230 | 231 | [panel performSelector:@selector(makeFirstResponder:) withObject:self.searchField afterDelay:openDuration]; 232 | } 233 | 234 | - (void)closePanel 235 | { 236 | [NSAnimationContext beginGrouping]; 237 | [[NSAnimationContext currentContext] setDuration:CLOSE_DURATION]; 238 | [[[self window] animator] setAlphaValue:0]; 239 | [NSAnimationContext endGrouping]; 240 | 241 | dispatch_after(dispatch_walltime(NULL, NSEC_PER_SEC * CLOSE_DURATION * 2), dispatch_get_main_queue(), ^{ 242 | 243 | [self.window orderOut:nil]; 244 | }); 245 | } 246 | 247 | @end 248 | -------------------------------------------------------------------------------- /Popup/Popup-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.shpakovski.mac.popup 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 8 25 | LSApplicationCategoryType 26 | public.app-category.utilities 27 | LSMinimumSystemVersion 28 | ${MACOSX_DEPLOYMENT_TARGET} 29 | LSUIElement 30 | 31 | NSHumanReadableCopyright 32 | Copyright © 2011, 2012 Shpakovski 33 | NSMainNibFile 34 | MainMenu 35 | NSPrincipalClass 36 | NSApplication 37 | 38 | 39 | -------------------------------------------------------------------------------- /Popup/Popup-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Popup' target in the 'Popup' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | 7 | #import 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /Popup/Status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocoabits/Popup/62e265afdbb378c6fa818174d493c0688fc2ac17/Popup/Status.png -------------------------------------------------------------------------------- /Popup/Status@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocoabits/Popup/62e265afdbb378c6fa818174d493c0688fc2ac17/Popup/Status@2x.png -------------------------------------------------------------------------------- /Popup/StatusHighlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocoabits/Popup/62e265afdbb378c6fa818174d493c0688fc2ac17/Popup/StatusHighlighted.png -------------------------------------------------------------------------------- /Popup/StatusHighlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocoabits/Popup/62e265afdbb378c6fa818174d493c0688fc2ac17/Popup/StatusHighlighted@2x.png -------------------------------------------------------------------------------- /Popup/StatusItemView.h: -------------------------------------------------------------------------------- 1 | @interface StatusItemView : NSView { 2 | @private 3 | NSImage *_image; 4 | NSImage *_alternateImage; 5 | NSStatusItem *_statusItem; 6 | BOOL _isHighlighted; 7 | SEL _action; 8 | __unsafe_unretained id _target; 9 | } 10 | 11 | - (id)initWithStatusItem:(NSStatusItem *)statusItem; 12 | 13 | @property (nonatomic, strong, readonly) NSStatusItem *statusItem; 14 | @property (nonatomic, strong) NSImage *image; 15 | @property (nonatomic, strong) NSImage *alternateImage; 16 | @property (nonatomic, setter = setHighlighted:) BOOL isHighlighted; 17 | @property (nonatomic, readonly) NSRect globalRect; 18 | @property (nonatomic) SEL action; 19 | @property (nonatomic, unsafe_unretained) id target; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Popup/StatusItemView.m: -------------------------------------------------------------------------------- 1 | #import "StatusItemView.h" 2 | 3 | @implementation StatusItemView 4 | 5 | @synthesize statusItem = _statusItem; 6 | @synthesize image = _image; 7 | @synthesize alternateImage = _alternateImage; 8 | @synthesize isHighlighted = _isHighlighted; 9 | @synthesize action = _action; 10 | @synthesize target = _target; 11 | 12 | #pragma mark - 13 | 14 | - (id)initWithStatusItem:(NSStatusItem *)statusItem 15 | { 16 | CGFloat itemWidth = [statusItem length]; 17 | CGFloat itemHeight = [[NSStatusBar systemStatusBar] thickness]; 18 | NSRect itemRect = NSMakeRect(0.0, 0.0, itemWidth, itemHeight); 19 | self = [super initWithFrame:itemRect]; 20 | 21 | if (self != nil) { 22 | _statusItem = statusItem; 23 | _statusItem.view = self; 24 | } 25 | return self; 26 | } 27 | 28 | 29 | #pragma mark - 30 | 31 | - (void)drawRect:(NSRect)dirtyRect 32 | { 33 | // Set up dark mode for icon 34 | if ([[[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"] isEqual: @"Dark"]) 35 | { 36 | self.image = [NSImage imageNamed:@"StatusHighlighted"]; 37 | } 38 | else 39 | { 40 | if (self.isHighlighted) 41 | self.image = [NSImage imageNamed:@"StatusHighlighted"]; 42 | else 43 | self.image = [NSImage imageNamed:@"Status"]; 44 | } 45 | [self.statusItem drawStatusBarBackgroundInRect:dirtyRect withHighlight:self.isHighlighted]; 46 | 47 | NSImage *icon = self.image; 48 | NSSize iconSize = [icon size]; 49 | NSRect bounds = self.bounds; 50 | CGFloat iconX = roundf((NSWidth(bounds) - iconSize.width) / 2); 51 | CGFloat iconY = roundf((NSHeight(bounds) - iconSize.height) / 2); 52 | NSPoint iconPoint = NSMakePoint(iconX, iconY); 53 | 54 | [icon drawAtPoint:iconPoint fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0]; 55 | } 56 | 57 | #pragma mark - 58 | #pragma mark Mouse tracking 59 | 60 | - (void)mouseDown:(NSEvent *)theEvent 61 | { 62 | [NSApp sendAction:self.action to:self.target from:self]; 63 | } 64 | 65 | #pragma mark - 66 | #pragma mark Accessors 67 | 68 | - (void)setHighlighted:(BOOL)newFlag 69 | { 70 | if (_isHighlighted == newFlag) return; 71 | _isHighlighted = newFlag; 72 | [self setNeedsDisplay:YES]; 73 | } 74 | 75 | #pragma mark - 76 | 77 | - (void)setImage:(NSImage *)newImage 78 | { 79 | if (_image != newImage) { 80 | _image = newImage; 81 | [self setNeedsDisplay:YES]; 82 | } 83 | } 84 | 85 | - (void)setAlternateImage:(NSImage *)newImage 86 | { 87 | if (_alternateImage != newImage) { 88 | _alternateImage = newImage; 89 | if (self.isHighlighted) { 90 | [self setNeedsDisplay:YES]; 91 | } 92 | } 93 | } 94 | 95 | #pragma mark - 96 | 97 | - (NSRect)globalRect 98 | { 99 | NSRect frame = [self frame]; 100 | return [self.window convertRectToScreen:frame]; 101 | } 102 | @end 103 | -------------------------------------------------------------------------------- /Popup/en.lproj/MainMenu.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1070 5 | 11A511 6 | 1615 7 | 1138 8 | 566.00 9 | 10 | com.apple.InterfaceBuilder.CocoaPlugin 11 | 1615 12 | 13 | 14 | YES 15 | NSMenu 16 | NSMenuItem 17 | NSCustomObject 18 | 19 | 20 | YES 21 | com.apple.InterfaceBuilder.CocoaPlugin 22 | 23 | 24 | YES 25 | 26 | YES 27 | 28 | 29 | 30 | 31 | YES 32 | 33 | NSApplication 34 | 35 | 36 | FirstResponder 37 | 38 | 39 | NSApplication 40 | 41 | 42 | AMainMenu 43 | 44 | YES 45 | 46 | 47 | Popup 48 | 49 | 1048576 50 | 2147483647 51 | 52 | NSImage 53 | NSMenuCheckmark 54 | 55 | 56 | NSImage 57 | NSMenuMixedState 58 | 59 | submenuAction: 60 | 61 | Popup 62 | 63 | YES 64 | 65 | 66 | About Popup 67 | 68 | 2147483647 69 | 70 | 71 | 72 | 73 | 74 | YES 75 | YES 76 | 77 | 78 | 1048576 79 | 2147483647 80 | 81 | 82 | 83 | 84 | 85 | Preferences… 86 | , 87 | 1048576 88 | 2147483647 89 | 90 | 91 | 92 | 93 | 94 | YES 95 | YES 96 | 97 | 98 | 1048576 99 | 2147483647 100 | 101 | 102 | 103 | 104 | 105 | Services 106 | 107 | 1048576 108 | 2147483647 109 | 110 | 111 | submenuAction: 112 | 113 | Services 114 | 115 | YES 116 | 117 | _NSServicesMenu 118 | 119 | 120 | 121 | 122 | YES 123 | YES 124 | 125 | 126 | 1048576 127 | 2147483647 128 | 129 | 130 | 131 | 132 | 133 | Hide Popup 134 | h 135 | 1048576 136 | 2147483647 137 | 138 | 139 | 140 | 141 | 142 | Hide Others 143 | h 144 | 1572864 145 | 2147483647 146 | 147 | 148 | 149 | 150 | 151 | Show All 152 | 153 | 1048576 154 | 2147483647 155 | 156 | 157 | 158 | 159 | 160 | YES 161 | YES 162 | 163 | 164 | 1048576 165 | 2147483647 166 | 167 | 168 | 169 | 170 | 171 | Quit Popup 172 | q 173 | 1048576 174 | 2147483647 175 | 176 | 177 | 178 | 179 | _NSAppleMenu 180 | 181 | 182 | 183 | 184 | File 185 | 186 | 1048576 187 | 2147483647 188 | 189 | 190 | submenuAction: 191 | 192 | File 193 | 194 | YES 195 | 196 | 197 | New 198 | n 199 | 1048576 200 | 2147483647 201 | 202 | 203 | 204 | 205 | 206 | Open… 207 | o 208 | 1048576 209 | 2147483647 210 | 211 | 212 | 213 | 214 | 215 | Open Recent 216 | 217 | 1048576 218 | 2147483647 219 | 220 | 221 | submenuAction: 222 | 223 | Open Recent 224 | 225 | YES 226 | 227 | 228 | Clear Menu 229 | 230 | 1048576 231 | 2147483647 232 | 233 | 234 | 235 | 236 | _NSRecentDocumentsMenu 237 | 238 | 239 | 240 | 241 | YES 242 | YES 243 | 244 | 245 | 1048576 246 | 2147483647 247 | 248 | 249 | 250 | 251 | 252 | Close 253 | w 254 | 1048576 255 | 2147483647 256 | 257 | 258 | 259 | 260 | 261 | Save… 262 | s 263 | 1048576 264 | 2147483647 265 | 266 | 267 | 268 | 269 | 270 | Revert to Saved 271 | 272 | 2147483647 273 | 274 | 275 | 276 | 277 | 278 | YES 279 | YES 280 | 281 | 282 | 1048576 283 | 2147483647 284 | 285 | 286 | 287 | 288 | 289 | Page Setup... 290 | P 291 | 1179648 292 | 2147483647 293 | 294 | 295 | 296 | 297 | 298 | 299 | Print… 300 | p 301 | 1048576 302 | 2147483647 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | Edit 312 | 313 | 1048576 314 | 2147483647 315 | 316 | 317 | submenuAction: 318 | 319 | Edit 320 | 321 | YES 322 | 323 | 324 | Undo 325 | z 326 | 1048576 327 | 2147483647 328 | 329 | 330 | 331 | 332 | 333 | Redo 334 | Z 335 | 1179648 336 | 2147483647 337 | 338 | 339 | 340 | 341 | 342 | YES 343 | YES 344 | 345 | 346 | 1048576 347 | 2147483647 348 | 349 | 350 | 351 | 352 | 353 | Cut 354 | x 355 | 1048576 356 | 2147483647 357 | 358 | 359 | 360 | 361 | 362 | Copy 363 | c 364 | 1048576 365 | 2147483647 366 | 367 | 368 | 369 | 370 | 371 | Paste 372 | v 373 | 1048576 374 | 2147483647 375 | 376 | 377 | 378 | 379 | 380 | Paste and Match Style 381 | V 382 | 1572864 383 | 2147483647 384 | 385 | 386 | 387 | 388 | 389 | Delete 390 | 391 | 1048576 392 | 2147483647 393 | 394 | 395 | 396 | 397 | 398 | Select All 399 | a 400 | 1048576 401 | 2147483647 402 | 403 | 404 | 405 | 406 | 407 | YES 408 | YES 409 | 410 | 411 | 1048576 412 | 2147483647 413 | 414 | 415 | 416 | 417 | 418 | Find 419 | 420 | 1048576 421 | 2147483647 422 | 423 | 424 | submenuAction: 425 | 426 | Find 427 | 428 | YES 429 | 430 | 431 | Find… 432 | f 433 | 1048576 434 | 2147483647 435 | 436 | 437 | 1 438 | 439 | 440 | 441 | Find and Replace… 442 | f 443 | 1572864 444 | 2147483647 445 | 446 | 447 | 12 448 | 449 | 450 | 451 | Find Next 452 | g 453 | 1048576 454 | 2147483647 455 | 456 | 457 | 2 458 | 459 | 460 | 461 | Find Previous 462 | G 463 | 1179648 464 | 2147483647 465 | 466 | 467 | 3 468 | 469 | 470 | 471 | Use Selection for Find 472 | e 473 | 1048576 474 | 2147483647 475 | 476 | 477 | 7 478 | 479 | 480 | 481 | Jump to Selection 482 | j 483 | 1048576 484 | 2147483647 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | Spelling and Grammar 494 | 495 | 1048576 496 | 2147483647 497 | 498 | 499 | submenuAction: 500 | 501 | Spelling and Grammar 502 | 503 | YES 504 | 505 | 506 | Show Spelling and Grammar 507 | : 508 | 1048576 509 | 2147483647 510 | 511 | 512 | 513 | 514 | 515 | Check Document Now 516 | ; 517 | 1048576 518 | 2147483647 519 | 520 | 521 | 522 | 523 | 524 | YES 525 | YES 526 | 527 | 528 | 2147483647 529 | 530 | 531 | 532 | 533 | 534 | Check Spelling While Typing 535 | 536 | 1048576 537 | 2147483647 538 | 539 | 540 | 541 | 542 | 543 | Check Grammar With Spelling 544 | 545 | 1048576 546 | 2147483647 547 | 548 | 549 | 550 | 551 | 552 | Correct Spelling Automatically 553 | 554 | 2147483647 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | Substitutions 564 | 565 | 1048576 566 | 2147483647 567 | 568 | 569 | submenuAction: 570 | 571 | Substitutions 572 | 573 | YES 574 | 575 | 576 | Show Substitutions 577 | 578 | 2147483647 579 | 580 | 581 | 582 | 583 | 584 | YES 585 | YES 586 | 587 | 588 | 2147483647 589 | 590 | 591 | 592 | 593 | 594 | Smart Copy/Paste 595 | f 596 | 1048576 597 | 2147483647 598 | 599 | 600 | 1 601 | 602 | 603 | 604 | Smart Quotes 605 | g 606 | 1048576 607 | 2147483647 608 | 609 | 610 | 2 611 | 612 | 613 | 614 | Smart Dashes 615 | 616 | 2147483647 617 | 618 | 619 | 620 | 621 | 622 | Smart Links 623 | G 624 | 1179648 625 | 2147483647 626 | 627 | 628 | 3 629 | 630 | 631 | 632 | Text Replacement 633 | 634 | 2147483647 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | Transformations 644 | 645 | 2147483647 646 | 647 | 648 | submenuAction: 649 | 650 | Transformations 651 | 652 | YES 653 | 654 | 655 | Make Upper Case 656 | 657 | 2147483647 658 | 659 | 660 | 661 | 662 | 663 | Make Lower Case 664 | 665 | 2147483647 666 | 667 | 668 | 669 | 670 | 671 | Capitalize 672 | 673 | 2147483647 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | Speech 683 | 684 | 1048576 685 | 2147483647 686 | 687 | 688 | submenuAction: 689 | 690 | Speech 691 | 692 | YES 693 | 694 | 695 | Start Speaking 696 | 697 | 1048576 698 | 2147483647 699 | 700 | 701 | 702 | 703 | 704 | Stop Speaking 705 | 706 | 1048576 707 | 2147483647 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | Format 720 | 721 | 2147483647 722 | 723 | 724 | submenuAction: 725 | 726 | Format 727 | 728 | YES 729 | 730 | 731 | Font 732 | 733 | 2147483647 734 | 735 | 736 | submenuAction: 737 | 738 | Font 739 | 740 | YES 741 | 742 | 743 | Show Fonts 744 | t 745 | 1048576 746 | 2147483647 747 | 748 | 749 | 750 | 751 | 752 | Bold 753 | b 754 | 1048576 755 | 2147483647 756 | 757 | 758 | 2 759 | 760 | 761 | 762 | Italic 763 | i 764 | 1048576 765 | 2147483647 766 | 767 | 768 | 1 769 | 770 | 771 | 772 | Underline 773 | u 774 | 1048576 775 | 2147483647 776 | 777 | 778 | 779 | 780 | 781 | YES 782 | YES 783 | 784 | 785 | 2147483647 786 | 787 | 788 | 789 | 790 | 791 | Bigger 792 | + 793 | 1048576 794 | 2147483647 795 | 796 | 797 | 3 798 | 799 | 800 | 801 | Smaller 802 | - 803 | 1048576 804 | 2147483647 805 | 806 | 807 | 4 808 | 809 | 810 | 811 | YES 812 | YES 813 | 814 | 815 | 2147483647 816 | 817 | 818 | 819 | 820 | 821 | Kern 822 | 823 | 2147483647 824 | 825 | 826 | submenuAction: 827 | 828 | Kern 829 | 830 | YES 831 | 832 | 833 | Use Default 834 | 835 | 2147483647 836 | 837 | 838 | 839 | 840 | 841 | Use None 842 | 843 | 2147483647 844 | 845 | 846 | 847 | 848 | 849 | Tighten 850 | 851 | 2147483647 852 | 853 | 854 | 855 | 856 | 857 | Loosen 858 | 859 | 2147483647 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | Ligature 869 | 870 | 2147483647 871 | 872 | 873 | submenuAction: 874 | 875 | Ligature 876 | 877 | YES 878 | 879 | 880 | Use Default 881 | 882 | 2147483647 883 | 884 | 885 | 886 | 887 | 888 | Use None 889 | 890 | 2147483647 891 | 892 | 893 | 894 | 895 | 896 | Use All 897 | 898 | 2147483647 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | Baseline 908 | 909 | 2147483647 910 | 911 | 912 | submenuAction: 913 | 914 | Baseline 915 | 916 | YES 917 | 918 | 919 | Use Default 920 | 921 | 2147483647 922 | 923 | 924 | 925 | 926 | 927 | Superscript 928 | 929 | 2147483647 930 | 931 | 932 | 933 | 934 | 935 | Subscript 936 | 937 | 2147483647 938 | 939 | 940 | 941 | 942 | 943 | Raise 944 | 945 | 2147483647 946 | 947 | 948 | 949 | 950 | 951 | Lower 952 | 953 | 2147483647 954 | 955 | 956 | 957 | 958 | 959 | 960 | 961 | 962 | YES 963 | YES 964 | 965 | 966 | 2147483647 967 | 968 | 969 | 970 | 971 | 972 | Show Colors 973 | C 974 | 1048576 975 | 2147483647 976 | 977 | 978 | 979 | 980 | 981 | YES 982 | YES 983 | 984 | 985 | 2147483647 986 | 987 | 988 | 989 | 990 | 991 | Copy Style 992 | c 993 | 1572864 994 | 2147483647 995 | 996 | 997 | 998 | 999 | 1000 | Paste Style 1001 | v 1002 | 1572864 1003 | 2147483647 1004 | 1005 | 1006 | 1007 | 1008 | _NSFontMenu 1009 | 1010 | 1011 | 1012 | 1013 | Text 1014 | 1015 | 2147483647 1016 | 1017 | 1018 | submenuAction: 1019 | 1020 | Text 1021 | 1022 | YES 1023 | 1024 | 1025 | Align Left 1026 | { 1027 | 1048576 1028 | 2147483647 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | Center 1035 | | 1036 | 1048576 1037 | 2147483647 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | Justify 1044 | 1045 | 2147483647 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | Align Right 1052 | } 1053 | 1048576 1054 | 2147483647 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | YES 1061 | YES 1062 | 1063 | 1064 | 2147483647 1065 | 1066 | 1067 | 1068 | 1069 | 1070 | Writing Direction 1071 | 1072 | 2147483647 1073 | 1074 | 1075 | submenuAction: 1076 | 1077 | Writing Direction 1078 | 1079 | YES 1080 | 1081 | 1082 | YES 1083 | Paragraph 1084 | 1085 | 2147483647 1086 | 1087 | 1088 | 1089 | 1090 | 1091 | CURlZmF1bHQ 1092 | 1093 | 2147483647 1094 | 1095 | 1096 | 1097 | 1098 | 1099 | CUxlZnQgdG8gUmlnaHQ 1100 | 1101 | 2147483647 1102 | 1103 | 1104 | 1105 | 1106 | 1107 | CVJpZ2h0IHRvIExlZnQ 1108 | 1109 | 2147483647 1110 | 1111 | 1112 | 1113 | 1114 | 1115 | YES 1116 | YES 1117 | 1118 | 1119 | 2147483647 1120 | 1121 | 1122 | 1123 | 1124 | 1125 | YES 1126 | Selection 1127 | 1128 | 2147483647 1129 | 1130 | 1131 | 1132 | 1133 | 1134 | CURlZmF1bHQ 1135 | 1136 | 2147483647 1137 | 1138 | 1139 | 1140 | 1141 | 1142 | CUxlZnQgdG8gUmlnaHQ 1143 | 1144 | 2147483647 1145 | 1146 | 1147 | 1148 | 1149 | 1150 | CVJpZ2h0IHRvIExlZnQ 1151 | 1152 | 2147483647 1153 | 1154 | 1155 | 1156 | 1157 | 1158 | 1159 | 1160 | 1161 | YES 1162 | YES 1163 | 1164 | 1165 | 2147483647 1166 | 1167 | 1168 | 1169 | 1170 | 1171 | Show Ruler 1172 | 1173 | 2147483647 1174 | 1175 | 1176 | 1177 | 1178 | 1179 | Copy Ruler 1180 | c 1181 | 1310720 1182 | 2147483647 1183 | 1184 | 1185 | 1186 | 1187 | 1188 | Paste Ruler 1189 | v 1190 | 1310720 1191 | 2147483647 1192 | 1193 | 1194 | 1195 | 1196 | 1197 | 1198 | 1199 | 1200 | 1201 | 1202 | 1203 | View 1204 | 1205 | 1048576 1206 | 2147483647 1207 | 1208 | 1209 | submenuAction: 1210 | 1211 | View 1212 | 1213 | YES 1214 | 1215 | 1216 | Show Toolbar 1217 | t 1218 | 1572864 1219 | 2147483647 1220 | 1221 | 1222 | 1223 | 1224 | 1225 | Customize Toolbar… 1226 | 1227 | 1048576 1228 | 2147483647 1229 | 1230 | 1231 | 1232 | 1233 | 1234 | 1235 | 1236 | 1237 | Window 1238 | 1239 | 1048576 1240 | 2147483647 1241 | 1242 | 1243 | submenuAction: 1244 | 1245 | Window 1246 | 1247 | YES 1248 | 1249 | 1250 | Minimize 1251 | m 1252 | 1048576 1253 | 2147483647 1254 | 1255 | 1256 | 1257 | 1258 | 1259 | Zoom 1260 | 1261 | 1048576 1262 | 2147483647 1263 | 1264 | 1265 | 1266 | 1267 | 1268 | YES 1269 | YES 1270 | 1271 | 1272 | 1048576 1273 | 2147483647 1274 | 1275 | 1276 | 1277 | 1278 | 1279 | Bring All to Front 1280 | 1281 | 1048576 1282 | 2147483647 1283 | 1284 | 1285 | 1286 | 1287 | _NSWindowsMenu 1288 | 1289 | 1290 | 1291 | 1292 | Help 1293 | 1294 | 2147483647 1295 | 1296 | 1297 | submenuAction: 1298 | 1299 | Help 1300 | 1301 | YES 1302 | 1303 | 1304 | Popup Help 1305 | ? 1306 | 1048576 1307 | 2147483647 1308 | 1309 | 1310 | 1311 | 1312 | _NSHelpMenu 1313 | 1314 | 1315 | 1316 | _NSMainMenu 1317 | 1318 | 1319 | ApplicationDelegate 1320 | 1321 | 1322 | NSFontManager 1323 | 1324 | 1325 | 1326 | 1327 | YES 1328 | 1329 | 1330 | performMiniaturize: 1331 | 1332 | 1333 | 1334 | 37 1335 | 1336 | 1337 | 1338 | arrangeInFront: 1339 | 1340 | 1341 | 1342 | 39 1343 | 1344 | 1345 | 1346 | print: 1347 | 1348 | 1349 | 1350 | 86 1351 | 1352 | 1353 | 1354 | runPageLayout: 1355 | 1356 | 1357 | 1358 | 87 1359 | 1360 | 1361 | 1362 | clearRecentDocuments: 1363 | 1364 | 1365 | 1366 | 127 1367 | 1368 | 1369 | 1370 | orderFrontStandardAboutPanel: 1371 | 1372 | 1373 | 1374 | 142 1375 | 1376 | 1377 | 1378 | performClose: 1379 | 1380 | 1381 | 1382 | 193 1383 | 1384 | 1385 | 1386 | toggleContinuousSpellChecking: 1387 | 1388 | 1389 | 1390 | 222 1391 | 1392 | 1393 | 1394 | undo: 1395 | 1396 | 1397 | 1398 | 223 1399 | 1400 | 1401 | 1402 | copy: 1403 | 1404 | 1405 | 1406 | 224 1407 | 1408 | 1409 | 1410 | checkSpelling: 1411 | 1412 | 1413 | 1414 | 225 1415 | 1416 | 1417 | 1418 | paste: 1419 | 1420 | 1421 | 1422 | 226 1423 | 1424 | 1425 | 1426 | stopSpeaking: 1427 | 1428 | 1429 | 1430 | 227 1431 | 1432 | 1433 | 1434 | cut: 1435 | 1436 | 1437 | 1438 | 228 1439 | 1440 | 1441 | 1442 | showGuessPanel: 1443 | 1444 | 1445 | 1446 | 230 1447 | 1448 | 1449 | 1450 | redo: 1451 | 1452 | 1453 | 1454 | 231 1455 | 1456 | 1457 | 1458 | selectAll: 1459 | 1460 | 1461 | 1462 | 232 1463 | 1464 | 1465 | 1466 | startSpeaking: 1467 | 1468 | 1469 | 1470 | 233 1471 | 1472 | 1473 | 1474 | delete: 1475 | 1476 | 1477 | 1478 | 235 1479 | 1480 | 1481 | 1482 | performZoom: 1483 | 1484 | 1485 | 1486 | 240 1487 | 1488 | 1489 | 1490 | performFindPanelAction: 1491 | 1492 | 1493 | 1494 | 241 1495 | 1496 | 1497 | 1498 | centerSelectionInVisibleArea: 1499 | 1500 | 1501 | 1502 | 245 1503 | 1504 | 1505 | 1506 | toggleGrammarChecking: 1507 | 1508 | 1509 | 1510 | 347 1511 | 1512 | 1513 | 1514 | toggleSmartInsertDelete: 1515 | 1516 | 1517 | 1518 | 355 1519 | 1520 | 1521 | 1522 | toggleAutomaticQuoteSubstitution: 1523 | 1524 | 1525 | 1526 | 356 1527 | 1528 | 1529 | 1530 | toggleAutomaticLinkDetection: 1531 | 1532 | 1533 | 1534 | 357 1535 | 1536 | 1537 | 1538 | saveDocument: 1539 | 1540 | 1541 | 1542 | 362 1543 | 1544 | 1545 | 1546 | revertDocumentToSaved: 1547 | 1548 | 1549 | 1550 | 364 1551 | 1552 | 1553 | 1554 | runToolbarCustomizationPalette: 1555 | 1556 | 1557 | 1558 | 365 1559 | 1560 | 1561 | 1562 | toggleToolbarShown: 1563 | 1564 | 1565 | 1566 | 366 1567 | 1568 | 1569 | 1570 | hide: 1571 | 1572 | 1573 | 1574 | 367 1575 | 1576 | 1577 | 1578 | hideOtherApplications: 1579 | 1580 | 1581 | 1582 | 368 1583 | 1584 | 1585 | 1586 | unhideAllApplications: 1587 | 1588 | 1589 | 1590 | 370 1591 | 1592 | 1593 | 1594 | newDocument: 1595 | 1596 | 1597 | 1598 | 373 1599 | 1600 | 1601 | 1602 | openDocument: 1603 | 1604 | 1605 | 1606 | 374 1607 | 1608 | 1609 | 1610 | addFontTrait: 1611 | 1612 | 1613 | 1614 | 421 1615 | 1616 | 1617 | 1618 | addFontTrait: 1619 | 1620 | 1621 | 1622 | 422 1623 | 1624 | 1625 | 1626 | modifyFont: 1627 | 1628 | 1629 | 1630 | 423 1631 | 1632 | 1633 | 1634 | orderFrontFontPanel: 1635 | 1636 | 1637 | 1638 | 424 1639 | 1640 | 1641 | 1642 | modifyFont: 1643 | 1644 | 1645 | 1646 | 425 1647 | 1648 | 1649 | 1650 | raiseBaseline: 1651 | 1652 | 1653 | 1654 | 426 1655 | 1656 | 1657 | 1658 | lowerBaseline: 1659 | 1660 | 1661 | 1662 | 427 1663 | 1664 | 1665 | 1666 | copyFont: 1667 | 1668 | 1669 | 1670 | 428 1671 | 1672 | 1673 | 1674 | subscript: 1675 | 1676 | 1677 | 1678 | 429 1679 | 1680 | 1681 | 1682 | superscript: 1683 | 1684 | 1685 | 1686 | 430 1687 | 1688 | 1689 | 1690 | tightenKerning: 1691 | 1692 | 1693 | 1694 | 431 1695 | 1696 | 1697 | 1698 | underline: 1699 | 1700 | 1701 | 1702 | 432 1703 | 1704 | 1705 | 1706 | orderFrontColorPanel: 1707 | 1708 | 1709 | 1710 | 433 1711 | 1712 | 1713 | 1714 | useAllLigatures: 1715 | 1716 | 1717 | 1718 | 434 1719 | 1720 | 1721 | 1722 | loosenKerning: 1723 | 1724 | 1725 | 1726 | 435 1727 | 1728 | 1729 | 1730 | pasteFont: 1731 | 1732 | 1733 | 1734 | 436 1735 | 1736 | 1737 | 1738 | unscript: 1739 | 1740 | 1741 | 1742 | 437 1743 | 1744 | 1745 | 1746 | useStandardKerning: 1747 | 1748 | 1749 | 1750 | 438 1751 | 1752 | 1753 | 1754 | useStandardLigatures: 1755 | 1756 | 1757 | 1758 | 439 1759 | 1760 | 1761 | 1762 | turnOffLigatures: 1763 | 1764 | 1765 | 1766 | 440 1767 | 1768 | 1769 | 1770 | turnOffKerning: 1771 | 1772 | 1773 | 1774 | 441 1775 | 1776 | 1777 | 1778 | terminate: 1779 | 1780 | 1781 | 1782 | 449 1783 | 1784 | 1785 | 1786 | toggleAutomaticSpellingCorrection: 1787 | 1788 | 1789 | 1790 | 456 1791 | 1792 | 1793 | 1794 | orderFrontSubstitutionsPanel: 1795 | 1796 | 1797 | 1798 | 458 1799 | 1800 | 1801 | 1802 | toggleAutomaticDashSubstitution: 1803 | 1804 | 1805 | 1806 | 461 1807 | 1808 | 1809 | 1810 | toggleAutomaticTextReplacement: 1811 | 1812 | 1813 | 1814 | 463 1815 | 1816 | 1817 | 1818 | uppercaseWord: 1819 | 1820 | 1821 | 1822 | 464 1823 | 1824 | 1825 | 1826 | capitalizeWord: 1827 | 1828 | 1829 | 1830 | 467 1831 | 1832 | 1833 | 1834 | lowercaseWord: 1835 | 1836 | 1837 | 1838 | 468 1839 | 1840 | 1841 | 1842 | pasteAsPlainText: 1843 | 1844 | 1845 | 1846 | 486 1847 | 1848 | 1849 | 1850 | performFindPanelAction: 1851 | 1852 | 1853 | 1854 | 487 1855 | 1856 | 1857 | 1858 | performFindPanelAction: 1859 | 1860 | 1861 | 1862 | 488 1863 | 1864 | 1865 | 1866 | performFindPanelAction: 1867 | 1868 | 1869 | 1870 | 489 1871 | 1872 | 1873 | 1874 | showHelp: 1875 | 1876 | 1877 | 1878 | 493 1879 | 1880 | 1881 | 1882 | delegate 1883 | 1884 | 1885 | 1886 | 495 1887 | 1888 | 1889 | 1890 | alignCenter: 1891 | 1892 | 1893 | 1894 | 518 1895 | 1896 | 1897 | 1898 | pasteRuler: 1899 | 1900 | 1901 | 1902 | 519 1903 | 1904 | 1905 | 1906 | toggleRuler: 1907 | 1908 | 1909 | 1910 | 520 1911 | 1912 | 1913 | 1914 | alignRight: 1915 | 1916 | 1917 | 1918 | 521 1919 | 1920 | 1921 | 1922 | copyRuler: 1923 | 1924 | 1925 | 1926 | 522 1927 | 1928 | 1929 | 1930 | alignJustified: 1931 | 1932 | 1933 | 1934 | 523 1935 | 1936 | 1937 | 1938 | alignLeft: 1939 | 1940 | 1941 | 1942 | 524 1943 | 1944 | 1945 | 1946 | makeBaseWritingDirectionNatural: 1947 | 1948 | 1949 | 1950 | 525 1951 | 1952 | 1953 | 1954 | makeBaseWritingDirectionLeftToRight: 1955 | 1956 | 1957 | 1958 | 526 1959 | 1960 | 1961 | 1962 | makeBaseWritingDirectionRightToLeft: 1963 | 1964 | 1965 | 1966 | 527 1967 | 1968 | 1969 | 1970 | makeTextWritingDirectionNatural: 1971 | 1972 | 1973 | 1974 | 528 1975 | 1976 | 1977 | 1978 | makeTextWritingDirectionLeftToRight: 1979 | 1980 | 1981 | 1982 | 529 1983 | 1984 | 1985 | 1986 | makeTextWritingDirectionRightToLeft: 1987 | 1988 | 1989 | 1990 | 530 1991 | 1992 | 1993 | 1994 | performFindPanelAction: 1995 | 1996 | 1997 | 1998 | 535 1999 | 2000 | 2001 | 2002 | 2003 | YES 2004 | 2005 | 0 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | -2 2012 | 2013 | 2014 | File's Owner 2015 | 2016 | 2017 | -1 2018 | 2019 | 2020 | First Responder 2021 | 2022 | 2023 | -3 2024 | 2025 | 2026 | Application 2027 | 2028 | 2029 | 29 2030 | 2031 | 2032 | YES 2033 | 2034 | 2035 | 2036 | 2037 | 2038 | 2039 | 2040 | 2041 | 2042 | 2043 | 2044 | 19 2045 | 2046 | 2047 | YES 2048 | 2049 | 2050 | 2051 | 2052 | 2053 | 56 2054 | 2055 | 2056 | YES 2057 | 2058 | 2059 | 2060 | 2061 | 2062 | 217 2063 | 2064 | 2065 | YES 2066 | 2067 | 2068 | 2069 | 2070 | 2071 | 83 2072 | 2073 | 2074 | YES 2075 | 2076 | 2077 | 2078 | 2079 | 2080 | 81 2081 | 2082 | 2083 | YES 2084 | 2085 | 2086 | 2087 | 2088 | 2089 | 2090 | 2091 | 2092 | 2093 | 2094 | 2095 | 2096 | 2097 | 2098 | 75 2099 | 2100 | 2101 | 2102 | 2103 | 78 2104 | 2105 | 2106 | 2107 | 2108 | 72 2109 | 2110 | 2111 | 2112 | 2113 | 82 2114 | 2115 | 2116 | 2117 | 2118 | 124 2119 | 2120 | 2121 | YES 2122 | 2123 | 2124 | 2125 | 2126 | 2127 | 77 2128 | 2129 | 2130 | 2131 | 2132 | 73 2133 | 2134 | 2135 | 2136 | 2137 | 79 2138 | 2139 | 2140 | 2141 | 2142 | 112 2143 | 2144 | 2145 | 2146 | 2147 | 74 2148 | 2149 | 2150 | 2151 | 2152 | 125 2153 | 2154 | 2155 | YES 2156 | 2157 | 2158 | 2159 | 2160 | 2161 | 126 2162 | 2163 | 2164 | 2165 | 2166 | 205 2167 | 2168 | 2169 | YES 2170 | 2171 | 2172 | 2173 | 2174 | 2175 | 2176 | 2177 | 2178 | 2179 | 2180 | 2181 | 2182 | 2183 | 2184 | 2185 | 2186 | 2187 | 2188 | 2189 | 202 2190 | 2191 | 2192 | 2193 | 2194 | 198 2195 | 2196 | 2197 | 2198 | 2199 | 207 2200 | 2201 | 2202 | 2203 | 2204 | 214 2205 | 2206 | 2207 | 2208 | 2209 | 199 2210 | 2211 | 2212 | 2213 | 2214 | 203 2215 | 2216 | 2217 | 2218 | 2219 | 197 2220 | 2221 | 2222 | 2223 | 2224 | 206 2225 | 2226 | 2227 | 2228 | 2229 | 215 2230 | 2231 | 2232 | 2233 | 2234 | 218 2235 | 2236 | 2237 | YES 2238 | 2239 | 2240 | 2241 | 2242 | 2243 | 216 2244 | 2245 | 2246 | YES 2247 | 2248 | 2249 | 2250 | 2251 | 2252 | 200 2253 | 2254 | 2255 | YES 2256 | 2257 | 2258 | 2259 | 2260 | 2261 | 2262 | 2263 | 2264 | 2265 | 2266 | 219 2267 | 2268 | 2269 | 2270 | 2271 | 201 2272 | 2273 | 2274 | 2275 | 2276 | 204 2277 | 2278 | 2279 | 2280 | 2281 | 220 2282 | 2283 | 2284 | YES 2285 | 2286 | 2287 | 2288 | 2289 | 2290 | 2291 | 2292 | 2293 | 2294 | 2295 | 213 2296 | 2297 | 2298 | 2299 | 2300 | 210 2301 | 2302 | 2303 | 2304 | 2305 | 221 2306 | 2307 | 2308 | 2309 | 2310 | 208 2311 | 2312 | 2313 | 2314 | 2315 | 209 2316 | 2317 | 2318 | 2319 | 2320 | 57 2321 | 2322 | 2323 | YES 2324 | 2325 | 2326 | 2327 | 2328 | 2329 | 2330 | 2331 | 2332 | 2333 | 2334 | 2335 | 2336 | 2337 | 2338 | 2339 | 58 2340 | 2341 | 2342 | 2343 | 2344 | 134 2345 | 2346 | 2347 | 2348 | 2349 | 150 2350 | 2351 | 2352 | 2353 | 2354 | 136 2355 | 2356 | 2357 | 2358 | 2359 | 144 2360 | 2361 | 2362 | 2363 | 2364 | 129 2365 | 2366 | 2367 | 2368 | 2369 | 143 2370 | 2371 | 2372 | 2373 | 2374 | 236 2375 | 2376 | 2377 | 2378 | 2379 | 131 2380 | 2381 | 2382 | YES 2383 | 2384 | 2385 | 2386 | 2387 | 2388 | 149 2389 | 2390 | 2391 | 2392 | 2393 | 145 2394 | 2395 | 2396 | 2397 | 2398 | 130 2399 | 2400 | 2401 | 2402 | 2403 | 24 2404 | 2405 | 2406 | YES 2407 | 2408 | 2409 | 2410 | 2411 | 2412 | 2413 | 2414 | 2415 | 92 2416 | 2417 | 2418 | 2419 | 2420 | 5 2421 | 2422 | 2423 | 2424 | 2425 | 239 2426 | 2427 | 2428 | 2429 | 2430 | 23 2431 | 2432 | 2433 | 2434 | 2435 | 295 2436 | 2437 | 2438 | YES 2439 | 2440 | 2441 | 2442 | 2443 | 2444 | 296 2445 | 2446 | 2447 | YES 2448 | 2449 | 2450 | 2451 | 2452 | 2453 | 2454 | 297 2455 | 2456 | 2457 | 2458 | 2459 | 298 2460 | 2461 | 2462 | 2463 | 2464 | 211 2465 | 2466 | 2467 | YES 2468 | 2469 | 2470 | 2471 | 2472 | 2473 | 212 2474 | 2475 | 2476 | YES 2477 | 2478 | 2479 | 2480 | 2481 | 2482 | 2483 | 195 2484 | 2485 | 2486 | 2487 | 2488 | 196 2489 | 2490 | 2491 | 2492 | 2493 | 346 2494 | 2495 | 2496 | 2497 | 2498 | 348 2499 | 2500 | 2501 | YES 2502 | 2503 | 2504 | 2505 | 2506 | 2507 | 349 2508 | 2509 | 2510 | YES 2511 | 2512 | 2513 | 2514 | 2515 | 2516 | 2517 | 2518 | 2519 | 2520 | 2521 | 2522 | 350 2523 | 2524 | 2525 | 2526 | 2527 | 351 2528 | 2529 | 2530 | 2531 | 2532 | 354 2533 | 2534 | 2535 | 2536 | 2537 | 375 2538 | 2539 | 2540 | YES 2541 | 2542 | 2543 | 2544 | 2545 | 2546 | 376 2547 | 2548 | 2549 | YES 2550 | 2551 | 2552 | 2553 | 2554 | 2555 | 2556 | 377 2557 | 2558 | 2559 | YES 2560 | 2561 | 2562 | 2563 | 2564 | 2565 | 388 2566 | 2567 | 2568 | YES 2569 | 2570 | 2571 | 2572 | 2573 | 2574 | 2575 | 2576 | 2577 | 2578 | 2579 | 2580 | 2581 | 2582 | 2583 | 2584 | 2585 | 2586 | 2587 | 2588 | 2589 | 389 2590 | 2591 | 2592 | 2593 | 2594 | 390 2595 | 2596 | 2597 | 2598 | 2599 | 391 2600 | 2601 | 2602 | 2603 | 2604 | 392 2605 | 2606 | 2607 | 2608 | 2609 | 393 2610 | 2611 | 2612 | 2613 | 2614 | 394 2615 | 2616 | 2617 | 2618 | 2619 | 395 2620 | 2621 | 2622 | 2623 | 2624 | 396 2625 | 2626 | 2627 | 2628 | 2629 | 397 2630 | 2631 | 2632 | YES 2633 | 2634 | 2635 | 2636 | 2637 | 2638 | 398 2639 | 2640 | 2641 | YES 2642 | 2643 | 2644 | 2645 | 2646 | 2647 | 399 2648 | 2649 | 2650 | YES 2651 | 2652 | 2653 | 2654 | 2655 | 2656 | 400 2657 | 2658 | 2659 | 2660 | 2661 | 401 2662 | 2663 | 2664 | 2665 | 2666 | 402 2667 | 2668 | 2669 | 2670 | 2671 | 403 2672 | 2673 | 2674 | 2675 | 2676 | 404 2677 | 2678 | 2679 | 2680 | 2681 | 405 2682 | 2683 | 2684 | YES 2685 | 2686 | 2687 | 2688 | 2689 | 2690 | 2691 | 2692 | 2693 | 2694 | 406 2695 | 2696 | 2697 | 2698 | 2699 | 407 2700 | 2701 | 2702 | 2703 | 2704 | 408 2705 | 2706 | 2707 | 2708 | 2709 | 409 2710 | 2711 | 2712 | 2713 | 2714 | 410 2715 | 2716 | 2717 | 2718 | 2719 | 411 2720 | 2721 | 2722 | YES 2723 | 2724 | 2725 | 2726 | 2727 | 2728 | 2729 | 2730 | 412 2731 | 2732 | 2733 | 2734 | 2735 | 413 2736 | 2737 | 2738 | 2739 | 2740 | 414 2741 | 2742 | 2743 | 2744 | 2745 | 415 2746 | 2747 | 2748 | YES 2749 | 2750 | 2751 | 2752 | 2753 | 2754 | 2755 | 2756 | 2757 | 416 2758 | 2759 | 2760 | 2761 | 2762 | 417 2763 | 2764 | 2765 | 2766 | 2767 | 418 2768 | 2769 | 2770 | 2771 | 2772 | 419 2773 | 2774 | 2775 | 2776 | 2777 | 420 2778 | 2779 | 2780 | 2781 | 2782 | 450 2783 | 2784 | 2785 | YES 2786 | 2787 | 2788 | 2789 | 2790 | 2791 | 451 2792 | 2793 | 2794 | YES 2795 | 2796 | 2797 | 2798 | 2799 | 2800 | 2801 | 2802 | 452 2803 | 2804 | 2805 | 2806 | 2807 | 453 2808 | 2809 | 2810 | 2811 | 2812 | 454 2813 | 2814 | 2815 | 2816 | 2817 | 457 2818 | 2819 | 2820 | 2821 | 2822 | 459 2823 | 2824 | 2825 | 2826 | 2827 | 460 2828 | 2829 | 2830 | 2831 | 2832 | 462 2833 | 2834 | 2835 | 2836 | 2837 | 465 2838 | 2839 | 2840 | 2841 | 2842 | 466 2843 | 2844 | 2845 | 2846 | 2847 | 485 2848 | 2849 | 2850 | 2851 | 2852 | 490 2853 | 2854 | 2855 | YES 2856 | 2857 | 2858 | 2859 | 2860 | 2861 | 491 2862 | 2863 | 2864 | YES 2865 | 2866 | 2867 | 2868 | 2869 | 2870 | 492 2871 | 2872 | 2873 | 2874 | 2875 | 494 2876 | 2877 | 2878 | 2879 | 2880 | 496 2881 | 2882 | 2883 | YES 2884 | 2885 | 2886 | 2887 | 2888 | 2889 | 497 2890 | 2891 | 2892 | YES 2893 | 2894 | 2895 | 2896 | 2897 | 2898 | 2899 | 2900 | 2901 | 2902 | 2903 | 2904 | 2905 | 2906 | 2907 | 498 2908 | 2909 | 2910 | 2911 | 2912 | 499 2913 | 2914 | 2915 | 2916 | 2917 | 500 2918 | 2919 | 2920 | 2921 | 2922 | 501 2923 | 2924 | 2925 | 2926 | 2927 | 502 2928 | 2929 | 2930 | 2931 | 2932 | 503 2933 | 2934 | 2935 | YES 2936 | 2937 | 2938 | 2939 | 2940 | 2941 | 504 2942 | 2943 | 2944 | 2945 | 2946 | 505 2947 | 2948 | 2949 | 2950 | 2951 | 506 2952 | 2953 | 2954 | 2955 | 2956 | 507 2957 | 2958 | 2959 | 2960 | 2961 | 508 2962 | 2963 | 2964 | YES 2965 | 2966 | 2967 | 2968 | 2969 | 2970 | 2971 | 2972 | 2973 | 2974 | 2975 | 2976 | 2977 | 2978 | 509 2979 | 2980 | 2981 | 2982 | 2983 | 510 2984 | 2985 | 2986 | 2987 | 2988 | 511 2989 | 2990 | 2991 | 2992 | 2993 | 512 2994 | 2995 | 2996 | 2997 | 2998 | 513 2999 | 3000 | 3001 | 3002 | 3003 | 514 3004 | 3005 | 3006 | 3007 | 3008 | 515 3009 | 3010 | 3011 | 3012 | 3013 | 516 3014 | 3015 | 3016 | 3017 | 3018 | 517 3019 | 3020 | 3021 | 3022 | 3023 | 534 3024 | 3025 | 3026 | 3027 | 3028 | 3029 | 3030 | YES 3031 | 3032 | YES 3033 | -1.IBPluginDependency 3034 | -2.IBPluginDependency 3035 | -3.IBPluginDependency 3036 | 112.IBPluginDependency 3037 | 124.IBPluginDependency 3038 | 125.IBPluginDependency 3039 | 126.IBPluginDependency 3040 | 129.IBPluginDependency 3041 | 130.IBPluginDependency 3042 | 131.IBPluginDependency 3043 | 134.IBPluginDependency 3044 | 136.IBPluginDependency 3045 | 143.IBPluginDependency 3046 | 144.IBPluginDependency 3047 | 145.IBPluginDependency 3048 | 149.IBPluginDependency 3049 | 150.IBPluginDependency 3050 | 19.IBPluginDependency 3051 | 195.IBPluginDependency 3052 | 196.IBPluginDependency 3053 | 197.IBPluginDependency 3054 | 198.IBPluginDependency 3055 | 199.IBPluginDependency 3056 | 200.IBPluginDependency 3057 | 201.IBPluginDependency 3058 | 202.IBPluginDependency 3059 | 203.IBPluginDependency 3060 | 204.IBPluginDependency 3061 | 205.IBPluginDependency 3062 | 206.IBPluginDependency 3063 | 207.IBPluginDependency 3064 | 208.IBPluginDependency 3065 | 209.IBPluginDependency 3066 | 210.IBPluginDependency 3067 | 211.IBPluginDependency 3068 | 212.IBPluginDependency 3069 | 213.IBPluginDependency 3070 | 214.IBPluginDependency 3071 | 215.IBPluginDependency 3072 | 216.IBPluginDependency 3073 | 217.IBPluginDependency 3074 | 218.IBPluginDependency 3075 | 219.IBPluginDependency 3076 | 220.IBPluginDependency 3077 | 221.IBPluginDependency 3078 | 23.IBPluginDependency 3079 | 236.IBPluginDependency 3080 | 239.IBPluginDependency 3081 | 24.IBPluginDependency 3082 | 29.IBPluginDependency 3083 | 295.IBPluginDependency 3084 | 296.IBPluginDependency 3085 | 297.IBPluginDependency 3086 | 298.IBPluginDependency 3087 | 346.IBPluginDependency 3088 | 348.IBPluginDependency 3089 | 349.IBPluginDependency 3090 | 350.IBPluginDependency 3091 | 351.IBPluginDependency 3092 | 354.IBPluginDependency 3093 | 375.IBPluginDependency 3094 | 376.IBPluginDependency 3095 | 377.IBPluginDependency 3096 | 388.IBPluginDependency 3097 | 389.IBPluginDependency 3098 | 390.IBPluginDependency 3099 | 391.IBPluginDependency 3100 | 392.IBPluginDependency 3101 | 393.IBPluginDependency 3102 | 394.IBPluginDependency 3103 | 395.IBPluginDependency 3104 | 396.IBPluginDependency 3105 | 397.IBPluginDependency 3106 | 398.IBPluginDependency 3107 | 399.IBPluginDependency 3108 | 400.IBPluginDependency 3109 | 401.IBPluginDependency 3110 | 402.IBPluginDependency 3111 | 403.IBPluginDependency 3112 | 404.IBPluginDependency 3113 | 405.IBPluginDependency 3114 | 406.IBPluginDependency 3115 | 407.IBPluginDependency 3116 | 408.IBPluginDependency 3117 | 409.IBPluginDependency 3118 | 410.IBPluginDependency 3119 | 411.IBPluginDependency 3120 | 412.IBPluginDependency 3121 | 413.IBPluginDependency 3122 | 414.IBPluginDependency 3123 | 415.IBPluginDependency 3124 | 416.IBPluginDependency 3125 | 417.IBPluginDependency 3126 | 418.IBPluginDependency 3127 | 419.IBPluginDependency 3128 | 420.IBPluginDependency 3129 | 450.IBPluginDependency 3130 | 451.IBPluginDependency 3131 | 452.IBPluginDependency 3132 | 453.IBPluginDependency 3133 | 454.IBPluginDependency 3134 | 457.IBPluginDependency 3135 | 459.IBPluginDependency 3136 | 460.IBPluginDependency 3137 | 462.IBPluginDependency 3138 | 465.IBPluginDependency 3139 | 466.IBPluginDependency 3140 | 485.IBPluginDependency 3141 | 490.IBPluginDependency 3142 | 491.IBPluginDependency 3143 | 492.IBPluginDependency 3144 | 494.IBPluginDependency 3145 | 496.IBPluginDependency 3146 | 497.IBPluginDependency 3147 | 498.IBPluginDependency 3148 | 499.IBPluginDependency 3149 | 5.IBPluginDependency 3150 | 500.IBPluginDependency 3151 | 501.IBPluginDependency 3152 | 502.IBPluginDependency 3153 | 503.IBPluginDependency 3154 | 504.IBPluginDependency 3155 | 505.IBPluginDependency 3156 | 506.IBPluginDependency 3157 | 507.IBPluginDependency 3158 | 508.IBPluginDependency 3159 | 509.IBPluginDependency 3160 | 510.IBPluginDependency 3161 | 511.IBPluginDependency 3162 | 512.IBPluginDependency 3163 | 513.IBPluginDependency 3164 | 514.IBPluginDependency 3165 | 515.IBPluginDependency 3166 | 516.IBPluginDependency 3167 | 517.IBPluginDependency 3168 | 534.IBPluginDependency 3169 | 56.IBPluginDependency 3170 | 57.IBPluginDependency 3171 | 58.IBPluginDependency 3172 | 72.IBPluginDependency 3173 | 73.IBPluginDependency 3174 | 74.IBPluginDependency 3175 | 75.IBPluginDependency 3176 | 77.IBPluginDependency 3177 | 78.IBPluginDependency 3178 | 79.IBPluginDependency 3179 | 81.IBPluginDependency 3180 | 82.IBPluginDependency 3181 | 83.IBPluginDependency 3182 | 92.IBPluginDependency 3183 | 3184 | 3185 | YES 3186 | com.apple.InterfaceBuilder.CocoaPlugin 3187 | com.apple.InterfaceBuilder.CocoaPlugin 3188 | com.apple.InterfaceBuilder.CocoaPlugin 3189 | com.apple.InterfaceBuilder.CocoaPlugin 3190 | com.apple.InterfaceBuilder.CocoaPlugin 3191 | com.apple.InterfaceBuilder.CocoaPlugin 3192 | com.apple.InterfaceBuilder.CocoaPlugin 3193 | com.apple.InterfaceBuilder.CocoaPlugin 3194 | com.apple.InterfaceBuilder.CocoaPlugin 3195 | com.apple.InterfaceBuilder.CocoaPlugin 3196 | com.apple.InterfaceBuilder.CocoaPlugin 3197 | com.apple.InterfaceBuilder.CocoaPlugin 3198 | com.apple.InterfaceBuilder.CocoaPlugin 3199 | com.apple.InterfaceBuilder.CocoaPlugin 3200 | com.apple.InterfaceBuilder.CocoaPlugin 3201 | com.apple.InterfaceBuilder.CocoaPlugin 3202 | com.apple.InterfaceBuilder.CocoaPlugin 3203 | com.apple.InterfaceBuilder.CocoaPlugin 3204 | com.apple.InterfaceBuilder.CocoaPlugin 3205 | com.apple.InterfaceBuilder.CocoaPlugin 3206 | com.apple.InterfaceBuilder.CocoaPlugin 3207 | com.apple.InterfaceBuilder.CocoaPlugin 3208 | com.apple.InterfaceBuilder.CocoaPlugin 3209 | com.apple.InterfaceBuilder.CocoaPlugin 3210 | com.apple.InterfaceBuilder.CocoaPlugin 3211 | com.apple.InterfaceBuilder.CocoaPlugin 3212 | com.apple.InterfaceBuilder.CocoaPlugin 3213 | com.apple.InterfaceBuilder.CocoaPlugin 3214 | com.apple.InterfaceBuilder.CocoaPlugin 3215 | com.apple.InterfaceBuilder.CocoaPlugin 3216 | com.apple.InterfaceBuilder.CocoaPlugin 3217 | com.apple.InterfaceBuilder.CocoaPlugin 3218 | com.apple.InterfaceBuilder.CocoaPlugin 3219 | com.apple.InterfaceBuilder.CocoaPlugin 3220 | com.apple.InterfaceBuilder.CocoaPlugin 3221 | com.apple.InterfaceBuilder.CocoaPlugin 3222 | com.apple.InterfaceBuilder.CocoaPlugin 3223 | com.apple.InterfaceBuilder.CocoaPlugin 3224 | com.apple.InterfaceBuilder.CocoaPlugin 3225 | com.apple.InterfaceBuilder.CocoaPlugin 3226 | com.apple.InterfaceBuilder.CocoaPlugin 3227 | com.apple.InterfaceBuilder.CocoaPlugin 3228 | com.apple.InterfaceBuilder.CocoaPlugin 3229 | com.apple.InterfaceBuilder.CocoaPlugin 3230 | com.apple.InterfaceBuilder.CocoaPlugin 3231 | com.apple.InterfaceBuilder.CocoaPlugin 3232 | com.apple.InterfaceBuilder.CocoaPlugin 3233 | com.apple.InterfaceBuilder.CocoaPlugin 3234 | com.apple.InterfaceBuilder.CocoaPlugin 3235 | com.apple.InterfaceBuilder.CocoaPlugin 3236 | com.apple.InterfaceBuilder.CocoaPlugin 3237 | com.apple.InterfaceBuilder.CocoaPlugin 3238 | com.apple.InterfaceBuilder.CocoaPlugin 3239 | com.apple.InterfaceBuilder.CocoaPlugin 3240 | com.apple.InterfaceBuilder.CocoaPlugin 3241 | com.apple.InterfaceBuilder.CocoaPlugin 3242 | com.apple.InterfaceBuilder.CocoaPlugin 3243 | com.apple.InterfaceBuilder.CocoaPlugin 3244 | com.apple.InterfaceBuilder.CocoaPlugin 3245 | com.apple.InterfaceBuilder.CocoaPlugin 3246 | com.apple.InterfaceBuilder.CocoaPlugin 3247 | com.apple.InterfaceBuilder.CocoaPlugin 3248 | com.apple.InterfaceBuilder.CocoaPlugin 3249 | com.apple.InterfaceBuilder.CocoaPlugin 3250 | com.apple.InterfaceBuilder.CocoaPlugin 3251 | com.apple.InterfaceBuilder.CocoaPlugin 3252 | com.apple.InterfaceBuilder.CocoaPlugin 3253 | com.apple.InterfaceBuilder.CocoaPlugin 3254 | com.apple.InterfaceBuilder.CocoaPlugin 3255 | com.apple.InterfaceBuilder.CocoaPlugin 3256 | com.apple.InterfaceBuilder.CocoaPlugin 3257 | com.apple.InterfaceBuilder.CocoaPlugin 3258 | com.apple.InterfaceBuilder.CocoaPlugin 3259 | com.apple.InterfaceBuilder.CocoaPlugin 3260 | com.apple.InterfaceBuilder.CocoaPlugin 3261 | com.apple.InterfaceBuilder.CocoaPlugin 3262 | com.apple.InterfaceBuilder.CocoaPlugin 3263 | com.apple.InterfaceBuilder.CocoaPlugin 3264 | com.apple.InterfaceBuilder.CocoaPlugin 3265 | com.apple.InterfaceBuilder.CocoaPlugin 3266 | com.apple.InterfaceBuilder.CocoaPlugin 3267 | com.apple.InterfaceBuilder.CocoaPlugin 3268 | com.apple.InterfaceBuilder.CocoaPlugin 3269 | com.apple.InterfaceBuilder.CocoaPlugin 3270 | com.apple.InterfaceBuilder.CocoaPlugin 3271 | com.apple.InterfaceBuilder.CocoaPlugin 3272 | com.apple.InterfaceBuilder.CocoaPlugin 3273 | com.apple.InterfaceBuilder.CocoaPlugin 3274 | com.apple.InterfaceBuilder.CocoaPlugin 3275 | com.apple.InterfaceBuilder.CocoaPlugin 3276 | com.apple.InterfaceBuilder.CocoaPlugin 3277 | com.apple.InterfaceBuilder.CocoaPlugin 3278 | com.apple.InterfaceBuilder.CocoaPlugin 3279 | com.apple.InterfaceBuilder.CocoaPlugin 3280 | com.apple.InterfaceBuilder.CocoaPlugin 3281 | com.apple.InterfaceBuilder.CocoaPlugin 3282 | com.apple.InterfaceBuilder.CocoaPlugin 3283 | com.apple.InterfaceBuilder.CocoaPlugin 3284 | com.apple.InterfaceBuilder.CocoaPlugin 3285 | com.apple.InterfaceBuilder.CocoaPlugin 3286 | com.apple.InterfaceBuilder.CocoaPlugin 3287 | com.apple.InterfaceBuilder.CocoaPlugin 3288 | com.apple.InterfaceBuilder.CocoaPlugin 3289 | com.apple.InterfaceBuilder.CocoaPlugin 3290 | com.apple.InterfaceBuilder.CocoaPlugin 3291 | com.apple.InterfaceBuilder.CocoaPlugin 3292 | com.apple.InterfaceBuilder.CocoaPlugin 3293 | com.apple.InterfaceBuilder.CocoaPlugin 3294 | com.apple.InterfaceBuilder.CocoaPlugin 3295 | com.apple.InterfaceBuilder.CocoaPlugin 3296 | com.apple.InterfaceBuilder.CocoaPlugin 3297 | com.apple.InterfaceBuilder.CocoaPlugin 3298 | com.apple.InterfaceBuilder.CocoaPlugin 3299 | com.apple.InterfaceBuilder.CocoaPlugin 3300 | com.apple.InterfaceBuilder.CocoaPlugin 3301 | com.apple.InterfaceBuilder.CocoaPlugin 3302 | com.apple.InterfaceBuilder.CocoaPlugin 3303 | com.apple.InterfaceBuilder.CocoaPlugin 3304 | com.apple.InterfaceBuilder.CocoaPlugin 3305 | com.apple.InterfaceBuilder.CocoaPlugin 3306 | com.apple.InterfaceBuilder.CocoaPlugin 3307 | com.apple.InterfaceBuilder.CocoaPlugin 3308 | com.apple.InterfaceBuilder.CocoaPlugin 3309 | com.apple.InterfaceBuilder.CocoaPlugin 3310 | com.apple.InterfaceBuilder.CocoaPlugin 3311 | com.apple.InterfaceBuilder.CocoaPlugin 3312 | com.apple.InterfaceBuilder.CocoaPlugin 3313 | com.apple.InterfaceBuilder.CocoaPlugin 3314 | com.apple.InterfaceBuilder.CocoaPlugin 3315 | com.apple.InterfaceBuilder.CocoaPlugin 3316 | com.apple.InterfaceBuilder.CocoaPlugin 3317 | com.apple.InterfaceBuilder.CocoaPlugin 3318 | com.apple.InterfaceBuilder.CocoaPlugin 3319 | com.apple.InterfaceBuilder.CocoaPlugin 3320 | com.apple.InterfaceBuilder.CocoaPlugin 3321 | com.apple.InterfaceBuilder.CocoaPlugin 3322 | com.apple.InterfaceBuilder.CocoaPlugin 3323 | com.apple.InterfaceBuilder.CocoaPlugin 3324 | com.apple.InterfaceBuilder.CocoaPlugin 3325 | com.apple.InterfaceBuilder.CocoaPlugin 3326 | com.apple.InterfaceBuilder.CocoaPlugin 3327 | com.apple.InterfaceBuilder.CocoaPlugin 3328 | com.apple.InterfaceBuilder.CocoaPlugin 3329 | com.apple.InterfaceBuilder.CocoaPlugin 3330 | com.apple.InterfaceBuilder.CocoaPlugin 3331 | com.apple.InterfaceBuilder.CocoaPlugin 3332 | com.apple.InterfaceBuilder.CocoaPlugin 3333 | com.apple.InterfaceBuilder.CocoaPlugin 3334 | com.apple.InterfaceBuilder.CocoaPlugin 3335 | com.apple.InterfaceBuilder.CocoaPlugin 3336 | 3337 | 3338 | 3339 | YES 3340 | 3341 | 3342 | 3343 | 3344 | 3345 | YES 3346 | 3347 | 3348 | 3349 | 3350 | 535 3351 | 3352 | 3353 | 3354 | YES 3355 | 3356 | ApplicationDelegate 3357 | NSObject 3358 | 3359 | IBProjectSource 3360 | ./Classes/ApplicationDelegate.h 3361 | 3362 | 3363 | 3364 | NSDocument 3365 | 3366 | YES 3367 | 3368 | YES 3369 | printDocument: 3370 | revertDocumentToSaved: 3371 | runPageLayout: 3372 | saveDocument: 3373 | saveDocumentAs: 3374 | saveDocumentTo: 3375 | 3376 | 3377 | YES 3378 | id 3379 | id 3380 | id 3381 | id 3382 | id 3383 | id 3384 | 3385 | 3386 | 3387 | YES 3388 | 3389 | YES 3390 | printDocument: 3391 | revertDocumentToSaved: 3392 | runPageLayout: 3393 | saveDocument: 3394 | saveDocumentAs: 3395 | saveDocumentTo: 3396 | 3397 | 3398 | YES 3399 | 3400 | printDocument: 3401 | id 3402 | 3403 | 3404 | revertDocumentToSaved: 3405 | id 3406 | 3407 | 3408 | runPageLayout: 3409 | id 3410 | 3411 | 3412 | saveDocument: 3413 | id 3414 | 3415 | 3416 | saveDocumentAs: 3417 | id 3418 | 3419 | 3420 | saveDocumentTo: 3421 | id 3422 | 3423 | 3424 | 3425 | 3426 | IBProjectSource 3427 | ./Classes/NSDocument.h 3428 | 3429 | 3430 | 3431 | 3432 | 0 3433 | IBCocoaFramework 3434 | 3435 | com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 3436 | 3437 | 3438 | YES 3439 | 3 3440 | 3441 | YES 3442 | 3443 | YES 3444 | NSMenuCheckmark 3445 | NSMenuMixedState 3446 | 3447 | 3448 | YES 3449 | {9, 8} 3450 | {7, 2} 3451 | 3452 | 3453 | 3454 | 3455 | -------------------------------------------------------------------------------- /Popup/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Popup 4 | // 5 | // Created by Vadim Shpakovski on 7/5/11. 6 | // Copyright 2011 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | return NSApplicationMain(argc, (const char **)argv); 14 | } 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Popup 2 | 3 | Popup project is a demo with custom popover window appearing from the icon in the Mac OS X status bar. 4 | 5 | # License 6 | 7 | Popup is licensed under the BSD license. --------------------------------------------------------------------------------