Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds


Free Preview: Create iOS Apps With Swift


  • Overview
  • Transcript

iOS 10 has just been released, and with it, Swift 3. Swift is a new programming language from Apple, designed specifically for creating iOS, macOS, and watchOS apps. Swift has a powerful type system for safe programming and adds many features to make the lives of programmers easier. Even though it's only a couple of years old, Swift is already very popular with iOS developers.

In this course you will learn how to use Swift 3 to create iOS apps. Whether you're new to iOS app development or are looking to make the switch from Objective-C, this course will get you started with Swift for app development. You'll learn about all the basic features of the language, from variables to classes. You'll also get an introduction to using Xcode for app development as you follow along with Markus implementing the course project: an interactive Fibonacci sequence viewer.

We've built a complete guide to help you learn Swift, whether you're just getting started with the basics or you want to explore more advanced topics: Learn Swift.

1. Introduction

1.1 Introduction

Every year in September or October, Apple releases a new version of its iOS mobile operating system. Sometimes big changes come along, like a new programming language two years ago. This year it is time for Swift 3, which is a massive change compared to its predecessor. Hello and welcome. My name is Markus Mühlberger and welcome to this Envato Tuts+ course, Create iOS apps with Swift 3. If you're new to iOS programming, it is the perfect time to learn it. Swift 3 is not compatible to earlier versions, so you will need to learn a lot anyways. We start with an overview of the Xcode user interface, followed by a crash course in the Swift language. In this course, I will also teach you about important language features, while developing a simple iOS app. You are going to learn about different design patterns in the language, and how you can use them in a real application. Lastly, you will receive some tips on the changes between Swift 2 and 3, since many examples on the Internet are showing older versions. If you are ready to start programming on iOS, I will see you in the first lesson.

1.2 Project Overview

Hi and welcome back to create apps for Swift 3. In this lesson, I'm going to show you the example application we are going to build, the trials that we will be touching throughout the course, and how the repository's organized. This is our sample application. It is a very simple app and it shows the Fibonacci sequence in a table for you. When you scroll down you can see that the values are calculated asynchronously. When you have a look at the detail view you can also look at the sequence that makes a Fibonacci number. I have used the default master detail application template. We will create two new files in this course. One is a table of your data source. The second one calculates and represents a Fibbonacci number. We are also going to change the generated view controllers, for example, to programmatically generate UI elements. The story bot is almost unchanged. I just moved the label of the detail view from the center to the top but we are going to do that during the course. The crash course will be done in a playground. But I'm going to add and delete lines of code there pretty harshly. So this will not be committed to the course's repository. All files belonging to the project however will be provided. As usual I will also create one commit per lesson. So you can start following along in the middle of the course as well if you like. In the next lesson I will give you an overview of the Xcode user interface, see you there.