
Download Xcode from the App Store, locate the left-side icon X, and click install to set up the Swift development environment for building applications.
Learn how variables store information and update data in real time across programs, such as life points in games, and understand data types like text, pictures, and numbers.
Learn to use var and let in Swift, create and edit variables in a playground, print values, and store user data like name, email, and password.
Explore real examples of variables in Swift 5, showing how values like lives and settings change as games update life counts or users update passwords.
Explore the difference between let and constant in Swift: constants cannot change after first assignment, while variables can, illustrated with a box analogy and database examples.
Discover how data types define stored information in Swift, distinguish variables from constants, and use numbers and strings (double, float, string) to store the correct information.
Swift automatically infers data types from assignment, a feature of type inference, so variables and constants deduce string, int, and double types without explicit declarations, with username and database.
Learn how comments in Swift provide notes for developers, including single-line and multi-line examples, that do not execute, help describe a string and data type, and remind you about code.
Discover tips for naming variables and constants in Swift, including unique identifiers, avoiding duplicate names, and applying camel case with a lowercase first letter for readable, multiword names.
Learn what a function is, including its function block and name, and how to call a function by its name to perform tasks like login checks and loading posts.
Learn how to define and call functions in Swift using the func keyword, and see function blocks execute by name with examples like posting text and login checks.
Explore real examples of using a function to validate login by comparing email and password, then proceed with login or show error messages, featuring if-else logic.
Learn how the dry notation uses functions to create enemy players without repeating code, set life points with string interpolation, and prepare for looping across levels.
Discover how a for loop repeats code until stopped, using ranges like 1 to 10 to create enemies or call a function a hundred times, improving efficiency.
Learn to define Swift functions with and without parameters, pass ingredients via parameters, use string interpolation, and call functions for tasks like pizza orders and login.
Learn how a function performs a task using parameters and returns a value, including defining, calling, and reusing functions with strings and examples like baking a pizza.
Design a tip calculator in Swift that uses variables, doubles, and functions to compute the tip, total per person, and display the result on a label.
Learn why using return helps keep calculated values, like a tip, accessible outside a function by storing results in a separate constant before the function ends.
Build a tip calculator app in Swift 5, using variables, data types, text fields, labels, and sliders to input values, define and call functions, and calculate a tip percentage.
Learn to build a tip calculator user interface in Swift by creating labels, text fields, a slider, and buttons in Xcode, adjusting alignment, colors, sizes, and placeholders.
Create outlets to connect user interface elements like text fields and labels to Swift code in the view controller, using control-click to name outlets in camel case notation.
Create actions to connect the user interface to code. Wire sliders and buttons to function blocks to update the power meter and label text.
Build a tip calculator, a text message window, and a user interface element using Swift 5, with hands-on practice in upcoming lessons.
Explore if-else statements in Swift 5 by learning how to check conditions and decide actions, with examples from a game and a quiz app.
Explore the if-else construct in swift by testing conditions in a playground, using true and false branches to control flow such as advancing levels or prompting retries.
Master the and operator to check multiple conditions in Swift, combining comparisons like between 1000 and 2000 points or between 2000 and 3000 points.
Learn to use the if-else construct in Swift to validate login by comparing email and password text fields to stored constants with the && operator, triggered by the login button.
Discover how to use if else statements in Swift 5 through a hands-on quiz app that checks answers, updates the UI, and shows the next question.
Why this course?
Do you want to learn Swift Programming? But so far you bought programming courses, where you only code but don't really unterstand what you do?
Then I want to welcome you to my course! Here you will learn how to code with different methods.
You will learn how to code with "real world" examples by learning how to use a code segment. The course includes a lot of exercises and solutions so you can train your coding skills. I also use many pictures in my course so it is easier for you to unterstand what I'm talking about.
In addition to this course you will get all examples, exercise and presentations for free.
What is Swift?
Swift describes the programming language for all Apples Products like iPhones, iPads, Macs, Apple Watches, Apple TVs, desktops, servers etc.
Who am I?
I am a lecturer for programming courses. I started to develop these courses with focus on exercises, because when I studies computer science, I was not able to find such courses. All the exciting courses were focused on explaining contents - and this made it hard to really learn it. My goal with the courses was to find to teach programming and at the same time give my students the opportunity to learn the craft.
After a successful start in Germany, I now want to start developing courses in English.