├── Assets ├── Example.gif └── Shortcut.png ├── SwitchCaseGenerator.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── project.pbxproj ├── GenerateCases ├── GenerateCases.entitlements ├── SourceEditorExtension.swift ├── Info.plist └── SourceEditorCommand.swift ├── .gitignore ├── SwitchCaseGenerator ├── AppDelegate.swift ├── Info.plist ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json └── Base.lproj │ └── MainMenu.xib ├── README.md └── License /Assets/Example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timaktimak/SwitchCaseGenerator/HEAD/Assets/Example.gif -------------------------------------------------------------------------------- /Assets/Shortcut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timaktimak/SwitchCaseGenerator/HEAD/Assets/Shortcut.png -------------------------------------------------------------------------------- /SwitchCaseGenerator.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GenerateCases/GenerateCases.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Mac OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | 6 | ## Build generated 7 | build/ 8 | DerivedData 9 | 10 | ## Various settings 11 | *.pbxuser 12 | !default.pbxuser 13 | *.mode1v3 14 | !default.mode1v3 15 | *.mode2v3 16 | !default.mode2v3 17 | *.perspectivev3 18 | !default.perspectivev3 19 | xcuserdata 20 | 21 | ## Other 22 | *.xccheckout 23 | *.moved-aside 24 | *.xcuserstate 25 | *.xcscmblueprint 26 | 27 | ## Obj-C/Swift specific 28 | *.hmap 29 | *.ipa 30 | 31 | ## Playgrounds 32 | timeline.xctimeline 33 | playground.xcworkspace 34 | 35 | # Swift Package Manager 36 | .build/ 37 | 38 | # Carthage 39 | Carthage/Build 40 | -------------------------------------------------------------------------------- /SwitchCaseGenerator/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SwitchCaseGenerator 4 | // 5 | // Created by Timur Galimov on 24/12/2016. 6 | // Copyright © 2016 Timur Galimov. 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 | 17 | func applicationDidFinishLaunching(_ aNotification: Notification) { 18 | // Insert code here to initialize your application 19 | } 20 | 21 | func applicationWillTerminate(_ aNotification: Notification) { 22 | // Insert code here to tear down your application 23 | } 24 | 25 | 26 | } 27 | 28 | -------------------------------------------------------------------------------- /GenerateCases/SourceEditorExtension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SourceEditorExtension.swift 3 | // GenerateCases 4 | // 5 | // Created by Timur Galimov on 24/12/2016. 6 | // Copyright © 2016 Timur Galimov. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import XcodeKit 11 | 12 | class SourceEditorExtension: NSObject, XCSourceEditorExtension { 13 | 14 | /* 15 | func extensionDidFinishLaunching() { 16 | // If your extension needs to do any work at launch, implement this optional method. 17 | } 18 | */ 19 | 20 | /* 21 | var commandDefinitions: [[XCSourceEditorCommandDefinitionKey: Any]] { 22 | // If your extension needs to return a collection of command definitions that differs from those in its Info.plist, implement this optional property getter. 23 | return [] 24 | } 25 | */ 26 | 27 | } 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Swift Switch Enum Case Generator 2 | An Xcode Source Editor Extension that makes a swift switch case statement with selected enum cases 3 | 4 | ![Generate switch example](https://github.com/timaktimak/SwitchCaseGenerator/blob/master/Assets/Example.gif) 5 | 6 | ## Why? 7 | 8 | Because Xcode does not autocomplete a switch with enum cases. 9 | 10 | ## Installation 11 | 12 | 1. Clone or download the repo 13 | 2. Open ``SwitchCaseGenerator.xcodeproj`` 14 | 3. Enable target signing for both the Application and the Source Code Extension using your own developer ID 15 | 4. Select the application target and then Product > Archive 16 | 5. Export the archive as a macOS App 17 | 6. Run the app, then quit (Don't delete the app, put it in a convenient folder) 18 | 7. Go to System Preferences -> Extensions -> Xcode Source Editor and enable the GenerateCases extension 19 | 8. The menu-item should now be available from Xcode's Editor menu 20 | 21 | ## Shortcut 22 | Preferences (⌘ + ,) -> Key Bindings -> Search for "cases" 23 | ![Shortcut example](https://github.com/timaktimak/SwitchCaseGenerator/blob/master/Assets/Shortcut.png) 24 | -------------------------------------------------------------------------------- /License: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Timur Galimov 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /SwitchCaseGenerator/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | Copyright © 2016 Timur Galimov. All rights reserved. 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /SwitchCaseGenerator/Assets.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 | } -------------------------------------------------------------------------------- /GenerateCases/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | GenerateCases 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | XPC! 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSExtension 26 | 27 | NSExtensionAttributes 28 | 29 | XCSourceEditorCommandDefinitions 30 | 31 | 32 | XCSourceEditorCommandClassName 33 | $(PRODUCT_MODULE_NAME).SourceEditorCommand 34 | XCSourceEditorCommandIdentifier 35 | $(PRODUCT_BUNDLE_IDENTIFIER).SourceEditorCommand 36 | XCSourceEditorCommandName 37 | Generate a switch with cases from selection 38 | 39 | 40 | XCSourceEditorExtensionPrincipalClass 41 | $(PRODUCT_MODULE_NAME).SourceEditorExtension 42 | 43 | NSExtensionPointIdentifier 44 | com.apple.dt.Xcode.extension.source-editor 45 | 46 | NSHumanReadableCopyright 47 | Copyright © 2016 Timur Galimov. All rights reserved. 48 | 49 | 50 | -------------------------------------------------------------------------------- /GenerateCases/SourceEditorCommand.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SourceEditorCommand.swift 3 | // GenerateCases 4 | // 5 | // Created by Timur Galimov on 24/12/2016. 6 | // Copyright © 2016 Timur Galimov. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import XcodeKit 11 | 12 | extension String { 13 | 14 | var prepared: String? { 15 | let line = trimmingCharacters(in: .whitespacesAndNewlines) 16 | return line.isEmpty ? nil : line 17 | } 18 | 19 | var containsOnlyLettersAndDigits: Bool { 20 | return !isEmpty && range(of: "[^a-zA-Z0-9]", options: .regularExpression) == nil 21 | } 22 | } 23 | 24 | private class CasesExtractor { 25 | 26 | private static func getSelectedLinesIndexes(fromBuffer buffer: XCSourceTextBuffer) -> [Int] { 27 | var result: [Int] = [] 28 | for range in buffer.selections { 29 | guard let range = range as? XCSourceTextRange else { preconditionFailure() } 30 | for lineNumber in range.start.line...range.end.line { 31 | result.append(lineNumber) 32 | } 33 | } 34 | return result 35 | } 36 | 37 | private static func prepareCase(_ text: String) -> String { 38 | let beforeEquality = text.components(separatedBy: "=")[0] // in case of a raw value 39 | let beforeBracket = beforeEquality.components(separatedBy: "(")[0] // in case of an associated value 40 | let beforeComments = beforeBracket.components(separatedBy: "//")[0] // in case of comments 41 | return beforeComments 42 | } 43 | 44 | static func extractCases(fromBuffer buffer: XCSourceTextBuffer) -> [String] { 45 | var result: [String] = [] 46 | let idx = getSelectedLinesIndexes(fromBuffer: buffer) 47 | for index in idx { 48 | guard let line = buffer.lines[index] as? String else { preconditionFailure() } 49 | guard let l = line.prepared else { continue } 50 | let caseStr = "case" 51 | if l.hasPrefix(caseStr) { 52 | let index = l.index(l.startIndex, offsetBy: caseStr.characters.count) 53 | let dropCase = l.substring(from: index) 54 | let cases = dropCase.components(separatedBy: ",").map { prepareCase($0) } 55 | let cleanCases = cases.map { $0.trimmingCharacters(in: .whitespaces) } 56 | result.append(contentsOf: cleanCases.filter { $0.containsOnlyLettersAndDigits }) 57 | } 58 | } 59 | return result 60 | } 61 | } 62 | 63 | class SourceEditorCommand: NSObject, XCSourceEditorCommand { 64 | 65 | private func generateSwitch(fromCases cases: [String], tabWidth: Int) -> String { 66 | let indent = String(repeating: " ", count: tabWidth) 67 | let casesStr = cases.map { "\(indent)case .\($0):\n\(indent)\(indent)break\n" }.joined() 68 | return "\n\(indent)switch <#value#> {\n\(casesStr)\(indent)}\n" 69 | } 70 | 71 | private func lastSelectedLine(fromBuffer buffer: XCSourceTextBuffer) -> Int? { 72 | return (buffer.selections.lastObject as? XCSourceTextRange)?.end.line 73 | } 74 | 75 | func perform(with invocation: XCSourceEditorCommandInvocation, completionHandler: @escaping (Error?) -> Void ) -> Void { 76 | 77 | defer { completionHandler(nil) } // error looks ugly, just do nothing in case of an error 78 | 79 | guard invocation.buffer.contentUTI == "public.swift-source" else { return } 80 | guard let lineIndex = lastSelectedLine(fromBuffer: invocation.buffer) else { return } 81 | 82 | let cases = CasesExtractor.extractCases(fromBuffer: invocation.buffer) 83 | 84 | guard cases.count > 0 else { return } 85 | 86 | let str = generateSwitch(fromCases: cases, tabWidth: invocation.buffer.tabWidth) 87 | invocation.buffer.lines.insert(str, at: lineIndex + 1) 88 | 89 | // select the inserted code 90 | let start = XCSourceTextPosition(line: lineIndex + 2, column: 0) 91 | let end = XCSourceTextPosition(line: lineIndex + 2 * cases.count + 4, column: 0) 92 | invocation.buffer.selections.setArray([XCSourceTextRange(start: start, end: end)]) 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /SwitchCaseGenerator.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 82BBC5D51E0E7F380071B9F1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82BBC5D41E0E7F380071B9F1 /* AppDelegate.swift */; }; 11 | 82BBC5D71E0E7F380071B9F1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 82BBC5D61E0E7F380071B9F1 /* Assets.xcassets */; }; 12 | 82BBC5DA1E0E7F380071B9F1 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 82BBC5D81E0E7F380071B9F1 /* MainMenu.xib */; }; 13 | 82BBC5E81E0E7F650071B9F1 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82BBC5E71E0E7F650071B9F1 /* Cocoa.framework */; }; 14 | 82BBC5ED1E0E7F650071B9F1 /* SourceEditorExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82BBC5EC1E0E7F650071B9F1 /* SourceEditorExtension.swift */; }; 15 | 82BBC5EF1E0E7F650071B9F1 /* SourceEditorCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82BBC5EE1E0E7F650071B9F1 /* SourceEditorCommand.swift */; }; 16 | 82BBC5F31E0E7F650071B9F1 /* GenerateCases.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 82BBC5E51E0E7F650071B9F1 /* GenerateCases.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 82BBC5F11E0E7F650071B9F1 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 82BBC5C91E0E7F380071B9F1 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 82BBC5E41E0E7F650071B9F1; 25 | remoteInfo = GenerateCases; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXCopyFilesBuildPhase section */ 30 | 82BBC5F71E0E7F650071B9F1 /* Embed App Extensions */ = { 31 | isa = PBXCopyFilesBuildPhase; 32 | buildActionMask = 2147483647; 33 | dstPath = ""; 34 | dstSubfolderSpec = 13; 35 | files = ( 36 | 82BBC5F31E0E7F650071B9F1 /* GenerateCases.appex in Embed App Extensions */, 37 | ); 38 | name = "Embed App Extensions"; 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXCopyFilesBuildPhase section */ 42 | 43 | /* Begin PBXFileReference section */ 44 | 82BBC5D11E0E7F380071B9F1 /* SwitchCaseGenerator.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwitchCaseGenerator.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 82BBC5D41E0E7F380071B9F1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 46 | 82BBC5D61E0E7F380071B9F1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 47 | 82BBC5D91E0E7F380071B9F1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; 48 | 82BBC5DB1E0E7F380071B9F1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 49 | 82BBC5E51E0E7F650071B9F1 /* GenerateCases.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = GenerateCases.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 82BBC5E71E0E7F650071B9F1 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 51 | 82BBC5EB1E0E7F650071B9F1 /* GenerateCases.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = GenerateCases.entitlements; sourceTree = ""; }; 52 | 82BBC5EC1E0E7F650071B9F1 /* SourceEditorExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SourceEditorExtension.swift; sourceTree = ""; }; 53 | 82BBC5EE1E0E7F650071B9F1 /* SourceEditorCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SourceEditorCommand.swift; sourceTree = ""; }; 54 | 82BBC5F01E0E7F650071B9F1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 55 | /* End PBXFileReference section */ 56 | 57 | /* Begin PBXFrameworksBuildPhase section */ 58 | 82BBC5CE1E0E7F380071B9F1 /* Frameworks */ = { 59 | isa = PBXFrameworksBuildPhase; 60 | buildActionMask = 2147483647; 61 | files = ( 62 | ); 63 | runOnlyForDeploymentPostprocessing = 0; 64 | }; 65 | 82BBC5E21E0E7F650071B9F1 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | 82BBC5E81E0E7F650071B9F1 /* Cocoa.framework in Frameworks */, 70 | ); 71 | runOnlyForDeploymentPostprocessing = 0; 72 | }; 73 | /* End PBXFrameworksBuildPhase section */ 74 | 75 | /* Begin PBXGroup section */ 76 | 82BBC5C81E0E7F380071B9F1 = { 77 | isa = PBXGroup; 78 | children = ( 79 | 82BBC5D31E0E7F380071B9F1 /* SwitchCaseGenerator */, 80 | 82BBC5E91E0E7F650071B9F1 /* GenerateCases */, 81 | 82BBC5E61E0E7F650071B9F1 /* Frameworks */, 82 | 82BBC5D21E0E7F380071B9F1 /* Products */, 83 | ); 84 | sourceTree = ""; 85 | }; 86 | 82BBC5D21E0E7F380071B9F1 /* Products */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 82BBC5D11E0E7F380071B9F1 /* SwitchCaseGenerator.app */, 90 | 82BBC5E51E0E7F650071B9F1 /* GenerateCases.appex */, 91 | ); 92 | name = Products; 93 | sourceTree = ""; 94 | }; 95 | 82BBC5D31E0E7F380071B9F1 /* SwitchCaseGenerator */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 82BBC5D41E0E7F380071B9F1 /* AppDelegate.swift */, 99 | 82BBC5D61E0E7F380071B9F1 /* Assets.xcassets */, 100 | 82BBC5D81E0E7F380071B9F1 /* MainMenu.xib */, 101 | 82BBC5DB1E0E7F380071B9F1 /* Info.plist */, 102 | ); 103 | path = SwitchCaseGenerator; 104 | sourceTree = ""; 105 | }; 106 | 82BBC5E61E0E7F650071B9F1 /* Frameworks */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 82BBC5E71E0E7F650071B9F1 /* Cocoa.framework */, 110 | ); 111 | name = Frameworks; 112 | sourceTree = ""; 113 | }; 114 | 82BBC5E91E0E7F650071B9F1 /* GenerateCases */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 82BBC5EC1E0E7F650071B9F1 /* SourceEditorExtension.swift */, 118 | 82BBC5EE1E0E7F650071B9F1 /* SourceEditorCommand.swift */, 119 | 82BBC5F01E0E7F650071B9F1 /* Info.plist */, 120 | 82BBC5EA1E0E7F650071B9F1 /* Supporting Files */, 121 | ); 122 | path = GenerateCases; 123 | sourceTree = ""; 124 | }; 125 | 82BBC5EA1E0E7F650071B9F1 /* Supporting Files */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 82BBC5EB1E0E7F650071B9F1 /* GenerateCases.entitlements */, 129 | ); 130 | name = "Supporting Files"; 131 | sourceTree = ""; 132 | }; 133 | /* End PBXGroup section */ 134 | 135 | /* Begin PBXNativeTarget section */ 136 | 82BBC5D01E0E7F380071B9F1 /* SwitchCaseGenerator */ = { 137 | isa = PBXNativeTarget; 138 | buildConfigurationList = 82BBC5DE1E0E7F380071B9F1 /* Build configuration list for PBXNativeTarget "SwitchCaseGenerator" */; 139 | buildPhases = ( 140 | 82BBC5CD1E0E7F380071B9F1 /* Sources */, 141 | 82BBC5CE1E0E7F380071B9F1 /* Frameworks */, 142 | 82BBC5CF1E0E7F380071B9F1 /* Resources */, 143 | 82BBC5F71E0E7F650071B9F1 /* Embed App Extensions */, 144 | ); 145 | buildRules = ( 146 | ); 147 | dependencies = ( 148 | 82BBC5F21E0E7F650071B9F1 /* PBXTargetDependency */, 149 | ); 150 | name = SwitchCaseGenerator; 151 | productName = SwitchCaseGenerator; 152 | productReference = 82BBC5D11E0E7F380071B9F1 /* SwitchCaseGenerator.app */; 153 | productType = "com.apple.product-type.application"; 154 | }; 155 | 82BBC5E41E0E7F650071B9F1 /* GenerateCases */ = { 156 | isa = PBXNativeTarget; 157 | buildConfigurationList = 82BBC5F41E0E7F650071B9F1 /* Build configuration list for PBXNativeTarget "GenerateCases" */; 158 | buildPhases = ( 159 | 82BBC5E11E0E7F650071B9F1 /* Sources */, 160 | 82BBC5E21E0E7F650071B9F1 /* Frameworks */, 161 | 82BBC5E31E0E7F650071B9F1 /* Resources */, 162 | ); 163 | buildRules = ( 164 | ); 165 | dependencies = ( 166 | ); 167 | name = GenerateCases; 168 | productName = GenerateCases; 169 | productReference = 82BBC5E51E0E7F650071B9F1 /* GenerateCases.appex */; 170 | productType = "com.apple.product-type.xcode-extension"; 171 | }; 172 | /* End PBXNativeTarget section */ 173 | 174 | /* Begin PBXProject section */ 175 | 82BBC5C91E0E7F380071B9F1 /* Project object */ = { 176 | isa = PBXProject; 177 | attributes = { 178 | LastSwiftUpdateCheck = 0810; 179 | LastUpgradeCheck = 0810; 180 | ORGANIZATIONNAME = "Timur Galimov"; 181 | TargetAttributes = { 182 | 82BBC5D01E0E7F380071B9F1 = { 183 | CreatedOnToolsVersion = 8.1; 184 | DevelopmentTeam = 34BUG46ZSN; 185 | ProvisioningStyle = Automatic; 186 | }; 187 | 82BBC5E41E0E7F650071B9F1 = { 188 | CreatedOnToolsVersion = 8.1; 189 | DevelopmentTeam = 34BUG46ZSN; 190 | ProvisioningStyle = Automatic; 191 | }; 192 | }; 193 | }; 194 | buildConfigurationList = 82BBC5CC1E0E7F380071B9F1 /* Build configuration list for PBXProject "SwitchCaseGenerator" */; 195 | compatibilityVersion = "Xcode 3.2"; 196 | developmentRegion = English; 197 | hasScannedForEncodings = 0; 198 | knownRegions = ( 199 | en, 200 | Base, 201 | ); 202 | mainGroup = 82BBC5C81E0E7F380071B9F1; 203 | productRefGroup = 82BBC5D21E0E7F380071B9F1 /* Products */; 204 | projectDirPath = ""; 205 | projectRoot = ""; 206 | targets = ( 207 | 82BBC5D01E0E7F380071B9F1 /* SwitchCaseGenerator */, 208 | 82BBC5E41E0E7F650071B9F1 /* GenerateCases */, 209 | ); 210 | }; 211 | /* End PBXProject section */ 212 | 213 | /* Begin PBXResourcesBuildPhase section */ 214 | 82BBC5CF1E0E7F380071B9F1 /* Resources */ = { 215 | isa = PBXResourcesBuildPhase; 216 | buildActionMask = 2147483647; 217 | files = ( 218 | 82BBC5D71E0E7F380071B9F1 /* Assets.xcassets in Resources */, 219 | 82BBC5DA1E0E7F380071B9F1 /* MainMenu.xib in Resources */, 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | }; 223 | 82BBC5E31E0E7F650071B9F1 /* Resources */ = { 224 | isa = PBXResourcesBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | ); 228 | runOnlyForDeploymentPostprocessing = 0; 229 | }; 230 | /* End PBXResourcesBuildPhase section */ 231 | 232 | /* Begin PBXSourcesBuildPhase section */ 233 | 82BBC5CD1E0E7F380071B9F1 /* Sources */ = { 234 | isa = PBXSourcesBuildPhase; 235 | buildActionMask = 2147483647; 236 | files = ( 237 | 82BBC5D51E0E7F380071B9F1 /* AppDelegate.swift in Sources */, 238 | ); 239 | runOnlyForDeploymentPostprocessing = 0; 240 | }; 241 | 82BBC5E11E0E7F650071B9F1 /* Sources */ = { 242 | isa = PBXSourcesBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | 82BBC5ED1E0E7F650071B9F1 /* SourceEditorExtension.swift in Sources */, 246 | 82BBC5EF1E0E7F650071B9F1 /* SourceEditorCommand.swift in Sources */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | /* End PBXSourcesBuildPhase section */ 251 | 252 | /* Begin PBXTargetDependency section */ 253 | 82BBC5F21E0E7F650071B9F1 /* PBXTargetDependency */ = { 254 | isa = PBXTargetDependency; 255 | target = 82BBC5E41E0E7F650071B9F1 /* GenerateCases */; 256 | targetProxy = 82BBC5F11E0E7F650071B9F1 /* PBXContainerItemProxy */; 257 | }; 258 | /* End PBXTargetDependency section */ 259 | 260 | /* Begin PBXVariantGroup section */ 261 | 82BBC5D81E0E7F380071B9F1 /* MainMenu.xib */ = { 262 | isa = PBXVariantGroup; 263 | children = ( 264 | 82BBC5D91E0E7F380071B9F1 /* Base */, 265 | ); 266 | name = MainMenu.xib; 267 | sourceTree = ""; 268 | }; 269 | /* End PBXVariantGroup section */ 270 | 271 | /* Begin XCBuildConfiguration section */ 272 | 82BBC5DC1E0E7F380071B9F1 /* Debug */ = { 273 | isa = XCBuildConfiguration; 274 | buildSettings = { 275 | ALWAYS_SEARCH_USER_PATHS = NO; 276 | CLANG_ANALYZER_NONNULL = YES; 277 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 278 | CLANG_CXX_LIBRARY = "libc++"; 279 | CLANG_ENABLE_MODULES = YES; 280 | CLANG_ENABLE_OBJC_ARC = YES; 281 | CLANG_WARN_BOOL_CONVERSION = YES; 282 | CLANG_WARN_CONSTANT_CONVERSION = YES; 283 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 284 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 285 | CLANG_WARN_EMPTY_BODY = YES; 286 | CLANG_WARN_ENUM_CONVERSION = YES; 287 | CLANG_WARN_INFINITE_RECURSION = YES; 288 | CLANG_WARN_INT_CONVERSION = YES; 289 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 290 | CLANG_WARN_SUSPICIOUS_MOVES = YES; 291 | CLANG_WARN_UNREACHABLE_CODE = YES; 292 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 293 | CODE_SIGN_IDENTITY = "-"; 294 | COPY_PHASE_STRIP = NO; 295 | DEBUG_INFORMATION_FORMAT = dwarf; 296 | ENABLE_STRICT_OBJC_MSGSEND = YES; 297 | ENABLE_TESTABILITY = YES; 298 | GCC_C_LANGUAGE_STANDARD = gnu99; 299 | GCC_DYNAMIC_NO_PIC = NO; 300 | GCC_NO_COMMON_BLOCKS = YES; 301 | GCC_OPTIMIZATION_LEVEL = 0; 302 | GCC_PREPROCESSOR_DEFINITIONS = ( 303 | "DEBUG=1", 304 | "$(inherited)", 305 | ); 306 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 307 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 308 | GCC_WARN_UNDECLARED_SELECTOR = YES; 309 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 310 | GCC_WARN_UNUSED_FUNCTION = YES; 311 | GCC_WARN_UNUSED_VARIABLE = YES; 312 | MACOSX_DEPLOYMENT_TARGET = 10.12; 313 | MTL_ENABLE_DEBUG_INFO = YES; 314 | ONLY_ACTIVE_ARCH = YES; 315 | SDKROOT = macosx; 316 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 317 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 318 | }; 319 | name = Debug; 320 | }; 321 | 82BBC5DD1E0E7F380071B9F1 /* Release */ = { 322 | isa = XCBuildConfiguration; 323 | buildSettings = { 324 | ALWAYS_SEARCH_USER_PATHS = NO; 325 | CLANG_ANALYZER_NONNULL = YES; 326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 327 | CLANG_CXX_LIBRARY = "libc++"; 328 | CLANG_ENABLE_MODULES = YES; 329 | CLANG_ENABLE_OBJC_ARC = YES; 330 | CLANG_WARN_BOOL_CONVERSION = YES; 331 | CLANG_WARN_CONSTANT_CONVERSION = YES; 332 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 333 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 334 | CLANG_WARN_EMPTY_BODY = YES; 335 | CLANG_WARN_ENUM_CONVERSION = YES; 336 | CLANG_WARN_INFINITE_RECURSION = YES; 337 | CLANG_WARN_INT_CONVERSION = YES; 338 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 339 | CLANG_WARN_SUSPICIOUS_MOVES = YES; 340 | CLANG_WARN_UNREACHABLE_CODE = YES; 341 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 342 | CODE_SIGN_IDENTITY = "-"; 343 | COPY_PHASE_STRIP = NO; 344 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 345 | ENABLE_NS_ASSERTIONS = NO; 346 | ENABLE_STRICT_OBJC_MSGSEND = YES; 347 | GCC_C_LANGUAGE_STANDARD = gnu99; 348 | GCC_NO_COMMON_BLOCKS = YES; 349 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 350 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 351 | GCC_WARN_UNDECLARED_SELECTOR = YES; 352 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 353 | GCC_WARN_UNUSED_FUNCTION = YES; 354 | GCC_WARN_UNUSED_VARIABLE = YES; 355 | MACOSX_DEPLOYMENT_TARGET = 10.12; 356 | MTL_ENABLE_DEBUG_INFO = NO; 357 | SDKROOT = macosx; 358 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 359 | }; 360 | name = Release; 361 | }; 362 | 82BBC5DF1E0E7F380071B9F1 /* Debug */ = { 363 | isa = XCBuildConfiguration; 364 | buildSettings = { 365 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 366 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 367 | CODE_SIGN_IDENTITY = "Mac Developer"; 368 | COMBINE_HIDPI_IMAGES = YES; 369 | DEVELOPMENT_TEAM = 34BUG46ZSN; 370 | INFOPLIST_FILE = SwitchCaseGenerator/Info.plist; 371 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; 372 | PRODUCT_BUNDLE_IDENTIFIER = com.SwitchCaseGenerator; 373 | PRODUCT_NAME = "$(TARGET_NAME)"; 374 | SWIFT_VERSION = 3.0; 375 | }; 376 | name = Debug; 377 | }; 378 | 82BBC5E01E0E7F380071B9F1 /* Release */ = { 379 | isa = XCBuildConfiguration; 380 | buildSettings = { 381 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 382 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 383 | CODE_SIGN_IDENTITY = "Mac Developer"; 384 | COMBINE_HIDPI_IMAGES = YES; 385 | DEVELOPMENT_TEAM = 34BUG46ZSN; 386 | INFOPLIST_FILE = SwitchCaseGenerator/Info.plist; 387 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; 388 | PRODUCT_BUNDLE_IDENTIFIER = com.SwitchCaseGenerator; 389 | PRODUCT_NAME = "$(TARGET_NAME)"; 390 | SWIFT_VERSION = 3.0; 391 | }; 392 | name = Release; 393 | }; 394 | 82BBC5F51E0E7F650071B9F1 /* Debug */ = { 395 | isa = XCBuildConfiguration; 396 | buildSettings = { 397 | CODE_SIGN_ENTITLEMENTS = GenerateCases/GenerateCases.entitlements; 398 | CODE_SIGN_IDENTITY = "Mac Developer"; 399 | COMBINE_HIDPI_IMAGES = YES; 400 | DEVELOPMENT_TEAM = 34BUG46ZSN; 401 | INFOPLIST_FILE = GenerateCases/Info.plist; 402 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks"; 403 | MACOSX_DEPLOYMENT_TARGET = 10.11; 404 | PRODUCT_BUNDLE_IDENTIFIER = com.SwitchCaseGenerator.GenerateCases; 405 | PRODUCT_NAME = "$(TARGET_NAME)"; 406 | SKIP_INSTALL = YES; 407 | SWIFT_VERSION = 3.0; 408 | }; 409 | name = Debug; 410 | }; 411 | 82BBC5F61E0E7F650071B9F1 /* Release */ = { 412 | isa = XCBuildConfiguration; 413 | buildSettings = { 414 | CODE_SIGN_ENTITLEMENTS = GenerateCases/GenerateCases.entitlements; 415 | CODE_SIGN_IDENTITY = "Mac Developer"; 416 | COMBINE_HIDPI_IMAGES = YES; 417 | DEVELOPMENT_TEAM = 34BUG46ZSN; 418 | INFOPLIST_FILE = GenerateCases/Info.plist; 419 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks"; 420 | MACOSX_DEPLOYMENT_TARGET = 10.11; 421 | PRODUCT_BUNDLE_IDENTIFIER = com.SwitchCaseGenerator.GenerateCases; 422 | PRODUCT_NAME = "$(TARGET_NAME)"; 423 | SKIP_INSTALL = YES; 424 | SWIFT_VERSION = 3.0; 425 | }; 426 | name = Release; 427 | }; 428 | /* End XCBuildConfiguration section */ 429 | 430 | /* Begin XCConfigurationList section */ 431 | 82BBC5CC1E0E7F380071B9F1 /* Build configuration list for PBXProject "SwitchCaseGenerator" */ = { 432 | isa = XCConfigurationList; 433 | buildConfigurations = ( 434 | 82BBC5DC1E0E7F380071B9F1 /* Debug */, 435 | 82BBC5DD1E0E7F380071B9F1 /* Release */, 436 | ); 437 | defaultConfigurationIsVisible = 0; 438 | defaultConfigurationName = Release; 439 | }; 440 | 82BBC5DE1E0E7F380071B9F1 /* Build configuration list for PBXNativeTarget "SwitchCaseGenerator" */ = { 441 | isa = XCConfigurationList; 442 | buildConfigurations = ( 443 | 82BBC5DF1E0E7F380071B9F1 /* Debug */, 444 | 82BBC5E01E0E7F380071B9F1 /* Release */, 445 | ); 446 | defaultConfigurationIsVisible = 0; 447 | defaultConfigurationName = Release; 448 | }; 449 | 82BBC5F41E0E7F650071B9F1 /* Build configuration list for PBXNativeTarget "GenerateCases" */ = { 450 | isa = XCConfigurationList; 451 | buildConfigurations = ( 452 | 82BBC5F51E0E7F650071B9F1 /* Debug */, 453 | 82BBC5F61E0E7F650071B9F1 /* Release */, 454 | ); 455 | defaultConfigurationIsVisible = 0; 456 | defaultConfigurationName = Release; 457 | }; 458 | /* End XCConfigurationList section */ 459 | }; 460 | rootObject = 82BBC5C91E0E7F380071B9F1 /* Project object */; 461 | } 462 | -------------------------------------------------------------------------------- /SwitchCaseGenerator/Base.lproj/MainMenu.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 | 537 | Default 538 | 539 | 540 | 541 | 542 | 543 | 544 | Left to Right 545 | 546 | 547 | 548 | 549 | 550 | 551 | Right to Left 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | Default 563 | 564 | 565 | 566 | 567 | 568 | 569 | Left to Right 570 | 571 | 572 | 573 | 574 | 575 | 576 | Right to Left 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 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | --------------------------------------------------------------------------------