Worthy iOS development tools (v2)
15 May 2020
This is an update to another old article called Worthy iOS development tools.
Here is the updated list of tools:
IDE and editors
- Xcode: #1 IDE from Apple. I think Xcode needs no introduction, it’s been around for so long and, for better and worse, it’s our go to development tool. (I say that because people sometimes complain about it, but we can always do our thing with it)
- AppCode - JetBrains' alternative to Xcode, very similar to IntelliJ IDEA
- Sublime Text - text editor for code, especially useful for multiple selection and editing
- Typora - a nice free markdown editor
I do almost all my coding (Swift and Obj-C) in Xcode and all the rest in Sublime (Ruby, HTML, read log files, … even open the occasional Swift file) since it has so many plugins. I recently started used Typora for all markdown documents, I find it very nice.
Dependency management
-
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 73 thousand libraries and is used in over 3 million apps. CocoaPods can help you scale your projects elegantly.
-
The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
- comes with any Swift 3+ version and is now available directly in Xcode
- don’t let the name fool you, many Objective-C projects support this dependency manager
-
Carthage -
A simple, decentralized dependency manager for Cocoa
I will keep this article short and write a more detailed article about CocoaPods vs SPM vs Carthage and how to choose one vs the other.
For now, I use CocoaPods in all my projects for the abilities to customize the install flow and to pick static vs dynamic linking for each dependency.
Design
-
Sketch is a vector graphics editor for macOS developed by the Dutch company Bohemian Coding. It was first released on 7 September 2010 and won an Apple Design Award in 2012. It is primarily used for user interface and user experience design of websites and mobile apps and does not include print design features.
-
The Free & Open Source Image Editor
-
Adobe Photoshop is a raster graphics editor developed and published by Adobe Inc.
-
Sip - color picker + transform to
UIColor
/NSColor
/ … -
Beautiful products happen here The better way to share, organize and collaborate on designs—built with developers in mind.
I used all the tools I listed here in different moments and on different projects. The one constant is I always have GIMP installed and ready for some quick editing.
Image handling
- Resizer - generate non-retina images from retina ones
- ImageOptim - nice&easy ui for pngcrush
ImageOptim is something I use constantly, before checking in files to git, just to keep the small.
Debugging
-
Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).
-
SQLite Browser - SQLite browser
Charles is a tool that comes very handy when debugging a networking component or a networking problem. It’s not very easy to learn, as it has very low level details, but once you do, it will give you all the information you need.
Source control
-
Git - the default option for source control for most developers
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
-
Github - web based hosting service for git / mercurial / svn projects
GitHub is a development platform inspired by the way you work. From open source to business, you can host and review code, manage projects, and build software alongside 50 million developers.
-
From project planning and source code management to CI/CD and monitoring, GitLab is a complete DevOps platform, delivered as a single application.
-
Bitbucket is more than just Git code management. Bitbucket gives teams one place to plan projects, collaborate on code, test, and deploy.
-
SourceTree - git, mercurial, svn (svn via git) client
Over the last years, I started working more and more with git (almost all projects are git hosted) and GitHub, as it’s a very powerful dev platform with a lot of integrations (like CI tools, …). GitLab and BitBucket are good alternatives that offer free private repos (where GitHub only offers free open-source repos and you need to pay for the private ones). GitLab is a company I follow and admire, they have a very interesting trajectory and have always been a “remote” company with high standards.
Continuous Integration
-
GitHub actions - new and very nice
GitHub Actions connects all of your tools to automate every step of your development workflow. Easily deploy to any cloud, create tickets in Jira, or publish a package to npm. Want to venture off the beaten path? Use the millions of open source libraries available on GitHub to create your own actions.
-
Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you’ll be testing your code in minutes.
-
Continuous integration and delivery built for mobile: Automate iOS and Android builds, testing and deployment from your first install to the one millionth.
-
The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
I used Travis CI, Bitrise, Jenkins and now recently started using GitHub actions, I think they all have pros and cons, so I can’t really recommend one vs the other.
Diff and merge
- Araxis Merge - I have been using Araxis Merge for over a decade and I still like it very much. They kept adding features over the years, but the core diff tool is just great.
- Kaleidoscope
Crash reporting
Linting
-
A tool to enforce Swift style and conventions, loosely based on GitHub’s Swift Style Guide.
SwiftLint hooks into Clang and SourceKit to use the AST representation of your source files for more accurate results.
-
A linter tool to normalize
.xib
and.storyboard
files. Inspired by realm/SwiftLint
I usually setup SwiftLint for every project I work on, just to make sure everyone follows the same conventions. I think it helps a lot, especially avoid unwanted antipatterns like forced unwraps. If you want to keep your Interface Builder files clean and without issues, I also recommend setting up IBLinter in a similar manner.
Command line tools
-
The easiest way to automate building and releasing your iOS and Android apps
-
CUPERTINO
- Automate administrative tasks that you would normally have to do through the Apple Dev Center websiteHOUSTON
- Send push notifications from the command lineDUBAI
- Generate Passbook .pkpass files with easeVENICE
- Secure your In-App-PurchasesSHENZHEN
- Create development builds and then distribute them via TestFlight, HockeyApp, Amazon S3, or FTP
Tags:
💬 Comments
Post comment using GitHub