Swift - Learn by doing

Learn Swift programming language with lectures and quizzes. It is the future language of Mac OS and iOS development
3.7 (28 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
2,262 students enrolled
Free
Start Learning Now
  • Lectures 60
  • Length 4 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 6/2014 English

Course 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.

What are the requirements?

  • OS X version 10.9.3 or later
  • XCODE 6

What am I going to get from this course?

  • In this course you will learn Swift basic, operators, tuples, arrays, dictionaries, functions.
  • By the end of the course you can program in Swift.

What is the target audience?

  • 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.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Intro to Swift World
01:06

Introduction to course : Swift

04:47

How to setup Xcode 6 and first look of playground.

Discussion forum
Article
Section 2: Basics
03:19

Introduction to Swift constants and variables

Swift constants and variables
1 question
01:34

How a variable and constant type is declared.

Type Annotations
1 question
04:39

Swift convention for naming variables and constants.

2 questions

Test your skill for naming constant or variable in Swfit

05:12

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

Printing, comments and semicolons
1 question
Integers
04:34
1 question

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

Floating-Point Numbers
01:39
04:24

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
2 questions
06:07

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

Numeric Literals
1 question
04:16

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

Numeric Type Conversion
2 questions
Type Aliases
01:25
03:02

Swift has Boolean type bool for variable and constant.

Tuples
04:47
Tuples
1 question
05:00

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.

Optionals
2 questions
02:25

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

01:36

nil in Swift is bit different than in Objective-C

02:50

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

Implicitly Unwrapped Optional
1 question
03:26

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

Section 3: Basic Operators
Terminology
02:44
03:04

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

Assignment Operator
1 question
03:30

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

Arithmetic Operators
1 question
03:36

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

Remainder Operator
2 questions
04:45

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

Increment and Decrement Operators
2 questions
01:37

Compound assignment operator combines assignment with another operation.

Compound assignment operator
1 question
03:04

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

Comparison Operators
1 question
02:28

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

Ternary Conditional Operator
1 question
04:56

Range operator contains range value inclusive or half inclusively.

Range Operator
1 question
Logical Operators
05:50
Logical Operators
3 questions
Section 4: Strings and characters
01:37

String contains encoding independent Unicode characters

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
Section 5: Collection Type
01:02

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

02:55

There are two ways to declare an array.

Array declaration
1 question
12:25

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

Accessing and modifying array
8 questions
02:40

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

Iteration over an array
1 question
04:17

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

Initialization of Array
1 question
02:46

Dictionary contains unordered list of key, value pairs.

03:18

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

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
Section 6: Control Flow
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

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Hello Udemy World,

I am Md Sajjadul Farooque Robin. I am currently working as software engineer at Mitel. I am working with web technology, games to embedded systems. I have started working with PHP, MySQL since 2004. Since the introduction of MongoDB and nodejs. I regularly attend different meetups.

Learning new tools, programming language is my passion. I also feel that teaching is also another way of learning more and gather experience. As Apple has announced a new language Swift, it is always worth to learn and give a try. For Swift, I tried to gather as much as information possible. I am going to present courses with quizzes as much as possible. I feel course gives you knowledge but quiz makes you remember things in a better way.


Ready to start learning?
Start Learning Now