O'Reilly logo

Beginning Mac OS® X Programming by Drew McCormack, Michael Trent

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.7. Summary

The Mac OS X development workflow is built around the Xcode IDE. You used Xcode to write and build a number of small projects. Xcode's source editor gave you a hand by providing several tools for arranging and navigating your source code. The integrated build system and run log turned your code into a useful program. And when things didn't go right, the debugger allowed you to see what was really going on in your program. Xcode even threw in a documentation browser for good measure.

The Documentation window also includes a Tools group where you can find documentation for most of the developer tools in Mac OS X, including Xcode. This chapter presents enough information to help you get started with Xcode. You can learn a lot more about Xcode by reading its online manual.

In this chapter you learned

  • How to create new projects in Xcode by starting with a template that matches the kind of project you want to make.

  • How to organize files in an Xcode project. You can structure the contents of your project's Groups & Files list however you like. When you select a group in the Groups and Files list, Xcode displays all the files in that group in the file list on the right side of the project window.

  • How Xcode can help you write and format your code. You can manually format your code using the Tab key and Shift Left and Shift Right menu commands, or you can configure Xcode to automatically indent your code while you type.

  • How to build and run your application and examine your project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required