darkFunction
19Nov/110

iOS autocompletion in Vim

I've been playing around with Vim recently and wanted to get autocompletion for my iOS project working. Vim isn't great as an IDE replacement for XCode, but it's nice to be able to jump in and edit code files quickly if you need to.

Firstly, you will need to install clang complete.

Here's what I needed to add to my .vimrc file:

let g:clang_user_options='-triple i386-apple-macosx10.6.7 -target-cpu yonah -target-linker-version 123.2 -resource-dir /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/../lib/clang/2.1 -fblocks -x objective-c++ -fblocks -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -iquote $PROJ/Classes || exit 0'

let g:clang_complete_macros = 1

Where $PROJ/Classes may be one or more paths to your source files (I actually had quite a few).

Tagged as: No Comments
18Nov/110

A change of direction…

It's been a while since I updated the sprite editor. It hasn't been abandoned, but I'm giving myself a change of scenery for a while, as there always seems to be another feature looming around the corner, dragging a fresh net of bugs behind it. The project has given me a new level of respect for the software development process, and a better understanding of my abilities and boundaries when taking on solo projects. Most of all I am extremely proud of the tool and thrilled that it is out there in the big wide world for people to use. A big thank you to everyone who has given positive and critical feedback, without that there would have been no motivation to continue.

I just got my hands on a shiny new Macbook Pro and I'm eager to jump back into iPhone development (outside the office!). I'm keeping an eye out for freelance opportunities, but I've also got the seed of a game germinating in my mind... More to come on that in future posts!

Filed under: Uncategorised No Comments