Game World!

Join A World Of Gamers

Enter your email address:

Delivered by FeedBurner

Followers

Popular Posts

Saturday 26 June 2021

How do I change my Xcode settings?

 By Neal Goldstein, Dave Wilson

You have to work within the context of an Xcode project to develop an iOS app. Xcode gives you options galore. You probably won’t change any of them until you have a bit more programming experience under your belt, but a few options are actually worth thinking about now.

Follow these steps to set some of the preferences you’ll find useful:

  1. With Xcode open, choose Xcode→Preferences from the main menu.

  2. Click the Behaviors tab at the top of the Preferences window to show the Behaviors pane.

    The Xcode Preferences window refreshes to show the Behaviors pane.

    The left side of the pane shows the Events pane (the check marks indicate events for which settings are set), while the right side shows the possible actions for an event.

  3. Select (Running) Generates output in the left column and then choose the Show, Hide, or If No Output Hide option from the Debug area pop-up menu to the left of the debugger in the right pane.

    This step controls what appears while you run your app. By default, you’ll find that the check box for showing the debugger in the Debug area is selected.

  4. Select other options from the left column (perhaps (Build) Starts, (Build) Generates new issues, (Build) Succeeds, and (Build) Fails)) and experiment with the options available.

    You can link an event with playing a sound or have an event trigger the Xcode icon bouncing up and down in the Dock. You can change many options in the Behaviors pane. Take a look through them and experiment — they can make your life much easier.

    This figure shows the behaviors chosen for if the run pauses. (Pause means the run hits, say, a breakpoint.) Some people like to have a sound inform them in case they’re busy daydreaming (submarine seems like the appropriate sound to play here).

    image0.jpg

    This figure shows the behaviors that have been chosen for if a build fails. A sound is good for this occurrence as well. You might also want to have the Issue navigator display. It’s also good to have it navigate to the first new issue.

    image1.jpg

  5. Click the Downloads tab at the top of the Preferences window and then select Documentation in the segmented control.

  6. Select the Check for and Install Updates Automatically check box, and then click the Check and Install Now button.

    This step ensures that the documentation remains up-to-date and allows you to load and access other documentation.

  7. 7. (Optional) Click the Fonts & Colors tab at the top of the Preferences window and use the options to change your workspace theme.

  8. (Optional) Click the Text Editing tab at the top of the Preferences window and set your text editing preferences.

    You can set the Indent width to 2 in the Indentation settings to get as much code on a line as possible.

  9. Click the red Close button in the top-left corner of the window to close the Xcode Preferences window.

About the Book Author

Jesse Feiler is a developer, consultant, and author specializing in Apple technologies. He is the creator of Minutes Machine for iPad, the meeting management app, and Saranac River Trail and is heard regularly on WAMC Public Radio for the Northeast’s The Roundtable.

Floating Button

Button