Want to build an app? Are you already building one? Check out one of the many tutorials on app development below.
If you want to make an app for iOS, you’ll need a Mac. Learn about Xcode, Swift, and the iOS SDKs. A great way to learn more about iOS development and Swift programming is to build your own app projects. You can also use few alternatives for Windows or Linux.
If you want to publish your apps in the App Store, you’ll need an Apple Developer Account. You can always run your apps on your own iPhone, with Xcode, for free.
Let’s get to it!
Strings in Swift Explained
You use strings in Swift to represent text. They're strings of characters, use the String value type, and are stored with the intriguing Unicode/UTF-8 data format. Let's find out more about strings in Swift!
Ranges in Swift Explained
You use ranges in Swift to define values between a lower and upper limit. Ranges are useful for creating slices of arrays, checking if a value is contained in a range, and much more. Let's find out how they work!
How To Download, Install and Update Xcode
Xcode is the Mac app that developers use to create apps for Apple's platforms, like iOS. In this tutorial, you'll learn how you can download and install Xcode on your Mac.
Working with Stacks in SwiftUI
You use stacks in SwiftUI to group views together. You can choose from the VStack, HStack and ZStack, and combine them to build complex layouts. In this tutorial, you'll learn how to use stack views with SwiftUI.
Create UIs with Views and Modifiers in SwiftUI
How do you create User Interfaces with SwiftUI? In this tutorial, we'll dive into the fundamental concepts and approaches that make SwiftUI work. We'll discuss views and modifiers and create a card view in the process. Let's get started!
1x, 2x and 3x Image Scaling on iOS Explained
How does image scaling work on iOS, and what does @2x mean? Different iPhone and iPad models have different screen sizes and pixel densities (PPI). Find out in this tutorial how that affects practical iOS development.
Working with Assets Catalogs in Xcode
Assets catalogs are super useful to organize your app's assets in Xcode. Drop graphics, images, icons, colors and vectors into an asset catalog and use them directly in your app's code. Find out more in this tutorial!
Random Numbers in Swift
Let's take a look at random numbers and their functions in Swift. How do you use them? What are they for? Let's find out!
Playing With Code: Insertion Sort in Swift
Let's play with code! Today, we'll discuss a sorting algorithm called insertion sort. And we'll build it step-by-step in Swift. It's interesting to see how sorting works exactly, and good practice to code it ourselves. Let's get started!
How To Solve SIGABRT Error in Xcode
One minute your iOS app runs fine in Xcode, and the next it has hopelessly crashed with a cryptic "SIGABRT" error. What's going on!? Let's find out...
How To Generate a Random Unique Identifier with UUID in Swift
Universally unique IDs are very useful in Swift. How do you generate them? And how do they work behind-the-scenes? Let's dive into the world of RFCs, UUID and big numbers...
Convert String to Int (and Back) in Swift
You can't fit a round peg in a square hole. But you can convert from String to Int, and vice versa! And it depends on the size of the peg, really. Well... let's find out if the article is better than this cheesy intro!
Extensions in Swift Explained
Extensions in Swift are super powerful, because they help you organize your code better. You use an extension to add new functionality to an existing class. Let's find out how!
How To: Working with Plist in Swift
A property list, or plist, is an XML file that contains basic key-value data. You can use a plist in your iOS apps as a simple key-value data store. Let's find out how that works!
How To Find an Item in an Array in Swift
How do you find an item in an array in Swift? Let's find out! In this article you'll learn how to use the various generic functions to find matching items in an array.
Target-Action Explained in Swift
Target-Action is a mechanism that's used to call a certain function on a certain object. It's prominently used in many iOS frameworks and libraries, although you may not have given it any thought until now. Let's find out how it works!
Working with Timers in Swift
Timers are super handy in Swift, from creating repeating tasks to scheduling work with a delay. This article explains how to create a timer in Swift. Time's ticking – let's get to it!
Switch Statements in Swift Explained
In this article you learn how to use the switch statement in Swift. With switch you can inspect a value and match it with a number of cases. Let's get to it!
Enums in Swift Explained
With Swift's enums you can organize groups of values that are related. They're perfect for managing state in your app, and you can use them in a type-safe way in your code. Let's find out how they work!
Let's Solve The FizzBuzz Challenge in Swift
FizzBuzz is a legendary coding challenge. You simply must give it a try! But... what approaches can you use to solve FizzBuzz with the Swift programming language?
Lazy Computed Properties in Swift
Lazy computed properties are super useful in Swift programming. But you can't just make any computed property lazy. How do you get around that? Learn how to use lazy computed properties in this article. Enjoy!
An Extensive Guide to WKWebView
Delegation in Swift Explained
Delegation, also known as the Delegate pattern, is frequently used in practical iOS development. It's a must-have in your iOS developer's toolbox, and in this tutorial we're going to figure out how delegation works.
Protocols in Swift Explained
Protocols are prominently used in Swift. What makes them so elegant and powerful? In this article you'll learn how to work with protocols in Swift and why they are useful for practical iOS development.
Conditionals in Swift with If, Else If, Else
In Swift you use conditionals to make decisions in your code, with if, else if and else. If this happens, then do that. In this article you'll learn how to use conditionals in your Swift code. We'll get into boolean logic, expressions, operators, and the syntax of if, else if and else blocks. Let's get started!
Hi, I'm Reinder.
I help developers play with code.
Get the Weekly
- How To Learn iOS App Development
- Learn Swift Programming The Simple Way
- How To Make An App (In 9 Steps)
- For Loops in Swift (How To)
- Displaying Alerts with UIAlertController in Swift
- How To Solve SIGABRT Error in Xcode
Code Swift right in your browser!
Go to the Swift Sandbox