Swift - Learn by doing
3.1 (32 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,303 students enrolled

Swift - Learn by doing

Learn Swift programming language with lectures and quizzes. It is the future language of Mac OS and iOS development
3.1 (32 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,303 students enrolled
Last updated 10/2015
English
English [Auto-generated]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • 1 article
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • In this course you will learn Swift basic, operators, tuples, arrays, dictionaries, functions.
  • By the end of the course you can program in Swift.
Course content
Expand all 60 lectures 03:50:09
+ Intro to Swift World
3 lectures 06:09

Introduction to course : Swift

Preview 01:06

How to setup Xcode 6 and first look of playground.

Setup Xcode and Hello Swift
04:47
Discussion forum
00:16
+ Basics
17 lectures 01:00:15

Introduction to Swift constants and variables

Preview 03:19
Swift constants and variables
1 question

How a variable and constant type is declared.

Type Annotations
01:34
Type Annotations
1 question

Swift convention for naming variables and constants.

Naming convention
04:39

Test your skill for naming constant or variable in Swfit

Naming Conventions
2 questions

This lecture will show how to print string, use comment and semicolons;

Preview 05:12
Printing, comments and semicolons
1 question
Integers
04:34

Integers can be 8 bit, 16 bit, 32 bit, 64 bit similar to C

Integers
1 question
Floating-Point Numbers
01:39

Swift has a strict type safety management system. There will be compile time error if type mis matches in variable or constant while assigning value.

Type Safety and Inference
04:24
Type Safety and Inference
2 questions

There are four types of numeric literals: decimal, binary, octal, hexadecimal.

Numeric Literals
06:07
Numeric Literals
1 question

It is possible to convert any type of numeric literal to a different type of numeric literal in Swift.

Numeric Type conversion
04:16
Numeric Type Conversion
2 questions
Type Aliases
01:25

Swift has Boolean type bool for variable and constant.

Type: Boolean
03:02
Tuples
04:47
Tuples
1 question

In Swift any variable or constant can be declared as optionals. It means it may have value or it may not. Let's see in the lecture.

Preview 05:00
Optionals
2 questions

Assign a optional value and check for existence at the same time in optional binding.

Optional Binding
02:25

nil in Swift is bit different than in Objective-C

Special Value: nil
01:36

It is just another way of declaring optional variable which can not be nil after declaration.

Implicitly unwrapped optionals
02:50
Implicitly Unwrapped Optional
1 question

Assertions check for condition and continue execution if it is true.

Assertions
03:26
+ Basic Operators
10 lectures 35:34

Assignment operator (=) sets value to constant or variable.

Assignment Operator
03:04
Assignment Operator
1 question

Normal arithmetic operators in Swift covers addition, subtraction, multiplication, division.

Arithmetic Operators
03:30
Arithmetic Operators
1 question

Remainder operator (%) in Swift is almost similar to C. Let's see the difference.

Remainder Operator
03:36
Remainder Operator
2 questions

Increment (++), decrement (--) operator modifies single variable.

Increment and Decrement Operators
04:45
Increment and Decrement Operators
2 questions

Compound assignment operator combines assignment with another operation.

Compound Assignment Operators
01:37
Compound assignment operator
1 question

Comparison operator compares variables and returns Boolean value: True or False

Comparison Operators
03:04
Comparison Operators
1 question

Ternary operator has three parts and let's see in our lecture how it works.

Ternary Conditional Operator
02:28
Ternary Conditional Operator
1 question

Range operator contains range value inclusive or half inclusively.

Range Operators
04:56
Range Operator
1 question
Logical Operators
05:50
Logical Operators
3 questions
+ Strings and characters
10 lectures 25:28

String contains encoding independent Unicode characters

Preview 01:37
String Literal
02:40
Initializing empty string
02:28
Empty String
1 question
String Mutability and Value Types
03:03
Mutability and value type
1 question
Characters
02:14
Concatenation
02:44
Concatenation of string
1 question
Interpolation
02:18
Interpolation
1 question
Comparison
03:40
String Comparison
2 questions
Case conversion
01:03
Unicode
03:41
+ Collection Type
11 lectures 46:27

There are two types of collection types in Swift: Array and Dictionary.

Preview 01:02

There are two ways to declare an array.

How to declare array collection type
02:55
Array declaration
1 question

This lecture contains how to access array value, modify value, append value and remove a value.

Accessing and modifying an Array
12:25
Accessing and modifying array
8 questions

for-in or enumerate can be used to iterate over an array.

Iterating over array
02:40
Iteration over an array
1 question

It's easy to declare and initialize an Array with default value in Swift.

Creating and initialization of Array
04:17
Initialization of Array
1 question

Dictionary contains unordered list of key, value pairs.

Dictionaries
02:46

Dictionary can be declared with literal with a pair of key, value item.

Dictionary literal
03:18
Dictionary
3 questions
Accessing, modifying and deleting dictionary
08:38
Accessing and modifying dictionary
3 questions
Iterating a Dictionary
03:19
Creating Empty Dictionary
01:44
Mutability
03:23
Mutability
2 questions
+ Control Flow
8 lectures 53:53
Intro
01:56
For-in loop
08:49
Control flow - for loop
1 question
For-condition-increment loop
02:28
While loop
04:41
Conditional if statement
05:33
Conditional Switch statement
13:53
Switch control
2 questions
Control Transfer Statement
12:03
Control Transfer Statement
3 questions
Labeled statement
04:30
+ Functions
1 lecture 02:23
Intro to welcome function
02:23
Requirements
  • OS X version 10.9.3 or later
  • XCODE 6 or later
Description

Apple has brought new programming language this june, 2014. Out of no where Apple declared Swift. It's innovative language for both Cocoa and Cocoa Touch. The fun part is interactive coding. It's a type safe language. Swift code can run besides Objective-C.

Swift cares lot of things automatically. If you already have a bit of experience from C, C++, PHP or Javascript, you already know a bit of Swift programming. This course will show those feature and pretty cool features of Swift.

As it is a new language, it is the right time to start right away. If you have developer license, you can download Xcode 6. By the time, I am making this tutorial, Apple has released Xcode 6 beta version. It will be possible to learn Swift without Xcode, cause these courses will show all code and output side by side. Courses come up with quizzes. So, you can practice always what you have learned. The more you practice, the more experience you will get. So why wait, let's dive in!!

This course will cover basics of Swift, operators, strings, collection types, control flow and functions. All of these has pretty cool features.

Finally, any kind of feedback is very much welcome. It is your input which will make this course more attractive. If you need any explanation, feel free to contact always.

Who this course is for:
  • Any one interested in programming language can take this course
  • Prior knowledge of C, C++, PHP or Javascript is good but not necessary
  • If you have passion for Apple, give Swift a try. It's awesome and be expert of it.