How to Use the Content Editors in the Workspace Window to Develop iOS Apps - dummies

How to Use the Content Editors in the Workspace Window to Develop iOS Apps

By Jesse Feiler

The Editor area has a number of editors you use to edit specific iOS app content. Content editors are context based where the context is determined by the type of file you are editing. This means that the selection you make in a Navigator or Editor jump bar — the toolbar that appears at the top and is used to navigate through the files in your project — determines the Content editor.

  • Source editor: Write and edit your Objective-C source code; set, enable, or disable breakpoints; and control program execution.

  • Project editor: View and edit settings such as build options, target architectures, and code signing.

  • Interface Builder: Graphically create and edit user interface files in storyboards (and XIB files if you are not using a storyboard).

  • Property list editor: View and edit various types of small, highly structured property lists (plists). (You’ll use one for some of your program’s data.)

  • Viewer: Display files for which there is no editor (some audio, video, and graphics files, for example) using the same Quick Look facility used by the Finder.

For the sake of completeness, the other content areas are briefly described here:

  • Core Data model editor: Implement or modify a Core Data model.

  • Mapping model editor: Graphically create and edit a mapping between an old Core Data store and a new one.

  • Script editor: Create and edit AppleScript script files.

  • Scripting dictionary editor: Create and edit the scripting definition (.sdef) file — used by AppleScript — for your app.

  • Rich text editor: View and edit rich text (.rtf) files, much as you would with Text Edit.