├── Application ├── Zcode.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── Zcode │ ├── AppDelegate.swift │ ├── Application.xib │ ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ └── Info.plist ├── Images ├── icon_v3.png └── icon_v3@2x.png ├── README.md └── Scripts ├── Xcode-Launcher.app └── Contents │ ├── Info.plist │ ├── MacOS │ └── applet │ ├── PkgInfo │ └── Resources │ ├── Scripts │ └── main.scpt │ ├── applet.icns │ ├── applet.rsrc │ └── description.rtfd │ └── TXT.rtf └── Xcode-Launcher.scpt /Application/Zcode.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | BDAEF4B71B44545000711F03 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDAEF4B61B44545000711F03 /* AppDelegate.swift */; }; 11 | BDAEF4B91B44545000711F03 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BDAEF4B81B44545000711F03 /* Images.xcassets */; }; 12 | BDEF948F1B446D75007B3A29 /* Application.xib in Resources */ = {isa = PBXBuildFile; fileRef = BDEF948E1B446D75007B3A29 /* Application.xib */; }; 13 | /* End PBXBuildFile section */ 14 | 15 | /* Begin PBXFileReference section */ 16 | BDAEF4B11B44545000711F03 /* Zcode.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Zcode.app; sourceTree = BUILT_PRODUCTS_DIR; }; 17 | BDAEF4B51B44545000711F03 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 18 | BDAEF4B61B44545000711F03 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 19 | BDAEF4B81B44545000711F03 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 20 | BDEF948E1B446D75007B3A29 /* Application.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = Application.xib; sourceTree = ""; }; 21 | /* End PBXFileReference section */ 22 | 23 | /* Begin PBXFrameworksBuildPhase section */ 24 | BDAEF4AE1B44545000711F03 /* Frameworks */ = { 25 | isa = PBXFrameworksBuildPhase; 26 | buildActionMask = 2147483647; 27 | files = ( 28 | ); 29 | runOnlyForDeploymentPostprocessing = 0; 30 | }; 31 | /* End PBXFrameworksBuildPhase section */ 32 | 33 | /* Begin PBXGroup section */ 34 | BDAEF4A81B44545000711F03 = { 35 | isa = PBXGroup; 36 | children = ( 37 | BDAEF4B31B44545000711F03 /* Zcode */, 38 | BDAEF4B21B44545000711F03 /* Products */, 39 | ); 40 | sourceTree = ""; 41 | }; 42 | BDAEF4B21B44545000711F03 /* Products */ = { 43 | isa = PBXGroup; 44 | children = ( 45 | BDAEF4B11B44545000711F03 /* Zcode.app */, 46 | ); 47 | name = Products; 48 | sourceTree = ""; 49 | }; 50 | BDAEF4B31B44545000711F03 /* Zcode */ = { 51 | isa = PBXGroup; 52 | children = ( 53 | BDAEF4B61B44545000711F03 /* AppDelegate.swift */, 54 | BDAEF4B81B44545000711F03 /* Images.xcassets */, 55 | BDAEF4B41B44545000711F03 /* Supporting Files */, 56 | ); 57 | path = Zcode; 58 | sourceTree = ""; 59 | }; 60 | BDAEF4B41B44545000711F03 /* Supporting Files */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | BDAEF4B51B44545000711F03 /* Info.plist */, 64 | BDEF948E1B446D75007B3A29 /* Application.xib */, 65 | ); 66 | name = "Supporting Files"; 67 | sourceTree = ""; 68 | }; 69 | /* End PBXGroup section */ 70 | 71 | /* Begin PBXNativeTarget section */ 72 | BDAEF4B01B44545000711F03 /* Zcode */ = { 73 | isa = PBXNativeTarget; 74 | buildConfigurationList = BDAEF4CB1B44545000711F03 /* Build configuration list for PBXNativeTarget "Zcode" */; 75 | buildPhases = ( 76 | BDAEF4AD1B44545000711F03 /* Sources */, 77 | BDAEF4AE1B44545000711F03 /* Frameworks */, 78 | BDAEF4AF1B44545000711F03 /* Resources */, 79 | ); 80 | buildRules = ( 81 | ); 82 | dependencies = ( 83 | ); 84 | name = Zcode; 85 | productName = Zcode; 86 | productReference = BDAEF4B11B44545000711F03 /* Zcode.app */; 87 | productType = "com.apple.product-type.application"; 88 | }; 89 | /* End PBXNativeTarget section */ 90 | 91 | /* Begin PBXProject section */ 92 | BDAEF4A91B44545000711F03 /* Project object */ = { 93 | isa = PBXProject; 94 | attributes = { 95 | LastSwiftUpdateCheck = 0700; 96 | LastUpgradeCheck = 0640; 97 | ORGANIZATIONNAME = zenangst; 98 | TargetAttributes = { 99 | BDAEF4B01B44545000711F03 = { 100 | CreatedOnToolsVersion = 6.4; 101 | }; 102 | }; 103 | }; 104 | buildConfigurationList = BDAEF4AC1B44545000711F03 /* Build configuration list for PBXProject "Zcode" */; 105 | compatibilityVersion = "Xcode 3.2"; 106 | developmentRegion = English; 107 | hasScannedForEncodings = 0; 108 | knownRegions = ( 109 | en, 110 | Base, 111 | ); 112 | mainGroup = BDAEF4A81B44545000711F03; 113 | productRefGroup = BDAEF4B21B44545000711F03 /* Products */; 114 | projectDirPath = ""; 115 | projectRoot = ""; 116 | targets = ( 117 | BDAEF4B01B44545000711F03 /* Zcode */, 118 | ); 119 | }; 120 | /* End PBXProject section */ 121 | 122 | /* Begin PBXResourcesBuildPhase section */ 123 | BDAEF4AF1B44545000711F03 /* Resources */ = { 124 | isa = PBXResourcesBuildPhase; 125 | buildActionMask = 2147483647; 126 | files = ( 127 | BDEF948F1B446D75007B3A29 /* Application.xib in Resources */, 128 | BDAEF4B91B44545000711F03 /* Images.xcassets in Resources */, 129 | ); 130 | runOnlyForDeploymentPostprocessing = 0; 131 | }; 132 | /* End PBXResourcesBuildPhase section */ 133 | 134 | /* Begin PBXSourcesBuildPhase section */ 135 | BDAEF4AD1B44545000711F03 /* Sources */ = { 136 | isa = PBXSourcesBuildPhase; 137 | buildActionMask = 2147483647; 138 | files = ( 139 | BDAEF4B71B44545000711F03 /* AppDelegate.swift in Sources */, 140 | ); 141 | runOnlyForDeploymentPostprocessing = 0; 142 | }; 143 | /* End PBXSourcesBuildPhase section */ 144 | 145 | /* Begin XCBuildConfiguration section */ 146 | BDAEF4C91B44545000711F03 /* Debug */ = { 147 | isa = XCBuildConfiguration; 148 | buildSettings = { 149 | ALWAYS_SEARCH_USER_PATHS = NO; 150 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 151 | CLANG_CXX_LIBRARY = "libc++"; 152 | CLANG_ENABLE_MODULES = YES; 153 | CLANG_ENABLE_OBJC_ARC = YES; 154 | CLANG_WARN_BOOL_CONVERSION = YES; 155 | CLANG_WARN_CONSTANT_CONVERSION = YES; 156 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 157 | CLANG_WARN_EMPTY_BODY = YES; 158 | CLANG_WARN_ENUM_CONVERSION = YES; 159 | CLANG_WARN_INT_CONVERSION = YES; 160 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 161 | CLANG_WARN_UNREACHABLE_CODE = YES; 162 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 163 | CODE_SIGN_IDENTITY = "-"; 164 | COPY_PHASE_STRIP = NO; 165 | DEBUG_INFORMATION_FORMAT = dwarf; 166 | ENABLE_STRICT_OBJC_MSGSEND = YES; 167 | GCC_C_LANGUAGE_STANDARD = gnu99; 168 | GCC_DYNAMIC_NO_PIC = NO; 169 | GCC_NO_COMMON_BLOCKS = YES; 170 | GCC_OPTIMIZATION_LEVEL = 0; 171 | GCC_PREPROCESSOR_DEFINITIONS = ( 172 | "DEBUG=1", 173 | "$(inherited)", 174 | ); 175 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 176 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 177 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 178 | GCC_WARN_UNDECLARED_SELECTOR = YES; 179 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 180 | GCC_WARN_UNUSED_FUNCTION = YES; 181 | GCC_WARN_UNUSED_VARIABLE = YES; 182 | MACOSX_DEPLOYMENT_TARGET = 10.11; 183 | MTL_ENABLE_DEBUG_INFO = YES; 184 | ONLY_ACTIVE_ARCH = YES; 185 | SDKROOT = macosx; 186 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 187 | }; 188 | name = Debug; 189 | }; 190 | BDAEF4CA1B44545000711F03 /* Release */ = { 191 | isa = XCBuildConfiguration; 192 | buildSettings = { 193 | ALWAYS_SEARCH_USER_PATHS = NO; 194 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 195 | CLANG_CXX_LIBRARY = "libc++"; 196 | CLANG_ENABLE_MODULES = YES; 197 | CLANG_ENABLE_OBJC_ARC = YES; 198 | CLANG_WARN_BOOL_CONVERSION = YES; 199 | CLANG_WARN_CONSTANT_CONVERSION = YES; 200 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 201 | CLANG_WARN_EMPTY_BODY = YES; 202 | CLANG_WARN_ENUM_CONVERSION = YES; 203 | CLANG_WARN_INT_CONVERSION = YES; 204 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 205 | CLANG_WARN_UNREACHABLE_CODE = YES; 206 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 207 | CODE_SIGN_IDENTITY = "-"; 208 | COPY_PHASE_STRIP = NO; 209 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 210 | ENABLE_NS_ASSERTIONS = NO; 211 | ENABLE_STRICT_OBJC_MSGSEND = YES; 212 | GCC_C_LANGUAGE_STANDARD = gnu99; 213 | GCC_NO_COMMON_BLOCKS = YES; 214 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 215 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 216 | GCC_WARN_UNDECLARED_SELECTOR = YES; 217 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 218 | GCC_WARN_UNUSED_FUNCTION = YES; 219 | GCC_WARN_UNUSED_VARIABLE = YES; 220 | MACOSX_DEPLOYMENT_TARGET = 10.11; 221 | MTL_ENABLE_DEBUG_INFO = NO; 222 | SDKROOT = macosx; 223 | }; 224 | name = Release; 225 | }; 226 | BDAEF4CC1B44545000711F03 /* Debug */ = { 227 | isa = XCBuildConfiguration; 228 | buildSettings = { 229 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 230 | COMBINE_HIDPI_IMAGES = YES; 231 | INFOPLIST_FILE = Zcode/Info.plist; 232 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; 233 | PRODUCT_NAME = "$(TARGET_NAME)"; 234 | }; 235 | name = Debug; 236 | }; 237 | BDAEF4CD1B44545000711F03 /* Release */ = { 238 | isa = XCBuildConfiguration; 239 | buildSettings = { 240 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 241 | COMBINE_HIDPI_IMAGES = YES; 242 | INFOPLIST_FILE = Zcode/Info.plist; 243 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; 244 | PRODUCT_NAME = "$(TARGET_NAME)"; 245 | }; 246 | name = Release; 247 | }; 248 | /* End XCBuildConfiguration section */ 249 | 250 | /* Begin XCConfigurationList section */ 251 | BDAEF4AC1B44545000711F03 /* Build configuration list for PBXProject "Zcode" */ = { 252 | isa = XCConfigurationList; 253 | buildConfigurations = ( 254 | BDAEF4C91B44545000711F03 /* Debug */, 255 | BDAEF4CA1B44545000711F03 /* Release */, 256 | ); 257 | defaultConfigurationIsVisible = 0; 258 | defaultConfigurationName = Release; 259 | }; 260 | BDAEF4CB1B44545000711F03 /* Build configuration list for PBXNativeTarget "Zcode" */ = { 261 | isa = XCConfigurationList; 262 | buildConfigurations = ( 263 | BDAEF4CC1B44545000711F03 /* Debug */, 264 | BDAEF4CD1B44545000711F03 /* Release */, 265 | ); 266 | defaultConfigurationIsVisible = 0; 267 | defaultConfigurationName = Release; 268 | }; 269 | /* End XCConfigurationList section */ 270 | }; 271 | rootObject = BDAEF4A91B44545000711F03 /* Project object */; 272 | } 273 | -------------------------------------------------------------------------------- /Application/Zcode.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Application/Zcode/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Zcode 4 | // 5 | // Created by Christoffer Winterkvist on 01/07/15. 6 | // Copyright (c) 2015 zenangst. All rights reserved. 7 | // 8 | 9 | import Cocoa 10 | 11 | @NSApplicationMain 12 | class AppDelegate: NSObject, NSApplicationDelegate { 13 | 14 | @IBOutlet weak var window: NSWindow! 15 | 16 | func applicationDidFinishLaunching(aNotification: NSNotification) { 17 | activateOrOpenXcode() 18 | } 19 | 20 | func applicationShouldHandleReopen(sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool { 21 | activateOrOpenXcode() 22 | 23 | return true 24 | } 25 | 26 | func application(sender: NSApplication, openFiles filenames: [String]) { 27 | let task = NSTask() 28 | task.launchPath = "/usr/bin/osascript" 29 | for file in filenames { 30 | let appleScript = "tell application \"Xcode\"\n open \"\(file)\"\n\nend" 31 | task.arguments = ["-e", appleScript] 32 | task.launch() 33 | } 34 | activateXcode() 35 | } 36 | 37 | func activateOrOpenXcode() { 38 | let applications = NSWorkspace.sharedWorkspace().runningApplications 39 | let application = applications.filter { $0.localizedName == "Xcode" }.last 40 | 41 | if application != nil { 42 | self.activateXcode() 43 | } else { 44 | self.launchXcode() 45 | } 46 | } 47 | 48 | func activateXcode() { 49 | let task = NSTask() 50 | task.launchPath = "/usr/bin/osascript" 51 | task.arguments = ["-e", "tell application \"Xcode\" to activate"] 52 | task.launch() 53 | } 54 | 55 | func launchXcode() { 56 | let task = NSTask() 57 | task.launchPath = "/Applications/Xcode.app/Contents/MacOS/Xcode" 58 | task.arguments = ["/dev/null &"] 59 | task.launch() 60 | } 61 | } 62 | 63 | -------------------------------------------------------------------------------- /Application/Zcode/Application.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | Default 537 | 538 | 539 | 540 | 541 | 542 | 543 | Left to Right 544 | 545 | 546 | 547 | 548 | 549 | 550 | Right to Left 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | Default 562 | 563 | 564 | 565 | 566 | 567 | 568 | Left to Right 569 | 570 | 571 | 572 | 573 | 574 | 575 | Right to Left 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | -------------------------------------------------------------------------------- /Application/Zcode/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "mac", 5 | "size" : "16x16", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "mac", 10 | "size" : "16x16", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "mac", 15 | "size" : "32x32", 16 | "scale" : "1x" 17 | }, 18 | { 19 | "idiom" : "mac", 20 | "size" : "32x32", 21 | "scale" : "2x" 22 | }, 23 | { 24 | "idiom" : "mac", 25 | "size" : "128x128", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "mac", 30 | "size" : "128x128", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "mac", 35 | "size" : "256x256", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "mac", 40 | "size" : "256x256", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "mac", 45 | "size" : "512x512", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "mac", 50 | "size" : "512x512", 51 | "scale" : "2x" 52 | } 53 | ], 54 | "info" : { 55 | "version" : 1, 56 | "author" : "xcode" 57 | } 58 | } -------------------------------------------------------------------------------- /Application/Zcode/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDocumentTypes 8 | 9 | 10 | CFBundleTypeExtensions 11 | 12 | xcworkspace 13 | 14 | CFBundleTypeIconFile 15 | workspace_Icon 16 | CFBundleTypeName 17 | Xcode Workspace 18 | CFBundleTypeRole 19 | Editor 20 | LSIsAppleDefaultForType 21 | 22 | LSItemContentTypes 23 | 24 | com.apple.dt.document.workspace 25 | 26 | LSTypeIsPackage 27 | 28 | 29 | 30 | CFBundleTypeExtensions 31 | 32 | xcscheme 33 | 34 | CFBundleTypeIconFile 35 | scheme_Icon 36 | CFBundleTypeName 37 | Xcode Scheme 38 | CFBundleTypeRole 39 | None 40 | LSIsAppleDefaultForType 41 | 42 | LSItemContentTypes 43 | 44 | com.apple.dt.document.scheme 45 | 46 | 47 | 48 | CFBundleTypeExtensions 49 | 50 | ideplugin 51 | 52 | CFBundleTypeIconFile 53 | plug-in_Icon 54 | CFBundleTypeName 55 | Xcode IDE Plug-in 56 | CFBundleTypeRole 57 | None 58 | LSIsAppleDefaultForType 59 | 60 | LSItemContentTypes 61 | 62 | com.apple.dt.ide.plug-in 63 | 64 | LSTypeIsPackage 65 | 66 | 67 | 68 | CFBundleTypeExtensions 69 | 70 | dvtplugin 71 | 72 | CFBundleTypeIconFile 73 | plug-in_Icon 74 | CFBundleTypeName 75 | Xcode DVT Plug-in 76 | CFBundleTypeRole 77 | None 78 | LSIsAppleDefaultForType 79 | 80 | LSItemContentTypes 81 | 82 | com.apple.dt.dvt.plug-in 83 | 84 | LSTypeIsPackage 85 | 86 | 87 | 88 | CFBundleTypeExtensions 89 | 90 | xcplugin 91 | 92 | CFBundleTypeIconFile 93 | plug-in_Icon 94 | CFBundleTypeName 95 | Xcode Plug-in 96 | CFBundleTypeRole 97 | None 98 | LSIsAppleDefaultForType 99 | 100 | LSItemContentTypes 101 | 102 | com.apple.xcode.plugin 103 | 104 | LSTypeIsPackage 105 | 106 | 107 | 108 | CFBundleTypeExtensions 109 | 110 | xcsnapshots 111 | 112 | CFBundleTypeIconFile 113 | SnapshotBundle 114 | CFBundleTypeName 115 | Xcode Snapshot 116 | CFBundleTypeRole 117 | None 118 | LSIsAppleDefaultForType 119 | 120 | LSItemContentTypes 121 | 122 | com.apple.dt.document.snapshot 123 | 124 | LSTypeIsPackage 125 | 126 | 127 | 128 | CFBundleTypeExtensions 129 | 130 | xcarchive 131 | 132 | CFBundleTypeIconFile 133 | archive_Icon 134 | CFBundleTypeName 135 | Xcode Archive 136 | CFBundleTypeRole 137 | Editor 138 | LSHandlerRank 139 | Default 140 | LSIsAppleDefaultForType 141 | 142 | LSItemContentTypes 143 | 144 | com.apple.xcode.archive 145 | 146 | LSTypeIsPackage 147 | 148 | 149 | 150 | CFBundleTypeExtensions 151 | 152 | plugindata 153 | 154 | CFBundleTypeIconFile 155 | xcode-configsettings_Icon 156 | CFBundleTypeName 157 | Xcode Plug-in Data 158 | CFBundleTypeRole 159 | Editor 160 | LSHandlerRank 161 | Default 162 | LSIsAppleDefaultForType 163 | 164 | LSItemContentTypes 165 | 166 | com.apple.xcode.plugindata 167 | 168 | LSTypeIsPackage 169 | 170 | 171 | 172 | CFBundleTypeExtensions 173 | 174 | xcplugindata 175 | 176 | CFBundleTypeIconFile 177 | xcode-configsettings_Icon 178 | CFBundleTypeName 179 | Xcode Compiled Plug-in Data 180 | CFBundleTypeRole 181 | Editor 182 | LSHandlerRank 183 | Default 184 | LSIsAppleDefaultForType 185 | 186 | LSItemContentTypes 187 | 188 | com.apple.xcode.plugindata.compiled 189 | 190 | LSTypeIsPackage 191 | 192 | 193 | 194 | CFBundleTypeExtensions 195 | 196 | xcappdata 197 | 198 | CFBundleTypeIconFile 199 | AppDataDocument 200 | CFBundleTypeName 201 | Xcode Application Data Package 202 | CFBundleTypeRole 203 | Viewer 204 | LSIsAppleDefaultForType 205 | 206 | LSItemContentTypes 207 | 208 | com.apple.xcode.appdata 209 | 210 | LSTypeIsPackage 211 | 212 | 213 | 214 | CFBundleTypeExtensions 215 | 216 | swift 217 | 218 | CFBundleTypeIconFile 219 | swift-source_Icon 220 | CFBundleTypeName 221 | Swift Source 222 | CFBundleTypeRole 223 | Editor 224 | LSIsAppleDefaultForType 225 | 226 | LSItemContentTypes 227 | 228 | public.swift-source 229 | 230 | LSTypeIsPackage 231 | 232 | 233 | 234 | CFBundleTypeExtensions 235 | 236 | playground 237 | 238 | CFBundleTypeIconFile 239 | playground_Icon 240 | CFBundleTypeName 241 | Xcode Playground 242 | CFBundleTypeRole 243 | Editor 244 | LSIsAppleDefaultForType 245 | 246 | LSItemContentTypes 247 | 248 | com.apple.dt.playground 249 | 250 | LSTypeIsPackage 251 | 252 | 253 | 254 | CFBundleTypeExtensions 255 | 256 | gpx 257 | 258 | CFBundleTypeIconFile 259 | gpx_Icon 260 | CFBundleTypeName 261 | GPX File 262 | CFBundleTypeRole 263 | Editor 264 | LSIsAppleDefaultForType 265 | 266 | LSItemContentTypes 267 | 268 | com.apple.dt.document.gpx 269 | 270 | LSTypeIsPackage 271 | 272 | 273 | 274 | CFBundleTypeExtensions 275 | 276 | geojson 277 | 278 | CFBundleTypeIconFile 279 | geojson 280 | CFBundleTypeName 281 | GeoJSON File 282 | CFBundleTypeRole 283 | Editor 284 | LSIsAppleDefaultForType 285 | 286 | LSItemContentTypes 287 | 288 | com.apple.dt.document.geojson 289 | 290 | LSTypeIsPackage 291 | 292 | 293 | 294 | CFBundleTypeExtensions 295 | 296 | xccrashpoint 297 | 298 | CFBundleTypeIconFile 299 | crashpoint 300 | CFBundleTypeName 301 | Crash Point File 302 | CFBundleTypeRole 303 | Editor 304 | LSIsAppleDefaultForType 305 | 306 | LSItemContentTypes 307 | 308 | com.apple.dt.document.xccrashpoint 309 | 310 | LSTypeIsPackage 311 | 312 | 313 | 314 | CFBundleTypeExtensions 315 | 316 | apns 317 | 318 | CFBundleTypeIconFile 319 | apns 320 | CFBundleTypeName 321 | Apple Push Notification Service File 322 | CFBundleTypeRole 323 | Editor 324 | LSIsAppleDefaultForType 325 | 326 | LSItemContentTypes 327 | 328 | com.apple.dt.document.apns 329 | 330 | LSTypeIsPackage 331 | 332 | 333 | 334 | CFBundleTypeExtensions 335 | 336 | xcodeproj 337 | xcode 338 | pbproj 339 | 340 | CFBundleTypeIconFile 341 | xcode-project_Icon 342 | CFBundleTypeName 343 | Xcode Project 344 | CFBundleTypeRole 345 | Editor 346 | LSIsAppleDefaultForType 347 | 348 | LSItemContentTypes 349 | 350 | com.apple.xcode.project 351 | 352 | LSTypeIsPackage 353 | 354 | 355 | 356 | CFBundleTypeExtensions 357 | 358 | pbxproj 359 | pbxuser 360 | perspective 361 | mode0 362 | mode1 363 | mode2 364 | mode3 365 | perspectivev3 366 | mode0v3 367 | mode1v3 368 | mode2v3 369 | mode3v3 370 | 371 | CFBundleTypeIconFile 372 | xcode-configsettings_Icon 373 | CFBundleTypeName 374 | Xcode Project Data 375 | CFBundleTypeRole 376 | Editor 377 | LSIsAppleDefaultForType 378 | 379 | LSItemContentTypes 380 | 381 | com.apple.xcode.projectdata 382 | 383 | 384 | 385 | CFBundleTypeExtensions 386 | 387 | pbxuser 388 | 389 | CFBundleTypeIconFile 390 | xcode-configsettings_Icon 391 | CFBundleTypeName 392 | Xcode User Settings 393 | CFBundleTypeRole 394 | Editor 395 | LSIsAppleDefaultForType 396 | 397 | LSItemContentTypes 398 | 399 | com.apple.xcode.usersettings 400 | 401 | 402 | 403 | CFBundleTypeExtensions 404 | 405 | xcconfig 406 | 407 | CFBundleTypeIconFile 408 | xcode-configsettings_Icon 409 | CFBundleTypeName 410 | Xcode Configuration Settings 411 | CFBundleTypeRole 412 | Editor 413 | LSIsAppleDefaultForType 414 | 415 | LSItemContentTypes 416 | 417 | com.apple.xcode.configsettings 418 | 419 | 420 | 421 | CFBundleTypeExtensions 422 | 423 | h 424 | 425 | CFBundleTypeIconFile 426 | c-header_Icon 427 | CFBundleTypeName 428 | C Header Source 429 | CFBundleTypeRole 430 | Editor 431 | LSIsAppleDefaultForType 432 | 433 | LSItemContentTypes 434 | 435 | public.c-header 436 | 437 | 438 | 439 | CFBundleTypeExtensions 440 | 441 | pch 442 | 443 | CFBundleTypeIconFile 444 | c-header_Icon 445 | CFBundleTypeName 446 | C Precompiled Header Source 447 | CFBundleTypeRole 448 | Editor 449 | LSIsAppleDefaultForType 450 | 451 | LSItemContentTypes 452 | 453 | public.precompiled-c-header 454 | 455 | 456 | 457 | CFBundleTypeExtensions 458 | 459 | hh 460 | hp 461 | hpp 462 | hxx 463 | h++ 464 | 465 | CFBundleTypeIconFile 466 | c-header_Icon 467 | CFBundleTypeName 468 | C++ Header Source 469 | CFBundleTypeRole 470 | Editor 471 | LSIsAppleDefaultForType 472 | 473 | LSItemContentTypes 474 | 475 | public.c-plus-plus-header 476 | 477 | 478 | 479 | CFBundleTypeExtensions 480 | 481 | pch++ 482 | 483 | CFBundleTypeIconFile 484 | c-header_Icon 485 | CFBundleTypeName 486 | C++ Precompiled Header Source 487 | CFBundleTypeRole 488 | Editor 489 | LSIsAppleDefaultForType 490 | 491 | LSItemContentTypes 492 | 493 | public.precompiled-c-plus-plus-header 494 | 495 | 496 | 497 | CFBundleTypeExtensions 498 | 499 | c 500 | 501 | CFBundleTypeIconFile 502 | c-source_Icon 503 | CFBundleTypeName 504 | C Source 505 | CFBundleTypeRole 506 | Editor 507 | LSIsAppleDefaultForType 508 | 509 | LSItemContentTypes 510 | 511 | public.c-source 512 | 513 | 514 | 515 | CFBundleTypeExtensions 516 | 517 | cl 518 | 519 | CFBundleTypeName 520 | OpenCL Source 521 | CFBundleTypeRole 522 | Editor 523 | LSIsAppleDefaultForType 524 | 525 | LSItemContentTypes 526 | 527 | public.opencl-source 528 | 529 | 530 | 531 | CFBundleTypeExtensions 532 | 533 | modulemap 534 | 535 | CFBundleTypeName 536 | LLVM Module Map 537 | CFBundleTypeRole 538 | Editor 539 | LSIsAppleDefaultForType 540 | 541 | LSItemContentTypes 542 | 543 | public.module-map 544 | 545 | 546 | 547 | CFBundleTypeExtensions 548 | 549 | m 550 | 551 | CFBundleTypeIconFile 552 | objective-c-source_Icon 553 | CFBundleTypeName 554 | Objective-C Source 555 | CFBundleTypeRole 556 | Editor 557 | LSIsAppleDefaultForType 558 | 559 | LSItemContentTypes 560 | 561 | public.objective-c-source 562 | 563 | 564 | 565 | CFBundleTypeExtensions 566 | 567 | mm 568 | M 569 | 570 | CFBundleTypeIconFile 571 | objective-c-source_Icon 572 | CFBundleTypeName 573 | Objective-C++ Source 574 | CFBundleTypeRole 575 | Editor 576 | LSIsAppleDefaultForType 577 | 578 | LSItemContentTypes 579 | 580 | public.objective-c-plus-plus-source 581 | 582 | 583 | 584 | CFBundleTypeExtensions 585 | 586 | cc 587 | cp 588 | cpp 589 | cxx 590 | c++ 591 | 592 | CFBundleTypeIconFile 593 | c-plus-plus-source_Icon 594 | CFBundleTypeName 595 | C++ Source 596 | CFBundleTypeRole 597 | Editor 598 | LSIsAppleDefaultForType 599 | 600 | LSItemContentTypes 601 | 602 | public.c-plus-plus-source 603 | 604 | 605 | 606 | CFBundleTypeExtensions 607 | 608 | s 609 | asm 610 | 611 | CFBundleTypeIconFile 612 | assembly-source_Icon 613 | CFBundleTypeName 614 | Assembly Source 615 | CFBundleTypeRole 616 | Editor 617 | LSIsAppleDefaultForType 618 | 619 | LSItemContentTypes 620 | 621 | public.assembly-source 622 | 623 | 624 | 625 | CFBundleTypeExtensions 626 | 627 | nasm 628 | 629 | CFBundleTypeIconFile 630 | nasm-assembly-source_Icon 631 | CFBundleTypeName 632 | nasm Assembly Source 633 | CFBundleTypeRole 634 | Editor 635 | LSIsAppleDefaultForType 636 | 637 | LSItemContentTypes 638 | 639 | public.nasm-assembly-source 640 | 641 | 642 | 643 | CFBundleTypeExtensions 644 | 645 | r 646 | 647 | CFBundleTypeIconFile 648 | rez-source_Icon 649 | CFBundleTypeName 650 | Rez Source 651 | CFBundleTypeRole 652 | Editor 653 | LSIsAppleDefaultForType 654 | 655 | LSItemContentTypes 656 | 657 | com.apple.rez-source 658 | 659 | 660 | 661 | CFBundleTypeExtensions 662 | 663 | l 664 | lm 665 | lmm 666 | lpp 667 | lxx 668 | 669 | CFBundleTypeIconFile 670 | lex-source_Icon 671 | CFBundleTypeName 672 | Lex Source 673 | CFBundleTypeRole 674 | Editor 675 | LSIsAppleDefaultForType 676 | 677 | LSItemContentTypes 678 | 679 | com.apple.xcode.lex-source 680 | 681 | 682 | 683 | CFBundleTypeExtensions 684 | 685 | y 686 | ym 687 | ymm 688 | ypp 689 | yxx 690 | 691 | CFBundleTypeIconFile 692 | yacc-source_Icon 693 | CFBundleTypeName 694 | Yacc Source 695 | CFBundleTypeRole 696 | Editor 697 | LSIsAppleDefaultForType 698 | 699 | LSItemContentTypes 700 | 701 | com.apple.xcode.yacc-source 702 | 703 | 704 | 705 | CFBundleTypeExtensions 706 | 707 | glsl 708 | 709 | CFBundleTypeName 710 | OpenGL Shading Language source 711 | CFBundleTypeRole 712 | Editor 713 | LSIsAppleDefaultForType 714 | 715 | LSItemContentTypes 716 | 717 | org.khronos.glsl-source 718 | 719 | 720 | 721 | CFBundleTypeExtensions 722 | 723 | vs 724 | vert 725 | vsh 726 | vertex 727 | 728 | CFBundleTypeName 729 | OpenGL Shading Language Vertex Shader 730 | CFBundleTypeRole 731 | Editor 732 | LSIsAppleDefaultForType 733 | 734 | LSItemContentTypes 735 | 736 | org.khronos.glsl.vertex-shader 737 | 738 | 739 | 740 | CFBundleTypeExtensions 741 | 742 | fs 743 | fsh 744 | frag 745 | fragsh 746 | fragment 747 | cikernel 748 | 749 | CFBundleTypeName 750 | OpenGL Shading Language Fragment Shader 751 | CFBundleTypeRole 752 | Editor 753 | LSIsAppleDefaultForType 754 | 755 | LSItemContentTypes 756 | 757 | org.khronos.glsl.fragment-shader 758 | 759 | 760 | 761 | CFBundleTypeExtensions 762 | 763 | gs 764 | geom 765 | gsh 766 | geometry 767 | 768 | CFBundleTypeName 769 | OpenGL Shading Language Geometry Shader 770 | CFBundleTypeRole 771 | Editor 772 | LSIsAppleDefaultForType 773 | 774 | LSItemContentTypes 775 | 776 | org.khronos.glsl.geometry-shader 777 | 778 | 779 | 780 | CFBundleTypeExtensions 781 | 782 | ctrl 783 | 784 | CFBundleTypeName 785 | OpenGL Shading Language Tessellation Control Shader 786 | CFBundleTypeRole 787 | Editor 788 | LSIsAppleDefaultForType 789 | 790 | LSItemContentTypes 791 | 792 | org.khronos.glsl.tess-control-shader 793 | 794 | 795 | 796 | CFBundleTypeExtensions 797 | 798 | eval 799 | 800 | CFBundleTypeName 801 | OpenGL Shading Language Tessellation Evaluation Shader 802 | CFBundleTypeRole 803 | Editor 804 | LSIsAppleDefaultForType 805 | 806 | LSItemContentTypes 807 | 808 | org.khronos.glsl.tess-evaluation-shader 809 | 810 | 811 | 812 | CFBundleTypeExtensions 813 | 814 | metal 815 | 816 | CFBundleTypeIconFile 817 | metal-source_Icon 818 | CFBundleTypeName 819 | Metal shader source 820 | CFBundleTypeRole 821 | Editor 822 | LSIsAppleDefaultForType 823 | 824 | LSItemContentTypes 825 | 826 | com.apple.metal 827 | 828 | 829 | 830 | CFBundleTypeExtensions 831 | 832 | defs 833 | 834 | CFBundleTypeName 835 | Mig Definition 836 | CFBundleTypeRole 837 | Editor 838 | LSIsAppleDefaultForType 839 | 840 | LSItemContentTypes 841 | 842 | com.apple.xcode.mig-source 843 | 844 | 845 | 846 | CFBundleTypeExtensions 847 | 848 | exp 849 | 850 | CFBundleTypeIconFile 851 | symbol-export_Icon 852 | CFBundleTypeName 853 | Symbol Export 854 | CFBundleTypeRole 855 | Editor 856 | LSIsAppleDefaultForType 857 | 858 | LSItemContentTypes 859 | 860 | com.apple.symbol-export 861 | 862 | 863 | 864 | CFBundleTypeExtensions 865 | 866 | f 867 | for 868 | f77 869 | f95 870 | 871 | CFBundleTypeIconFile 872 | fortran-source_Icon 873 | CFBundleTypeName 874 | Fortran Source 875 | CFBundleTypeRole 876 | Editor 877 | LSItemContentTypes 878 | 879 | com.apple.xcode.fortran-source 880 | 881 | 882 | 883 | CFBundleTypeExtensions 884 | 885 | pas 886 | 887 | CFBundleTypeName 888 | Pascal Source 889 | CFBundleTypeRole 890 | Editor 891 | LSItemContentTypes 892 | 893 | com.apple.xcode.pascal-source 894 | 895 | 896 | 897 | CFBundleTypeExtensions 898 | 899 | ada 900 | adb 901 | ads 902 | 903 | CFBundleTypeName 904 | Ada Source 905 | CFBundleTypeRole 906 | Editor 907 | LSItemContentTypes 908 | 909 | com.apple.xcode.ada-source 910 | 911 | 912 | 913 | CFBundleTypeExtensions 914 | 915 | java 916 | jav 917 | 918 | CFBundleTypeIconFile 919 | java-source_Icon 920 | CFBundleTypeName 921 | Java Source 922 | CFBundleTypeRole 923 | Editor 924 | LSItemContentTypes 925 | 926 | com.sun.java-source 927 | 928 | 929 | 930 | CFBundleTypeExtensions 931 | 932 | rb 933 | rbw 934 | 935 | CFBundleTypeIconFile 936 | ruby-script_Icon 937 | CFBundleTypeName 938 | Ruby Source 939 | CFBundleTypeRole 940 | Editor 941 | LSItemContentTypes 942 | 943 | public.ruby-script 944 | 945 | 946 | 947 | CFBundleTypeExtensions 948 | 949 | py 950 | 951 | CFBundleTypeIconFile 952 | python-script_Icon 953 | CFBundleTypeName 954 | Python Source 955 | CFBundleTypeRole 956 | Editor 957 | LSItemContentTypes 958 | 959 | public.python-script 960 | 961 | 962 | 963 | CFBundleTypeExtensions 964 | 965 | pl 966 | 967 | CFBundleTypeIconFile 968 | perl-script_Icon 969 | CFBundleTypeName 970 | Perl Source 971 | CFBundleTypeRole 972 | Editor 973 | LSItemContentTypes 974 | 975 | public.perl-script 976 | 977 | 978 | 979 | CFBundleTypeExtensions 980 | 981 | strings 982 | 983 | CFBundleTypeName 984 | Strings File 985 | CFBundleTypeRole 986 | Editor 987 | LSIsAppleDefaultForType 988 | 989 | LSItemContentTypes 990 | 991 | com.apple.xcode.strings-text 992 | 993 | 994 | 995 | CFBundleTypeExtensions 996 | 997 | xhtml 998 | XHTML 999 | xml 1000 | XML 1001 | 1002 | CFBundleTypeName 1003 | XML Document 1004 | CFBundleTypeRole 1005 | Editor 1006 | LSItemContentTypes 1007 | 1008 | public.xml 1009 | 1010 | 1011 | 1012 | CFBundleTypeExtensions 1013 | 1014 | md 1015 | mdown 1016 | markdown 1017 | text 1018 | 1019 | CFBundleTypeName 1020 | Markdown Document 1021 | CFBundleTypeRole 1022 | Editor 1023 | LSItemContentTypes 1024 | 1025 | net.daringfireball.markdown 1026 | 1027 | 1028 | 1029 | CFBundleTypeExtensions 1030 | 1031 | make 1032 | 1033 | CFBundleTypeName 1034 | Makefile 1035 | CFBundleTypeRole 1036 | Editor 1037 | LSItemContentTypes 1038 | 1039 | com.apple.xcode.make-script 1040 | 1041 | 1042 | 1043 | CFBundleTypeExtensions 1044 | 1045 | bash 1046 | 1047 | CFBundleTypeName 1048 | Bourne-Again Shell Script 1049 | CFBundleTypeRole 1050 | Editor 1051 | LSItemContentTypes 1052 | 1053 | com.apple.xcode.bash-script 1054 | 1055 | 1056 | 1057 | CFBundleTypeExtensions 1058 | 1059 | csh 1060 | 1061 | CFBundleTypeName 1062 | C Shell Script 1063 | CFBundleTypeRole 1064 | Editor 1065 | LSItemContentTypes 1066 | 1067 | com.apple.xcode.csh-script 1068 | 1069 | 1070 | 1071 | CFBundleTypeExtensions 1072 | 1073 | ksh 1074 | 1075 | CFBundleTypeName 1076 | Korn Shell Script 1077 | CFBundleTypeRole 1078 | Editor 1079 | LSItemContentTypes 1080 | 1081 | com.apple.xcode.ksh-script 1082 | 1083 | 1084 | 1085 | CFBundleTypeExtensions 1086 | 1087 | tcsh 1088 | 1089 | CFBundleTypeName 1090 | Tenex C Shell Script 1091 | CFBundleTypeRole 1092 | Editor 1093 | LSItemContentTypes 1094 | 1095 | com.apple.xcode.tcsh-script 1096 | 1097 | 1098 | 1099 | CFBundleTypeExtensions 1100 | 1101 | zsh 1102 | 1103 | CFBundleTypeName 1104 | Zsh Script 1105 | CFBundleTypeRole 1106 | Editor 1107 | LSItemContentTypes 1108 | 1109 | com.apple.xcode.zsh-script 1110 | 1111 | 1112 | 1113 | CFBundleTypeExtensions 1114 | 1115 | xib 1116 | 1117 | CFBundleTypeIconFile 1118 | XIB 1119 | CFBundleTypeName 1120 | Interface Builder XIB Document 1121 | CFBundleTypeRole 1122 | Editor 1123 | LSIsAppleDefaultForType 1124 | 1125 | LSItemContentTypes 1126 | 1127 | com.apple.interfacebuilder.document.cocoa 1128 | 1129 | 1130 | 1131 | CFBundleTypeExtensions 1132 | 1133 | nib 1134 | 1135 | CFBundleTypeIconFile 1136 | nib_Icon 1137 | CFBundleTypeName 1138 | Interface Builder NIB Document 1139 | CFBundleTypeRole 1140 | Editor 1141 | LSIsAppleDefaultForType 1142 | 1143 | LSItemContentTypes 1144 | 1145 | com.apple.interfacebuilder.document 1146 | 1147 | 1148 | 1149 | CFBundleTypeExtensions 1150 | 1151 | storyboard 1152 | 1153 | CFBundleTypeIconFile 1154 | storyboard_Icon 1155 | CFBundleTypeName 1156 | Interface Builder Storyboard Document 1157 | CFBundleTypeRole 1158 | Editor 1159 | LSIsAppleDefaultForType 1160 | 1161 | LSItemContentTypes 1162 | 1163 | com.apple.dt.interfacebuilder.document.storyboard 1164 | 1165 | 1166 | 1167 | CFBundleTypeExtensions 1168 | 1169 | storyboardc 1170 | 1171 | CFBundleTypeIconFile 1172 | storyboard_Icon 1173 | CFBundleTypeName 1174 | Interface Builder Compiled Storyboard Document 1175 | CFBundleTypeRole 1176 | Editor 1177 | LSIsAppleDefaultForType 1178 | 1179 | LSItemContentTypes 1180 | 1181 | com.apple.dt.interfacebuilder.document.storyboard.package 1182 | 1183 | 1184 | 1185 | CFBundleTypeIconFile 1186 | property-list_Icon 1187 | CFBundleTypeName 1188 | Property List 1189 | CFBundleTypeRole 1190 | Editor 1191 | LSIsAppleDefaultForType 1192 | 1193 | LSItemContentTypes 1194 | 1195 | com.apple.property-list 1196 | 1197 | 1198 | 1199 | CFBundleTypeExtensions 1200 | 1201 | plist 1202 | 1203 | CFBundleTypeIconFile 1204 | property-list_Icon 1205 | CFBundleTypeName 1206 | XML Property List 1207 | CFBundleTypeRole 1208 | Editor 1209 | LSIsAppleDefaultForType 1210 | 1211 | LSItemContentTypes 1212 | 1213 | com.apple.xml-property-list 1214 | 1215 | 1216 | 1217 | CFBundleTypeExtensions 1218 | 1219 | plist 1220 | 1221 | CFBundleTypeIconFile 1222 | property-list_Icon 1223 | CFBundleTypeName 1224 | ASCII Property List 1225 | CFBundleTypeRole 1226 | Editor 1227 | LSIsAppleDefaultForType 1228 | 1229 | LSItemContentTypes 1230 | 1231 | com.apple.dt.document.ascii-property-list 1232 | 1233 | 1234 | 1235 | CFBundleTypeExtensions 1236 | 1237 | plist 1238 | 1239 | CFBundleTypeIconFile 1240 | property-list_Icon 1241 | CFBundleTypeName 1242 | Binary Property List 1243 | CFBundleTypeRole 1244 | Editor 1245 | LSIsAppleDefaultForType 1246 | 1247 | LSItemContentTypes 1248 | 1249 | com.apple.binary-property-list 1250 | 1251 | 1252 | 1253 | CFBundleTypeExtensions 1254 | 1255 | scriptSuite 1256 | 1257 | CFBundleTypeIconFile 1258 | property-list_Icon 1259 | CFBundleTypeName 1260 | AppleScript Script Suite 1261 | CFBundleTypeRole 1262 | Editor 1263 | LSIsAppleDefaultForType 1264 | 1265 | LSItemContentTypes 1266 | 1267 | com.apple.dt.document.script-suite-property-list 1268 | 1269 | 1270 | 1271 | CFBundleTypeExtensions 1272 | 1273 | scriptTerminology 1274 | 1275 | CFBundleTypeIconFile 1276 | property-list_Icon 1277 | CFBundleTypeName 1278 | AppleScript Script Terminology 1279 | CFBundleTypeRole 1280 | Editor 1281 | LSIsAppleDefaultForType 1282 | 1283 | LSItemContentTypes 1284 | 1285 | com.apple.dt.document.script-terminology-property-list 1286 | 1287 | 1288 | 1289 | CFBundleTypeExtensions 1290 | 1291 | sdef 1292 | 1293 | CFBundleTypeIconFile 1294 | scripting-definition_Icon 1295 | CFBundleTypeName 1296 | Scripting Definition 1297 | CFBundleTypeRole 1298 | Editor 1299 | LSItemContentTypes 1300 | 1301 | com.apple.scripting-definition 1302 | 1303 | 1304 | 1305 | CFBundleTypeExtensions 1306 | 1307 | applescript 1308 | 1309 | CFBundleTypeName 1310 | AppleScript Text 1311 | CFBundleTypeRole 1312 | Editor 1313 | LSItemContentTypes 1314 | 1315 | com.apple.applescript.text 1316 | 1317 | 1318 | 1319 | CFBundleTypeExtensions 1320 | 1321 | entitlements 1322 | 1323 | CFBundleTypeIconFile 1324 | entitlements-plist_Icon 1325 | CFBundleTypeName 1326 | Entitlements File 1327 | CFBundleTypeRole 1328 | Editor 1329 | LSIsAppleDefaultForType 1330 | 1331 | LSItemContentTypes 1332 | 1333 | com.apple.xcode.entitlements-property-list 1334 | 1335 | 1336 | 1337 | CFBundleTypeExtensions 1338 | 1339 | rtf 1340 | 1341 | CFBundleTypeName 1342 | Rich Text Document 1343 | CFBundleTypeRole 1344 | Editor 1345 | LSItemContentTypes 1346 | 1347 | public.rtf 1348 | 1349 | 1350 | 1351 | CFBundleTypeExtensions 1352 | 1353 | rtfd 1354 | 1355 | CFBundleTypeName 1356 | Rich Text Document with Attachments 1357 | CFBundleTypeRole 1358 | Editor 1359 | LSItemContentTypes 1360 | 1361 | com.apple.rtfd 1362 | 1363 | 1364 | 1365 | CFBundleTypeExtensions 1366 | 1367 | xcdatamodel 1368 | 1369 | CFBundleTypeIconFile 1370 | model-data_Icon 1371 | CFBundleTypeName 1372 | Core Data Model 1373 | CFBundleTypeRole 1374 | Editor 1375 | LSIsAppleDefaultForType 1376 | 1377 | LSItemContentTypes 1378 | 1379 | com.apple.xcode.model.data 1380 | 1381 | 1382 | 1383 | CFBundleTypeExtensions 1384 | 1385 | xcdatamodeld 1386 | 1387 | CFBundleTypeIconFile 1388 | model-data-version_Icon 1389 | CFBundleTypeName 1390 | Versioned Core Data Model 1391 | CFBundleTypeRole 1392 | Editor 1393 | LSIsAppleDefaultForType 1394 | 1395 | LSItemContentTypes 1396 | 1397 | com.apple.xcode.model.data-version 1398 | 1399 | 1400 | 1401 | CFBundleTypeExtensions 1402 | 1403 | xcmappingmodel 1404 | 1405 | CFBundleTypeIconFile 1406 | model-data-mapping_Icon 1407 | CFBundleTypeName 1408 | Core Data Mapping Model 1409 | CFBundleTypeRole 1410 | Editor 1411 | LSIsAppleDefaultForType 1412 | 1413 | LSItemContentTypes 1414 | 1415 | com.apple.xcode.model.data-mapping 1416 | 1417 | 1418 | 1419 | CFBundleTypeExtensions 1420 | 1421 | mom 1422 | 1423 | CFBundleTypeIconFile 1424 | model-mom_Icon 1425 | CFBundleTypeName 1426 | Compiled Core Data Model 1427 | CFBundleTypeRole 1428 | None 1429 | LSItemContentTypes 1430 | 1431 | com.apple.xcode.mom 1432 | 1433 | 1434 | 1435 | CFBundleTypeExtensions 1436 | 1437 | mobileprovision 1438 | 1439 | CFBundleTypeIconFile 1440 | mobileprovision_Icon 1441 | CFBundleTypeName 1442 | Developer Provisioning Profile 1443 | CFBundleTypeRole 1444 | Viewer 1445 | KLSHandlerRank 1446 | Alternate 1447 | LSItemContentTypes 1448 | 1449 | com.apple.provisionprofile 1450 | com.apple.iphone.mobileprovision 1451 | com.apple.mobileprovision 1452 | 1453 | 1454 | 1455 | CFBundleTypeExtensions 1456 | 1457 | developerprofile 1458 | 1459 | CFBundleTypeIconFile 1460 | developerprofile_Icon 1461 | CFBundleTypeName 1462 | Developer Profile 1463 | CFBundleTypeRole 1464 | Viewer 1465 | KLSHandlerRank 1466 | Alternate 1467 | LSItemContentTypes 1468 | 1469 | com.apple.iphone.developerprofile 1470 | 1471 | 1472 | 1473 | CFBundleTypeExtensions 1474 | 1475 | ipsw 1476 | 1477 | CFBundleTypeIconFile 1478 | ipsw_Icon 1479 | CFBundleTypeName 1480 | Apple Device Software Update File 1481 | CFBundleTypeOSTypes 1482 | 1483 | ipsw 1484 | 1485 | CFBundleTypeRole 1486 | Viewer 1487 | KLSHandlerRank 1488 | Alternate 1489 | LSItemContentTypes 1490 | 1491 | com.apple.iphone.ipsw 1492 | 1493 | 1494 | 1495 | CFBundleTypeExtensions 1496 | 1497 | dsym 1498 | dSYM 1499 | 1500 | CFBundleTypeName 1501 | Archived Debug Symbols 1502 | CFBundleTypeRole 1503 | None 1504 | LSItemContentTypes 1505 | 1506 | com.apple.xcode.dsym 1507 | 1508 | LSTypeIsPackage 1509 | 1510 | 1511 | 1512 | CFBundleTypeExtensions 1513 | 1514 | docset 1515 | 1516 | CFBundleTypeIconFile 1517 | docset_Icon 1518 | CFBundleTypeName 1519 | Documentation Set 1520 | CFBundleTypeRole 1521 | Viewer 1522 | LSIsAppleDefaultForType 1523 | 1524 | LSItemContentTypes 1525 | 1526 | com.apple.xcode.docset 1527 | 1528 | LSTypeIsPackage 1529 | 1530 | 1531 | 1532 | CFBundleTypeExtensions 1533 | 1534 | class 1535 | 1536 | CFBundleTypeName 1537 | Java Class 1538 | CFBundleTypeRole 1539 | None 1540 | LSItemContentTypes 1541 | 1542 | com.sun.java-class 1543 | 1544 | 1545 | 1546 | CFBundleTypeExtensions 1547 | 1548 | gputrace 1549 | 1550 | CFBundleTypeIconFile 1551 | GPUTrace 1552 | CFBundleTypeName 1553 | GPUTraceDocumentType 1554 | CFBundleTypeRole 1555 | Editor 1556 | LSIsAppleDefaultForType 1557 | 1558 | LSItemContentTypes 1559 | 1560 | com.apple.gputools.gputrace 1561 | 1562 | LSTypeIsPackage 1563 | 1564 | 1565 | 1566 | CFBundleTypeExtensions 1567 | 1568 | sks 1569 | 1570 | CFBundleTypeIconFile 1571 | com.apple.spritekit.serialized 1572 | CFBundleTypeName 1573 | Sprite Kit Document 1574 | CFBundleTypeRole 1575 | Editor 1576 | LSIsAppleDefaultForType 1577 | 1578 | LSItemContentTypes 1579 | 1580 | com.apple.spritekit.serialized 1581 | 1582 | 1583 | 1584 | CFBundleTypeExtensions 1585 | 1586 | scnp 1587 | 1588 | CFBundleTypeIconFile 1589 | com.apple.scenekit.particlesystem 1590 | CFBundleTypeName 1591 | SceneKit Particle System Document 1592 | CFBundleTypeRole 1593 | Editor 1594 | LSIsAppleDefaultForType 1595 | 1596 | LSItemContentTypes 1597 | 1598 | com.apple.scenekit.particlesystem 1599 | 1600 | 1601 | 1602 | CFBundleTypeName 1603 | Shell Script 1604 | CFBundleTypeRole 1605 | Editor 1606 | LSItemContentTypes 1607 | 1608 | public.shell-script 1609 | 1610 | 1611 | 1612 | CFBundleTypeName 1613 | Script 1614 | CFBundleTypeRole 1615 | Editor 1616 | LSItemContentTypes 1617 | 1618 | public.script 1619 | 1620 | 1621 | 1622 | CFBundleTypeName 1623 | Source Code 1624 | CFBundleTypeRole 1625 | Editor 1626 | LSItemContentTypes 1627 | 1628 | public.source-code 1629 | 1630 | 1631 | 1632 | CFBundleTypeName 1633 | Text Document 1634 | CFBundleTypeRole 1635 | Editor 1636 | LSItemContentTypes 1637 | 1638 | public.text 1639 | 1640 | 1641 | 1642 | CFBundleTypeExtensions 1643 | 1644 | * 1645 | 1646 | CFBundleTypeName 1647 | Anything 1648 | CFBundleTypeOSTypes 1649 | 1650 | **** 1651 | 1652 | CFBundleTypeRole 1653 | Viewer 1654 | 1655 | 1656 | CFBundleTypeExtensions 1657 | 1658 | jstest 1659 | 1660 | CFBundleTypeIconFile 1661 | uia_javascript_test_file.icns 1662 | CFBundleTypeName 1663 | UI Automation Test (JavaScript) 1664 | CFBundleTypeRole 1665 | Editor 1666 | LSIsAppleDefaultForType 1667 | 1668 | LSItemContentTypes 1669 | 1670 | com.apple.uiautomation.javascript-test 1671 | 1672 | 1673 | 1674 | CFBundleExecutable 1675 | $(EXECUTABLE_NAME) 1676 | CFBundleIconFile 1677 | 1678 | CFBundleIdentifier 1679 | com.zenangst.$(PRODUCT_NAME:rfc1034identifier) 1680 | CFBundleInfoDictionaryVersion 1681 | 6.0 1682 | CFBundleName 1683 | $(PRODUCT_NAME) 1684 | CFBundlePackageType 1685 | APPL 1686 | CFBundleShortVersionString 1687 | 1.0 1688 | CFBundleSignature 1689 | ???? 1690 | CFBundleVersion 1691 | 1 1692 | LSBackgroundOnly 1693 | 1 1694 | LSMinimumSystemVersion 1695 | $(MACOSX_DEPLOYMENT_TARGET) 1696 | LSUIElement 1697 | 1698 | NSHumanReadableCopyright 1699 | Copyright © 2015 zenangst. All rights reserved. 1700 | NSMainNibFile 1701 | Application 1702 | NSPrincipalClass 1703 | NSApplication 1704 | 1705 | 1706 | -------------------------------------------------------------------------------- /Images/icon_v3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zenangst/Zcode/7fe4ada2d20f4bcc1945780595ba5bc4206bc1dd/Images/icon_v3.png -------------------------------------------------------------------------------- /Images/icon_v3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zenangst/Zcode/7fe4ada2d20f4bcc1945780595ba5bc4206bc1dd/Images/icon_v3@2x.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Zcode 2 | ### The missing Xcode launcher 3 | 4 | Zcode is a simple OS X application that helps you launch, activate and even open files from the Finder in Xcode 6.4 in El Capitan Developer Preview 2. 5 | 6 | ### How it works 7 | 8 | It's simple, it just checks if the Xcode process is running, if so; then it activates Xcode. However, if Xcode isn't running, then it launches Xcode via the terminal workaround. And if you chose to open files using Zcode, it will open it in Xcode 6.4. 9 | 10 | ### Install 11 | 12 | Just download the latest release and drag and drop it into your applications folder, just like you would any other app. Then choose to always open Xcode related files with Zcode instead of Xcode. 13 | 14 | Or if you are feeling adventures, you could download the source code and tinker with it if you like. 15 | 16 | If you are looking for the old Apple Scripts, you can find them in the Scripts folder. 17 | 18 | ### Source 19 | 20 | ```swift 21 | @NSApplicationMain 22 | class AppDelegate: NSObject, NSApplicationDelegate { 23 | 24 | @IBOutlet weak var window: NSWindow! 25 | 26 | func applicationDidFinishLaunching(aNotification: NSNotification) { 27 | activateOrOpenXcode() 28 | } 29 | 30 | func applicationShouldHandleReopen(sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool { 31 | activateOrOpenXcode() 32 | 33 | return true 34 | } 35 | 36 | func application(sender: NSApplication, openFiles filenames: [AnyObject]) { 37 | let task = NSTask() 38 | task.launchPath = "/usr/bin/osascript" 39 | for file in filenames as! [String] { 40 | let appleScript = "tell application \"Xcode\"\n open \"\(file)\"\n\nend" 41 | task.arguments = ["-e", appleScript] 42 | task.launch() 43 | } 44 | activateXcode() 45 | } 46 | 47 | func activateOrOpenXcode() { 48 | let applications = NSWorkspace.sharedWorkspace().runningApplications as! [NSRunningApplication] 49 | let application = applications.filter { $0.localizedName == "Xcode" }.last 50 | 51 | if application != nil { 52 | self.activateXcode() 53 | } else { 54 | self.launchXcode() 55 | } 56 | } 57 | 58 | func activateXcode() { 59 | let task = NSTask() 60 | task.launchPath = "/usr/bin/osascript" 61 | task.arguments = ["-e", "tell application \"Xcode\" to activate"] 62 | task.launch() 63 | } 64 | 65 | func launchXcode() { 66 | let task = NSTask() 67 | task.launchPath = "/Applications/Xcode.app/Contents/MacOS/Xcode" 68 | task.arguments = ["/dev/null &"] 69 | task.launch() 70 | } 71 | } 72 | ``` 73 | 74 | ### Contribute 75 | 76 | 1. Fork it 77 | 2. Create your feature branch (`git checkout -b my-new-feature`) 78 | 3. Commit your changes (`git commit -am 'Add some feature'`) 79 | 4. Push to the branch (`git push origin my-new-feature`) 80 | 5. Create pull request 81 | 82 | ### Who made this? 83 | 84 | - Christoffer Winterkvist ([@zenangst](https://twitter.com/zenangst)) 85 | 86 | ### Thanks 87 | 88 | A big shout-out to [Sash Zats](https://twitter.com/zats), who made the initial [Xcode-Launcher](https://twitter.com/zats/status/613464620997570560) on which this is based. 89 | -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleAllowMixedLocalizations 6 | 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | applet 11 | CFBundleIconFile 12 | applet 13 | CFBundleIdentifier 14 | com.apple.ScriptEditor.id.Xcode-Launcher 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Xcode-Launcher 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | aplt 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | x86_64 28 | 10.6 29 | 30 | LSRequiresCarbon 31 | 32 | WindowState 33 | 34 | bundleDividerCollapsed 35 | 36 | bundlePositionOfDivider 37 | 0.0 38 | dividerCollapsed 39 | 40 | eventLogLevel 41 | 2 42 | name 43 | ScriptWindowState 44 | positionOfDivider 45 | 377 46 | savedFrame 47 | 308 261 643 628 0 0 1680 1050 48 | selectedTab 49 | description 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.app/Contents/MacOS/applet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zenangst/Zcode/7fe4ada2d20f4bcc1945780595ba5bc4206bc1dd/Scripts/Xcode-Launcher.app/Contents/MacOS/applet -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLaplt -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.app/Contents/Resources/Scripts/main.scpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zenangst/Zcode/7fe4ada2d20f4bcc1945780595ba5bc4206bc1dd/Scripts/Xcode-Launcher.app/Contents/Resources/Scripts/main.scpt -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.app/Contents/Resources/applet.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zenangst/Zcode/7fe4ada2d20f4bcc1945780595ba5bc4206bc1dd/Scripts/Xcode-Launcher.app/Contents/Resources/applet.icns -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.app/Contents/Resources/applet.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zenangst/Zcode/7fe4ada2d20f4bcc1945780595ba5bc4206bc1dd/Scripts/Xcode-Launcher.app/Contents/Resources/applet.rsrc -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.app/Contents/Resources/description.rtfd/TXT.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf1384\cocoasubrtf110 2 | {\fonttbl} 3 | {\colortbl;\red255\green255\blue255;} 4 | } -------------------------------------------------------------------------------- /Scripts/Xcode-Launcher.scpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zenangst/Zcode/7fe4ada2d20f4bcc1945780595ba5bc4206bc1dd/Scripts/Xcode-Launcher.scpt --------------------------------------------------------------------------------