A simple Xcode Source Editor Extension that will generate the methods required for conformance to Swift’s Equatable protocol. You can select any Swift struct of class and with a menu item selection or keyboard shortcut, Swift Equatable Generator will create the extension and == method required to make it Equatable comparing each of the selected properties, saving you lots of time typing out boilerplate code. […]
An Xcode Source Editor Extension that will generate a Swift initialiser based on the properties you’ve selected. You start by highlighting the Swift stored properties from your struct or class that should be included in the initialiser and then select the menu option or use the keyboard shortcut. Swift Initializer Generator will then insert an initialiser that assigns values to the selected properties. This can be really useful if you’ve made a struct public and now have to provide the initialiser yourself, especially if you have a lot of properties. […]
An Xcode Source Editor Extension that lets you add import statements from anywhere in your code. Import gives you a simple keyboard shortcut and menu item that will move any import statements from the currently selected line into the proper position at the top of the file. This can be a real timesaver and stop you losing your place when you’re half way down a long file and realise you’re missing an import. Import supports Swift, Objective-C, C++, and C. […]
A command line tool written in Swift that searches source-code files for comments which begin with tags such as // TODO: or // SERIOUS:. When XcodeIssueGenerator finds a match, it writes a warning or error to the Issue Navigator. Because it runs post-build, it does not trigger √¢‚Ç¨≈ìtreat warnings as errors√¢‚Ç¨¬ù allowing you to use Issue Navigator, while still blocking compilation with other project warnings. Additional options that let you specify build configuration, comment tags for which to search, and exclude directories. […]
An Xcode plugin that shows you a break down of Swift build times. Build Time Analyzer uses the log files generated by Xcode when building to display a function by function list detailing exactly how long it took the compiler to build your project. The Swift compiler can sometimes be surprisingly fussy about certain code expressions, causing a dramatic increase in build time. This plugin helps you identify which syntax atrocities you need to commit to save yourself a lot of time waiting for builds to complete. […]
An open source tool that takes the tedium out of creating Auto Layout constraints. Auto Layout Magic can create all the constraints you need in the case where you have a single screen that scales up or down to fit the device screen size. In this case each view has a proportional width and height relative to the screen size and is is placed at an X and Y coordinate which is a proportional distance to the main views trailing and bottom edge. Auto Layout Magic will automatically add these four constraints to all your views saving you a lot of time. […]
An Xcode plugin for the Gradle build management tool that adds support for building Xcode projects. Gradle Xcode Plugin can execute a build on your Mac but also integrates nicely with various build servers like Jenkins, Go, etc. The plugin not only builds the application, but also has support for code signing, packaging and distribution which can all be configured with a single configuration file. It also integrates with several third-party services including Cocoapods, HockeyApp, Crashlytics, and more.
An Xcode plugin for refactoring Swift and Objective-C. Refactorator can rename public or internal vars, functions, enums etc. It accesses the SQLite database Xcode compiles using SourceKit to understand your code, making it fast and means all targets of a project are included in refactoring including code written in Objectve-C. To refactor some code, select a symbol in a Swift file and click the right-click menu item to list places in the target that declare or refer to that symbol. Enter a new value for the identifier in the bottom textfield and click the Preview button to view the changes that would be made. Click the Save button to save these changes to disk. There is also an Undo button to revert the changes if you need to.
An Xcode plugin that lets you build and run selected lines of code in Xcode without running the whole project. With VWInstantRun you can quickly test a tiny piece of Objective-C or Swift code without having to run the whole project. You just select your code in Xcode, then either use the hotkey or select the ‘Instant Run’ option from the ‘Product’ menu to build and run the selected lines, you’ll have the output instantly in your Xcode console. It’s currently limited to only support Foundation module, but development is ongoing to add additional support. […]
An Xcode plugin for refactoring Swift code. Swifactor will rename public or internal vars, functions, enums etc. For private and local entities you can use Xcode’s existing “Edit All in Scope” functionality, but for anything else there is not currently a built in way to refactor your Swift code. Swifactor uses SourceKit to parse your project’s Swift sources and accurately find symbol references. Where a symbol is defined in a framework Swifactor will also parse across targets to the framework if you start in the referring module. […]