Xcode is the full toolset for designing iOS and Mac OS X applications, with Xcode 4 the tools have been altered to be easier, faster to utilize and more useful that ever before.
The Xcode IDE comprehends every detail of the project, identifies errors in both logic and syntax, even fixes the code for you. Xcode 4 quite simply helps you to write better code.
The one of the main features of the Xcode 4 is the UI that differs from the previous version of Xcode 3.2. The toolbar is scattered and there is iTunes LCD display and project navigator, debugger, code editor, inspectors are contained in a Single window.
The new version of developed tools occupies too much space on the disc it takes 10.05 gigabyte.
The first innovation after the creation of the new project: Xcode 4 "from the package" supports the version control version git and offers to design the local repository for the new project. It allows developer to store all the modifications even without a server at the local machine and if it is necessary to roll away to the necessary version. There are no more supports of CVS and Perforce only depositories Subversion and git are supported.
The Interface of development environment was totally changed; Interface Builder was integrated in IDE. While you select an integrated file .xib/.nib in your project the IB editor within Xcode is opening. The right-hand Utility area while opening shows the entire complement of interface inspectors, and UI objects and the library of controls as well. Drag a control from library and drop to the canvas, in order to layout your iOS and Mac OS application. The best thing of Xcode 4 is that you are able to drag connections directly to the source code from the UI design. Its new split editor layout facilitates to wire up the actions and outlets just by dragging a connection to present code only by one gesture.
The Editor has also had significant modifications. The majority of the syntax errors and addresses to the non-existent objects illuminate for beneath while running, without compilations. This version of editor may also display a detailed log of last events, and pursue blame for past check-ins. Complicated SCM commands are made for you behind the scenes. You can even manage various projects in a single workspace of Xcode 4, one project managed in Git and another in Subversion and all are updated automatically.
The new Xcode Assistant helps the Xcode two-pane editor layout becomes noticeably more powerful. The Assistant helps the IDE anticipates with other files you require to see while working. The Assistant shows you the code for the class that you are inheriting, displays automatically the corresponding header while writing the new implementation code, and while designing an interface provides you the proper controller which makes drag-and-drop code connections dramatically simple. Thanks to data model designing it will bring up the classes which back the models – all this automatically.
Apple LLVM Compiler 2.0 powering Xcode 4 has significant support for C, C++ and Objective-C. There are code completion, syntax highlighting and other index-driven features that are handled by the LLVM parser.
Collection of Navigators are on the left side, there are also sorted symbols, the list of files in the project, issue tracking, a central search interface, active and inactive breakpoints, persistent collection of logs and debugging data along with compressible stack traces. You can concentrate on your running task as the unified navigator UI provides search results and live filtering of content.
New Debugger. Xcode 4 presents LLDB a new debugging engine that is contributed by Apple to the open source project LLVM.org. The LLDB engine the same way as LLVM is created from the ground up to use up less memory, and as to performance be a rocket. It perfectly fit to the new Xcode 4 debugging interface. The navigator will display a stack trace you may compress or expand to hide or show stack frames as you debug when your application is running. Multicore debugging that is the Xcode 4 proves to be as easy as multicore coding with Grand Central Dispatch and blocks.
Jump Bar. At the top of every editor pane is a path bar showing the relative location of your current file. Click any location in the path to immediately jump to any other file at that level. This is the Jump Bar, and it is so efficient you may wish to dedicate your entire desktop to source code, quickly jumping from file to file. Jump Bar is at the head of every editor pane, it shows the relative location of the current file. To jump immediately to any other file at the level just click any location in the path. You may dedicate your whole desktop to source code, with fast file to file jumping.
Instruments for Xcode 4 complete with the new Jump Bar, have a streamlined interface and stack compression from UI. With the new launch schemes of Xcode 4, it is much easier to design a strong test harness to run the application in Instruments. That includes saving system resources for metering and running the application, keeping the data collection UI off screen and launching Instruments in “deferred mode”.
Instruments have lower overhead, cover more ground and prove to be more useful than before.
Check out our related articles: