Beginner Xcode
  • Beginning Xcode
  • LANGS
  • Beginning Xcode
    • A Tour of the Xcode Interface
    • Adding an Image
    • Summary
    • Where to Go Next
    • Making a Minor Change
    • Getting Set Up
Powered by GitBook
On this page

Was this helpful?

  1. Beginning Xcode

Making a Minor Change

PreviousWhere to Go NextNextGetting Set Up

Last updated 5 years ago

Was this helpful?

Now we're going to change a small piece of our user interface.

  1. In the Project Navigator (the left pane of Xcode), select the Main.storyboard file.

  2. By selecting this file the middle pane becomes an editor for the user interface of our app.

  3. If you don't see the View Controller Scene on the left hand side of this pane, you can reveal it by selecting the Editor > Show Document Outline menu item.

  4. Open the View Controller Scene by clicking on the disclosure triangle to reveal a View Controller item, and open that to reveal a View item and select it.

  5. The far right pane of Xcode's window is the Utilities pane. This pane will change, depending on the item you have selected. In this case, it shows an inspector for various properties of our view.

  6. Change the color to something other than the default. I've chosen a bright green here.

  7. Click the Run button again to build and run our application.

We can see that our background view has changed color in our app now.