Lesson 4 – Super-Charge XCode

This lesson is about using XCode efficiently: you will learn how to get to documentation, use code-sense (XCode code completion and hints), organize your code and more. This content is a must to help you make the best use of your time in XCode

Lesson 4 Notes

Supercharging XCode

  • Hold the command key and double click on class names to go right to the definition in the header file
  • Remember to customize XCode by setting preferences to suit your workflow
  • - including: source control management, code color coding, code completion and formatting behavior
  • Check out the header files in your Frameworks directory often to learn new functions available to you
  • Control click will give you context sensitive editing tools: including re-factoring and code folding
  • Start getting familiar with the debugger, console and setting breakpoints
  • Instruments are available in XCode to help you manage memory allocation and leaks
  • Take Action

    From your XCode help menu select the “XCode Workspace Guide” and look over the contents of that document.

    Get more familiar with XCode by looking over the features that were described in the video lesson. Spend some time playing with the program but do not let the sometimes overwhelming features stop you from moving on to the next module where you will learn programming. You can always come back to this lesson to get a refresher on XCode’s capabilities as you need to integrate them into your workflow.

    Discussion

    Use the comment field below to discuss what you learned in this lesson. You may also use this comment field to ask and answer questions about the course material. If you found any interesting XCode features be sure to share them with us below!

    Click here to go right to the next module, “Programming 101 with C” if it is available.

    Click here to return to Module 1