Читать книгу Swift iOS 24-Hour Trainer - Mishra Abhishek - Страница 10

Section I
Hello iOS!
Lesson 2
A Tour of Xcode and the iOS Simulator
Try It

Оглавление

In this Try It, you launch Xcode and open the project that you created in the Try It for Lesson 1. This project was built using the Single View Application template. Once the project is opened in Xcode, you will open a file in the editor area and display the assistant editor, debugger, and utilities areas.

Lesson Requirements

• Launch Xcode.

• Create a new project using a template.

• Open a file in the editor area.

• Show the assistant editor.

• Show the debug area.

• Show the utilities area.

Hints

This Try It builds on the HelloSwift project you created at the end of Lesson 1.

Step-by-Step

1. Open the HelloSwift project you created at the end of Lesson 1 by double-clicking the HelloSwift.xcodeproj file in the finder.

2. Open the AppDelegate.swift file in the Xcode editor. Ensure the project navigator is visible and the iOSTest project is open.

3. Show the assistant editor using the editor selector buttons on the Xcode toolbar.

4. Show the debug area using the view selector buttons on the Xcode toolbar.

5. Show the utilities area using the view selector buttons on the Xcode toolbar.

REFERENCE

To see some of the examples from this lesson, watch the Lesson 2 video online at www.wrox.com/go/swiftiosvid.

Swift iOS 24-Hour Trainer

Подняться наверх