Your First Swift 4 & iOS 11 App

If you're a complete beginner to iOS development and wondering how to get started, this is the course for you! By Ray Wenderlich.

Leave a rating/review
Save for later
Comments
Share

Part 2: Basic Controls

01
Toggle description

Learn about the first app you'll build - a simple but fun game called Bull's Eye - and get a preview of all the things you'll learn throughout this section.

02
Toggle description

Make a programming to-do list of all the things you'll need to do to build the game. This helps build a good programming practice of gathering requirements first!

03
Toggle description

Learn how to add a button to the app and connect it to some Swift 4 code that prints a message to the console.

04
Alerts 3:17
Toggle description

Learn how to make the app display a popup alert when you tap a button.

05
Toggle description

Learn how to solve problems beginners frequently run into.

06
Toggle description

Practice connecting an action performs on a button - such as a tap - to some Swift code that you write.

07
Toggle description

Learn how apps actually work under the hood.

08
Toggle description

Learn how to convert your app from portrait to landscape mode.

09
Toggle description

Practice adding basic controls like sliders, buttons, and labels into your app by creating the basic layout for the Bulls-eye game.

10
Conclusion 0:36
Toggle description

Let's review where you are with your programming to-do list, and discuss what's next.

Part 3: Outlets

11
Toggle description

Let's review what you'll be learning in this section, and why it's important.

12
Toggle description

Learn the basics of object-oriented programming, so you can better understand the Swift 4 code you are writing.

13
Toggle description

Learn how to detect when the user moves the slider, and how to store the result in a variable. Along the way, you'll learn the basics of using Swift 4 strings.

14
Toggle description

In this challenge, you'll come across your first bug - and you'll try and fix it.

15
Toggle description

Learn about one of the fundamental techniques in iOS development: connecting views like buttons or labels from your storyboard to outlets in your code.

16
Toggle description

Learn how to add multiple rounds into Bulls-Eye, and how to write your own methods along the way.

17
Toggle description

Get some more practice connecting views from your storyboard to outlets that you can access from Swift code.

18
Conclusion 0:35
Toggle description

Let's review where you are with your programming to-do list, and discuss what's next.

Part 4: Coding Basics

19
Toggle description

Let's review what you'll be learning in this section, and why it's important.

20
Toggle description

See if you can figure out an algorithm to calculate the positive difference between the target value and the slider value.

21
Toggle description

Implement the algorithm you just designed to calculate the difference using Swift.

22
Toggle description

Try improving the algorithm to calculate the difference so it is written in less lines of code.

23
Toggle description

Finalize the difference algorithm and score calculation, and learn about an important Swift concept: the difference between variables and constants.

24
Toggle description

Add the ability to track the user's total score, and learn about something cool called Swift type inference along the way.

25
Toggle description

Practice some coding basics by modifying Bull's Eye to display the player's total score.

26
Toggle description

It's time for an even bigger challenge: modifying Bull's Eye to keep track and report the current round of the game.

27
Toggle description

Polish the app by telling the player how well they did each round.

28
Toggle description

Get some final practice with coding basics by giving the user bonus points if they are very close to the target.

29
Conclusion 0:50
Toggle description

Let's review where you are with your programming to-do list, and discuss what's next.

Part 5: Coding Practice

30
Toggle description

Let's review what you'll be learning in this section, and why it's important.

31
Toggle description

Try this challenge to make sure you understand the difference between local and instance variables, which is a common point of confusion for beginners to programming.

32
Closures 4:21
Toggle description

Learn how to use an important construct in Swift called closures, which you often use to provide a block of code that is executed some time in the future.

33
Toggle description

Get some more coding practice by implementing the "Start Over" button in Bull's Eye.

34
Toggle description

Learn how to add multiple screens to your iOS apps, by adding an About screen into Bull's Eye.

35
Toggle description

Practice adding multiple screens into your iOS apps, by adding an About the Author screen into Bull's Eye.

36
Toggle description

Let's review where you are with your programming to-do list, and discuss what's next.

Part 6: Styling the App

37
Toggle description

Let's review what you'll be learning in this section, and why it's important.

38
Toggle description

Learn how to add a background image to your app, and style labels.

39
Toggle description

In this challenge, you'll style the rest of the labels in Bull's Eye.

40
Toggle description

Learn how to style buttons to use custom images, and style sliders to use custom thumb images.

41
Toggle description

In this challenge, you'll get practice with styling your apps by improving the look of the About screen.

42
Web Views 3:42
Toggle description

Learn how to add web views into your apps to display web pages.

43
Toggle description

Learn how to use Auto Layout, a core UIKit technology that makes it easy to support many different screen sizes.

44
Toggle description

In this challenge, you'll get practice with auto layout by setting up Auto Layout on the About screen.

45
Toggle description

Learn how to set up your app icon, and change the display name of yoru app.

46
Toggle description

Learn how to run your app on your own physical device.

47
Conclusion 1:11
Toggle description

Let's review where you are with your programming to-do list, and discuss what's next.