Hoping to leverage my existing knowledge of these other IDEs, after a brief introduction to XCode I decided to try AppCode, the JetBrains Objective-C IDE.
AppCode runs on top of XCode, meaning XCode must be installed, and even uses XCode for all graphical UI editing capabilities. Anytime you open a Storyboard (.storyboard) or Interface Builder (.xib) file in AppCode, it launches XCode to interact with that file.
At first glance I like the overall layout of AppCode better, but that could be just because I am unfamiliar with XCode, where I still have a hard time finding things. And AppCode's Darkula theme is so much easier on the eyes than the bright white editor of XCode. Already being fluent with IntelliJ's keyboard shortcuts, it was pretty easy to get started. AppCode also gives you the option to use XCode's keyboard shortcuts (as well as many others).
One of the features I appreciate most about IntelliJ is the powerful code completion and code generation engine. The ability to quickly hit Option+Enter to generate a new class/method/variable on the fly saves a ton of time when coding. While the same concept exists in AppCode, these tools seem slightly less refined in IntelliJ's younger cousin.
For example, when attempting to call a method that does not exist, the statement is underlined in red.
The method someFunctionThatDoesNotExist appears with a red underline because it is not yet defined. |
The Option+Enter keyboard shortcut for Quick Fix reveals the ability to create a new method or property. |
The method someFunctionThatDoesNotExist is currently undefined. |
Quick fix keyboard shortcut does not reveal create method/property options when nested in a macro. |
Result of someFunctionThatDoesNotExist is assigned to a local variable. |
Option to create new method/property is revealed when declared outside the macro. |
For more code generation goodness, checkout this article on the official AppCode Blog.
Does anyone else have experience using both XCode and AppCode? If so, I am interested to hear about which one you like better and why in the comments.
I love JetBrains too, but I'd give Xcode a chance (note, I also have a license to AppCode). You'll still have to use Xcode regardless, and it does have a lot of tools. And obviously you can at least set the editor to a darker color (though I agree, Darcula rocks).
ReplyDeleteSo why do I stick to Xcode? At least for now, it's because everything is in one place. The point of an IDE is to be self contained, and switching between AppCode and Xcode feels odd. Besides, whether I use AppCode or not, I have to use Xcode.
I still love my IntelliJ IDEs, but for now, for iOS, I stick to Xcode.