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.
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.
Introduction to course : Swift
How to setup Xcode 6 and first look of playground.
How a variable and constant type is declared.
Swift convention for naming variables and constants.
Test your skill for naming constant or variable in Swfit
This lecture will show how to print string, use comment and semicolons;
Integers can be 8 bit, 16 bit, 32 bit, 64 bit similar to C
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.
There are four types of numeric literals: decimal, binary, octal, hexadecimal.
It is possible to convert any type of numeric literal to a different type of numeric literal in Swift.
Swift has Boolean type bool for variable and constant.
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.
Assign a optional value and check for existence at the same time in optional binding.
nil in Swift is bit different than in Objective-C
It is just another way of declaring optional variable which can not be nil after declaration.
Assertions check for condition and continue execution if it is true.
Assignment operator (=) sets value to constant or variable.
Normal arithmetic operators in Swift covers addition, subtraction, multiplication, division.
Remainder operator (%) in Swift is almost similar to C. Let's see the difference.
Increment (++), decrement (--) operator modifies single variable.
Compound assignment operator combines assignment with another operation.
Comparison operator compares variables and returns Boolean value: True or False
Ternary operator has three parts and let's see in our lecture how it works.
Range operator contains range value inclusive or half inclusively.
There are two types of collection types in Swift: Array and Dictionary.
There are two ways to declare an array.
This lecture contains how to access array value, modify value, append value and remove a value.
for-in or enumerate can be used to iterate over an array.
It's easy to declare and initialize an Array with default value in Swift.
Dictionary contains unordered list of key, value pairs.
Dictionary can be declared with literal with a pair of key, value item.
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.