
A brief look at Xcode and setting up your first Playground.
Create and format strings in Swift by declaring variables, using double quotes, escaping with backslashes for empty and other special characters, and printing with newlines to display a dashed list.
Count characters in a string using count elements in Swift, then convert text to uppercase or lowercase with the string properties using dot notation.
Explore how the assignment operator in Swift executes the right-hand side before assigning its value to the left-hand side, clarifying value setting for variables and constants.
Learn swift arithmetic: perform division with integers and doubles. Cast to double for accurate decimals and use the modulo operator to find leftovers, illustrated with pizza slices and 50 people.
Learn how arrays represent a line of variables in Swift, using var for mutable arrays, with type inference and explicit typing to store strings like Fred and Barney.
Explore how to remove and access array elements using dot syntax and subscript notation, update values, and understand zero-based indexing with a practical Swift example.
Learn how to use dictionaries in Swift to map string keys like name, location, occupation, and best friend to string values, build a person dictionary, and access values by key.
Explore updating a dictionary in Swift by using update value for key and by subscript assignment, then verify the location key shows the new value, such as on a boat.
Explore the not operator to invert a boolean value in Swift by placing an exclamation mark before a variable; it reads as the opposite without reassigning the value.
Learn to automate tasks with while loops, using the dry principle to avoid repetition. Track iterations with an iterator while printing results in the console.
Learn how the do while loop guarantees the block runs at least once before checking the condition, and how it keeps code DRY by avoiding repetition.
Learn how to adapt for loops to dynamic arrays by using array.count instead of hard-coded numbers, ensuring count updates with each added item, and avoiding brittle code.
Learn to write a Swift function that uses raw values to compute the number of planets between two enum cases, subtracting one, with a Mercury to Jupiter example.
Learn how to assign default values to struct properties, including a boolean default like true, using the assignment operator, and why a custom initializer may be needed to override defaults.
Use struct methods to operate on data in the struct and return a name string like 'my name is {monster name}', then initialize a monster and call its method.
Compare Swift structs and classes by building a simple item model with name and price, exploring properties, dot syntax, and the need for initializers and designated initializers.
Explore class methods in Swift by adding a half-off method that returns a discounted price as a double, and learn how to access and modify class properties.
Explore inheritance in Swift by defining an instrument subclass of the Item base class, and observe how properties and initializers flow from superclass to subclass, including the rock band flag.
Learn to override methods in Swift by using a base class, subclass, and superclass; implement an extra discount with a default 20 percent using super to avoid duplication.
Discover how convenience initializers simplify object creation in Swift by delegating to designated initializers within a class. Learn rules about super and self, with a rock instrument example.
Explore how computed properties in Swift use a getter and a setter to manage derived values, such as adjusting the boys count when total students changes, using the newValue parameter.
Have you ever had a great app idea, had an interest in coding or just wanted to learn a new skill?
Well this course is just for you!
Swift is a new programming language by Apple that is used for developing iOS and OSX applications!
If you have ever wondered how the apps on your iPhone, iPad or a Mac computer are made then here is the big secret they are coded in a programming language and now with the release of Apple’s new programming language Swift it has never been a better time to start learning.
Not only is coding a highly in demand skill in the current job market but it is also extremely rewarding and empowering.
Since Swift Just came out there are very few experts in the field and those that want to go in to coding or app development will be at a huge advantage by taking the step to learn the programming language necessary to code for mobile technologies, specifically iOS.
And that is where this course comes in!
You are getting in on the ground level of massively in demand and useful skill.
My name is Ibram Uppal and I am the owner of Megaplex Applications an iOS apps development company and also a full time mobile and web developer.
With this course you will learn programming from the absolute basics all the way to more advanced topics, as well as best practices for coding.
You do not need any experience programming to take this course. So beginners welcome.
So I welcome you to the start of your very exciting journey into iOS and mobile development in the Comprehensive Guide to Swift.