<http://schema.org/articleBody>
"&amp;lt;vc&amp;gt;&amp;lt;strong&amp;gt;At WWDC, Apple treated its Mac OS X and iOS programmers to a preview of its entirely revised Xcode 4 integrated development environment. Here's a look at what's new and how it matters for end users.&amp;lt;/strong&amp;gt;\r\n\r\nXcode 4 presents an entirely new user interface and workflow for developers, along with new components for compiling, debugging and finding and correcting common errors. The result: better, faster code from more productive developers.\r\n\r\n&amp;lt;strong&amp;gt;One window to bind them all&amp;lt;/strong&amp;gt;\r\n \r\nThe first major feature of Xcode 4, according to developers familiar with Apple's plans, is the shift from the multiple window workflow that Xcode (and its predecessor, NeXT's Project Builder) currently uses to a new single window interface.\r\n\r\nRather than spawning new windows to search code, debug, build, and set parameters, everything can be done within a single window that echoes components of the design of iTunes, including a LCD-like status display.\r\n\r\nThe new window presents a dismissible Navigator control (akin to iTunes' Source List), with icon tabs that can present a variety of different types of development-related information within the same window column:\r\n\r\n&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;a listing of projects and files\r\n&amp;lt;li&amp;gt;a symbol listing of classes and methods \r\n&amp;lt;li&amp;gt;a search feature that lists project-wide results\r\n&amp;lt;li&amp;gt;an issues listing of build errors\r\n&amp;lt;li&amp;gt;debugging information\r\n&amp;lt;li&amp;gt;breakpoints\r\n&amp;lt;li&amp;gt;a listing of build logs&amp;lt;/ul&amp;gt;\r\n\r\nThe main area of the new Xcode windows is devoted to the document being viewed, whether code, a data model, or the project's graphical interface. This area can also be segmented to view multiple documents, presenting a comparison of their differences (such as for comparing two versions of the same code file). The content area also integrates support for viewing PDFs and other file types supported by the extendable Quick Look feature. \r\n\r\nAbove the content area is a new Jump Bar, which presents a hierarchical \"breadcrumb\" listing similar to the Path Bar introduced in iTunes and the Finder. The difference is that the new Jump Bar is fully interactive; users can click on any path along the bar and select a popup that allows them to navigate at that level. For example, in the photo below, a user can click on Resources within the Jump Bar to view (and directly jump) to other resource files within that directory via a dynamic popup window that is displayed.\r\n\r\n&amp;lt;div align=\"center\"&amp;gt;&amp;lt;img src=\"http://photos.appleinsider.com/xcode4.001.jpg\" width=\"800\" height=\"600\" alt=\"Xcode 4\" border=\"0\" /&amp;gt;&amp;lt;/div&amp;gt; \r\n\r\n&amp;lt;em&amp;gt;On &amp;lt;a href=\"http://www.appleinsider.com/articles/10/06/19/inside_apples_new_xcode_4_development_tool.html&amp;amp;page=2\"&amp;gt;page 2&amp;lt;/a&amp;gt; of 3: Now including Interface Builder.&amp;lt;/em&amp;gt;\r\n&amp;lt;!--NEWPAGE--&amp;gt;\r\n&amp;lt;vc&amp;gt;&amp;lt;strong&amp;gt;Now including Interface Builder&amp;lt;/strong&amp;gt; \r\n\r\nApple's Xcode Mac OS X developer tools, adapted alongside the iPhone 2.0 SDK to also create iOS mobile apps, originally included Project Builder for working with code and Interface Builder for laying out a program's graphical user interface and mapping elements of the GUI to the code that made it functional.\r\n\r\nBack in the late 80s, the original developer of Interface Builder, Jean-Marie Hullot, showed the graphical development concept to Apple but was wooed away to Steve Jobs' NeXT Computer, which made the advanced GUI builder part of its development tools. \r\n\r\nInterface Builder was used to rapidly develop Tim Berners-Lee's WorldWideWeb browser at CERN. Apple later &amp;lt;a href=\"http://www.appleinsider.com/articles/07/11/01/an_introductory_mac_os_x_leopard_review_developer_tools.html\"&amp;gt;acquired&amp;lt;/a&amp;gt; the technology when it bought NeXT in 1996, making it part of the Mac OS X development tool package with Project Builder, which the company has since renamed Xcode.\r\n\r\nIn Xcode 4, Interface Builder is folded into the revamped Project Builder-based IDE to create a single tool for creating both the appearance and the functionality of applications. The deep integration between the two components provides a variety of improvements in developing mobile and desktop applications.\r\n\r\nGraphical elements can now bind their outlets and actions right into source code using a graphical drag and drop gesture. A new Assistant feature in Xcode 4 allows developers to work on the GUI and source code at the same time (below).\r\n\r\n&amp;lt;div align=\"center\"&amp;gt;&amp;lt;img src=\"http://photos.appleinsider.com/xcode4.002.jpg\" width=\"800\" height=\"600\" alt=\"Xcode 4\" border=\"0\" /&amp;gt;&amp;lt;/div&amp;gt; \r\n\r\n&amp;lt;em&amp;gt;On &amp;lt;a href=\"http://www.appleinsider.com/articles/10/06/19/inside_apples_new_xcode_4_development_tool.html&amp;amp;page=3\"&amp;gt;page 3&amp;lt;/a&amp;gt; of 3: Fixit, LLVM, LLDB, Instruments.&amp;lt;/em&amp;gt;\r\n&amp;lt;!--NEWPAGE--&amp;gt;\r\n&amp;lt;vc&amp;gt;&amp;lt;strong&amp;gt;The Fixit feature&amp;lt;/strong&amp;gt; \r\n\r\nDevelopers report Apple has also introduced a new Fixit feature that provides advanced code completion and flags common bugs or typos using the same red underlining that Mac OS X uses system wide to indicate spelling errors. \r\n\r\nThe Fixit feature can suggest appropriate symbol spellings and supply correct punctuation, assisting developers to write code faster while making fewer mistakes. A static analysis can find and flag common bugs and errors such as a failure to properly release memory that is no longer needed. \r\n\r\nXcode 4 is also reported to support new version control features for collaborative development, enabling coders to checkout, commit changes and update content in projects stored on Subversion and Git version control systems (which work with multiple versions of files over time, like Time Machine). \r\n\r\nNew tools also allow users to compare different files for changes over time that have been checked into a version control system and revert or merge code into the latest version.  \r\n\r\n&amp;lt;div align=\"center\"&amp;gt;&amp;lt;img src=\"http://photos.appleinsider.com/xcode4.003.jpg\" width=\"800\" height=\"600\" alt=\"Xcode 4\" border=\"0\" /&amp;gt;&amp;lt;/div&amp;gt; \r\n\r\n&amp;lt;strong&amp;gt;Apple shares new LLDB debugger as open source with LLVM&amp;lt;/strong&amp;gt; \r\n\r\nXcode 4 is also reported to include a significant new version of the modern &amp;lt;a href=\"http://www.appleinsider.com/articles/08/06/20/apples_other_open_secret_the_llvm_complier.html\"&amp;gt;Low Level Virtual Machine&amp;lt;/a&amp;gt; (LLVM) Compiler, which Apple has been supporting as an open source project to eventually replace GNU Compiler Collection (GCC), the tool most Unix-based development systems use to convert source code to executable object code targeted to a specific processor. \r\n\r\nLLVM is a modular compiler system designed to create faster, more optimized code. The new LLVM Compiler 2 now supports C++ in addition to the C and Objective C languages, and compiles code up to twice as fast as GCC. The code it creates also runs faster than code compiled with GCC, with Mac OS X code reportedly running up to 25% faster and iOS code running as much as 60% faster, just through improvements made in optimizing the compilation of the same source code. \r\n\r\nAlso within Xcode 4 is an entirely new debugger system Apple designed for performance and efficiency, resulting in faster finding and fixing of bugs. The new debugger is modeled after LLVM's modular architecture, and is therefore named LLDB. Apple is also said to be releasing its internal LLDB project as open source, and will make it available to third parties alongside the open source LLVM compiler.\r\n\r\n&amp;lt;strong&amp;gt;Playing new Instruments&amp;lt;/strong&amp;gt; \r\n \r\nAnother major feature delivered alongside Xcode 4 will be a new version of Instruments (originally code named Xray), Apple's graphical tool for code performance profiling based on Sun's DTrace technology.\r\n\r\nThe new Instruments adds new time profiler support for iOS development, and includes new features that help developers examine how their application code interacts with other apps and the system's kernel, in order to find where apps are spending their processing time and allocating their resources in a very complex computing environment. \r\n\r\nInstruments is also said to include support for identifying abandoned memory that has been referenced but not actually needed, enabling developers to reduce the memory footprint their apps demand. The tool will also add profiling analysis support for OpenGL ES, an important tool for iOS developers building high performance games and other apps that make use of sophisticated graphics."^^<http://www.w3.org/2001/XMLSchema#string>
<http://appleinsider.com/articles/10/06/19/inside_apples_new_xcode_4_development_tool.html/page/3>