Apple has released the second preview version of its Xcode 4 developer preview at the Apple Developer web site ( It sports a new interface, automatic code fixing as you type and includes iOS SDK 4.

Xcode is the complete toolset for building Mac, iPhone, and iPad applications. Apple says that, with Xcode 4, the tools have been redesigned to be faster, easier to use, and more helpful than ever before.

“The Xcode IDE understands your project’s every detail, identifies mistakes in both syntax and logic, and will even fix your code for you,” says Apple. “Quite simply, Xcode 4 will help you write better code.”