Working with Closures in Swift
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”
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”
Hello world! In this post, we’re going to start building our first real-world app: a unit converter! With it, we hope to quickly convert between different units of length. This is Part 1
Hello World! In this post, we’re going to go more in-depth into some of the most basic UI controls that iOS supports. We’ll be covering a large number of different UI controls like text fields,
Hello world! In this post, we’re going to get started with iOS development using Swift! We’ll start by building a simple Hello World app that will allow the user to enter their name and
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
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
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
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
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
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
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
In this post we’re going to learn how to use the Android notification system. Android notifications have evolved from the standard one-liner with an app icon to having actions, showing images, and
In this post, we’re going to learn how to access just one of the multitude of sensors present on an Android device by building a very small game that uses the accelerometer
In this post, we’re going to learn how we can access the camera and use it to take a picture. Grabbing data from the camera can be a bit tricky, especially when dealing
In this post, we’re going to learn about loaders as well as content providers. Loaders allow us to load vast amounts of data asynchronously so we don’t bog down the main UI thread. We can
In this post, we’re going to learn all about Google’s design philosophy dubbed Material Design. We’re going to cover some of the fundamental concepts behind Material Design and will later learn
Hello world! In this post, we’re going to learn how we can use Google Play Services to access the user’s location. Along with that, we’re also going to learn how to use Android
Hello World! In this post, we’re going to lean how to access and use the Internet. This might seem like a simple task, but we’re going to learn all of what