How to use Arrays in Swift – iOS Mobile Development
You can access the full course here: iOS App Development for Beginners Arrays So far, all of the variables that we have seen can only hold one (or zero) values. … Read more
Learn Swift! Explore variables, functions, and more for developing iOS apps and games via free Swift programming tutorials.
You can access the full course here: iOS App Development for Beginners Arrays So far, all of the variables that we have seen can only hold one (or zero) values. … Read more
You can access the full course here: iOS App Development for Beginners Displaying Text Now that we have learned the basics of storing and changing values, let’s turn to the … Read more
Structures We’ve discussed classes in Swift and how they are the foundation of object-oriented programming. In addition to classes, we also have structures that provide similar functionality. A structure is similar to a class since it … Read more
Initialization and Deinitialization Initialization is when we prepare to create an instance of a class. This process may involve configuring the properties or any other miscellaneous setup required before we can use … Read more
Basic Object-oriented Principles Before delving into Swift code, let’s first understand what it means to be object-oriented (OO) and the need for OO. We begin our discussion by talking about classes … Read more
Be part of the evolution of Swift 3! There is no better time to learn this powerful , yet easy to learn programming language developed by Apple for macOS, IOS, … Read more
You have dipped your toes into the water of iOS development and you want to go beyond the basics of making simple iPhone apps. You are ready to move on, … Read more
Closures Closures are small, self-contained blocks of code that can be used in our code, not unlike a function. (The reason these are called closures is because they’re said to “close” … Read more
In this post, we’re going to learn about how to define and call various types of Swift functions. A function is a self-contained block of code whose purpose is to perform a … Read more
In this section we’re going to look at the various looping constructs and decision statements that Swift supports. We’ll be learning about while, repeat-while, and the variations of for loops. Next, we’ll discuss … Read more
Swift provides three main collection types we can use to store groups of related values. Arrays are linearly ordered by an index starting at zero. Sets contain unordered, unique values. Dictionaries store an unordered … Read more
We’ve looked at mostly numerical types and data in the past, but, in this post, we’re going to be looking at character data. A string is a sequence of characters. That’s why it’s called … Read more
Since we’ve discussed variables, the next logical step is to actually do something with those variables! In this section, we’re going cover the different types of operators supported by Swift. Learn iOS by … Read more
We are happy to announce the launch of our free ebook Swift Programming for Human Beings – The Ultimate Beginner’s Introduction, authored by mobile application developer, contractor and online trainer … Read more
What is Swift? Swift is a relatively new programming language created by Apple and used for iOS, Mac OS X, tvOS, and watchOS apps. Back in 2014, Apple announced the first version of … Read more
Learn how to code or upgrade your coding skills to Swift, Apple’s new programming language Swift is Apple’s new programming language and can be used to create iOS and OS … Read more