0% found this document useful (0 votes)
23 views12 pages

1-08 Interface Builder Basics

Uploaded by

Abhijeet Mishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views12 pages

1-08 Interface Builder Basics

Uploaded by

Abhijeet Mishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Unit 1—Lesson 8:

Interface Builder Basics


Common system views

Window Assembled views


Navigation view

Custom view hierarchy Tab bar view


Interface Builder
Storyboards
Hello
Create a new project
Hello
Project options
Hello
Default project
Hello
Hello
Hello
Complete the greet function
@IBAction func greetButtonTouched(_ sender: Any) {
greetingLabel.text = "Hello, " + nameTextField.text!
}
Unit 1—Lesson 8
Interface Builder Basics
Learn how to navigate through Interface
Builder, add elements onto the canvas,
and interact with those elements in code.
Unit 1—Lesson 8
Lab: Use Interface Builder
1. Create an Xcode project
2. Create a simple view with Interface Builder
3. Use the Assistant Editor to connect your view
© 2021 Apple Inc.
This work is licensed by Apple Inc. under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.

You might also like