Updated Course: Your First iOS 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
Share

If you’re a beginner to iOS development (or if you know someone who is), our Your First iOS App course is the place to start. This epic 48-episode course is updated for iOS 12 and Xcode 10.

In this course, you’ll pick up fundamental skills by creating a simple but fun iPhone game called Bull’s Eye. You’ll learn how to add controls like buttons and sliders to your app, how to access those controls from code, how to style your apps to make them look great, and even run the app on your own iPhone. Along the way, you’ll also learn the basics of programming in Swift.

Take a look at what’s inside:

Part 1: Basic Controls

Introduction: 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 part.

Challenge: Making a Programming To-Do List: 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!

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

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

Solving Problems: Learn how to solve problems beginners frequently run into, such as what to do when your app crashes.

Challenge: Connecting Actions: Practice connecting an action performed on a button – such as a tap – to some Swift code that you write.

How Does an App Work: Learn how apps actually work under the hood, by learning about objects, messages, and events.

Portrait vs. Landscape: Learn how to convert your app from portrait to landscape mode.

Challenge: Basic Controls: Practice adding basic controls like sliders, buttons, and labels into your app by creating the basic layout for the Bull’s Eye game.

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

Part 2: Outlets

Introduction: Let’s review what you’ll be learning in this part, and why it’s important.

Objects, Data and Methods: Learn the basics of object-oriented programming, so you can better understand the Swift code you are writing.

Strings: Learn about a very important data type you’ll use in your iOS apps, which you can use to store a sequence of characters.

Variables: Learn how to detect when the user moves the slider, and how to store the result in a variable.

Challenge: Your First Bug: In this challenge, you’ll come across your first bug – and you’ll try and fix it.

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

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

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

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

Part 3: Coding Basics

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

Challenge: How to Calculate the Difference: See if you can figure out an algorithm to calculate the positive difference between the target value and the slider value.

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

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

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

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

Challenge: Showing the Score: Practice some coding basics by modifying Bull’s Eye to display the player’s total score.

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

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

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

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

Part 4: Coding Practice

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

Challenge: Local vs. Instance Variables: 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.

Closures: 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.

Challenge: Starting Over: Get some more coding practice by implementing the "Start Over" button in Bull’s Eye.

Adding Extra Screens: Learn how to add multiple screens to your iOS apps, by adding an About screen into Bull’s Eye.

Challenge: Adding Extra Screens: Practice adding multiple screens into your iOS apps, by adding an About the Author screen into Bull’s Eye.

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

Part 5: Styling the App

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

Styling with Images and Labels: Learn how to add a background image to your app, and style labels.

Challenge: Styling with Labels: In this challenge, you’ll style the rest of the labels in Bull’s Eye.

Styling with Buttons and Sliders: Learn how to style buttons to use custom images, and style sliders to use custom thumb images.

Challenge: Styling the About Screen: In this challenge, you’ll get practice with styling your apps by improving the look of the About screen.

Web Views and Developer Documentation: Learn how to add web views into your apps to display web pages, and learn how to use Xcode’s developer documentation in your day-to-day development.

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

Challenge: Introduction to Auto Layout: In this challenge, you’ll get practice with auto layout by setting up Auto Layout on the About screen.

App Icon and Display Name: Learn how to set up your app icon, and change the display name of your app.

Running the App on your Device: Learn how to run your app on your own physical device so you can carry it around and show it off to your friends!

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