Snow Leopard and Static Code Analysis in Xcode

Posted on: by: skumancer

I’ve been enjoying Snow Leopard for a while. While developing my current application for the iPhone, I’ve been taking full advantage of Clang/LLVM’s static analysis. I’ve found it to be and indispensable tool now. I’ve been able to identify at least 20 memory leaks and other random bugs just by doing a “Build and Analyze”.

As John Siracusa puts it in his review of Snow Leopard:

I’m sure Apple is going hog-wild running the static analyzer on all of its applications and the operating system itself. The prospect of an automated way to discover bugs that may have existed for years in the depths of a huge codebase is almost pornographic to developers—platform owners in particular. To the degree that Mac OS X 10.6.0 is more bug-free than the previous 10.x.0 releases, LLVM surely deserves some significant part of the credit.

These were my exact thoughts when I first witnessed the power of the mighty tool.
For further info, check Ars Technica’s review of Snow Leopard.

Categories: Apple
Tags: , , , ,

Some iPhone development…

Posted on: by: skumancer

Work, despite being fun and challenging, is no doubt taking a lot of my time. In the few free moments I have, I’ve tried to work on both my iPhone applications and games. I also helped my dad with his hotel’s webpage, and I think its looking awesome.

Anyways, as part of my ongoing self-training for iPhone development, I’m halfway through “Beginning iPhone Development - Exploring the iPhone SDK”, a book by Dave Mark and Jeff LaMarche. It’s been fun up to now and, even though I knew a lot of the initial stuff, advanced view handling with controllers was something I had lots of trouble with.

I leave you with a screen from my latest application:

A simple game using UIPickerView

A simple game using UIPickerView

iPhone Development

Posted on: by: skumancer

Over the last few weeks, I’ve been delving deeply into the iPhone SDK and Mac OS X development. Although Mac OS has been my platform of choice and everyday usage for a long time, I hadn’t had the time to develop for it. I worked on Objective-C a little bit a few years ago, but I didn’t really commit to it.

I’m now done with the first version of my 2D engine for the iPhone. I’ll start coding and design for my game project in this week, now that I have a solid, stable framework to work on.

Here are some development screenshots: