What’s new in Xcode 4

Interface Builder – Inside

In Xcode 4, Interface Builder has been completely integrated within the Xcode IDE - there is no separate application.

Assistant

With the new Xcode Assistant, the two-pane editor layout in Xcode 4 becomes dramatically more powerful.

LLVM Compiler 2.0

The LLVM compiler is the next-generation, open source compiler technology, being used in high-performance projects around the world, and is led by engineers on Apple’s compiler team. With LLVM compiler 2.0, the full compiler stack - from the front end parser, to the back end code optimizer - completely supports C, Objective-C, and C++.

LLVM is fast. It compiles code twice as quickly as GCC, yet produces final applications that also run faster. This is because the compiler was built from the ground up as a set of highly optimized libraries, easy to extend, easy to optimize, and designed for today’s modern chip architectures.

With Xcode 4, the compiler is more than a command-line tool. LLVM is fully integrated into the IDE itself. Syntax highlighting, code completion, and every other index-driven feature is handled by the LLVM parser. If the compiler knows about a symbol, so does the Xcode IDE. C, C++, and Objective-C are all accurately understood at editing time, exactly as they are when building.