iOS Tutorials

Want to learn iOS development? Dive right in with these tutorials about iOS development and build your own apps!


  • Weak vs. Strong References in Swift

    Weak vs. Strong References in Swift
    October 21 2020 in App Development Creating a strong reference to an instance in Swift, means that the instance is kept in the iPhone's memory until you're done with it. You can also create weak references. Both are part of the memory management mechanism called ARC. In this tutorial, we'll discuss how weak and strong references work on iOS with Swift.

  • Automatic Reference Counting (ARC) in Swift

    Automatic Reference Counting (ARC) in Swift
    October 15 2020 in App Development Automatic Reference Counting (ARC) is a mechanism to manage memory in Swift. Working with ARC concepts is essential in day-to-day iOS development. In this tutorial, we'll discuss how ARC is used to manage memory on iOS.

  • Self and self in Swift

    Self and self in Swift
    October 8 2020 in App Development In Swift, "self" typically refers to the current object within a class or struct. But there's more: "self", "Self" and even ".self". How does that work? Get ready for some introspection and metaprogramming, as we discover The Self in Swift!

  • Working with Files on iOS with Swift

    Working with Files on iOS with Swift
    October 1 2020 in App Development You use FileManager to work with files and directories on iOS. It's a Swift API that helps you read from, and write to, various data and file formats. In this tutorial, you learn how to work with files on iOS with Swift.

  • Storing Data with NSCoding and NSKeyedArchiver

    Storing Data with NSCoding and NSKeyedArchiver
    September 27 2020 in App Development You can use NSCoding and NSKeyedArchiver to save and load simple data objects with Swift. It's perfect for scenarios when you don't need a more complex tool, like Core Data. Let's dive in!

  • How To Download, Install and Update Xcode

    How To Download, Install and Update Xcode
    September 1 2020 in App Development 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.

  • 1x, 2x and 3x Image Scaling on iOS Explained

    1x, 2x and 3x Image Scaling on iOS Explained
    August 20 2020 in App Development 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

    Working with Assets Catalogs in Xcode
    August 20 2020 in App Development 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!

  • How To Solve SIGABRT Error in Xcode

    How To Solve SIGABRT Error in Xcode
    August 6 2020 in App Development 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

    How To Generate a Random Unique Identifier with UUID in Swift
    August 6 2020 in App Development 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...

  • How To: Working with Plist in Swift

    How To: Working with Plist in Swift
    August 6 2020 in App Development 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!

  • Target-Action Explained in Swift

    Target-Action Explained in Swift
    August 6 2020 in App Development 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

    Working with Timers in Swift
    August 5 2020 in App Development 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!

  • An Extensive Guide to WKWebView

    An Extensive Guide to WKWebView
    August 5 2020 in App Development You use WKWebView to display interactive web content in your app. In this article you'll learn how to work with WKWebView, how to inject JavaScript and respond to event listeners, and some scenarios in which a web view is super helpful.

  • Delegation in Swift Explained

    Delegation in Swift Explained
    August 5 2020 in App Development 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.

  • Working with Table View Controllers in Swift

    Working with Table View Controllers in Swift
    August 3 2020 in App Development In this article I'll show you step-by-step how table view controllers work, and how you can use them. We'll go into the full gamut of UITableViewController, by diving into Object-Oriented Programming, delegation and the behind-the-scenes mechanisms of table views.

  • How To Use Apple’s Developer Documentation for Fun and Profit

    How To Use Apple’s Developer Documentation for Fun and Profit
    August 3 2020 in App Development In this article I’ll guide you through using Apple's developer documentation, articles and resources effectively – for app development, marketing and business. I’ll show you where to find them and how you can apply the information in your own app development projects.

  • Objective-C for Swift Developers

    Objective-C for Swift Developers
    July 16 2020 in App Development Is Objective-C dead? No – it's still prevalent in Cocoa Touch, open-source code, and the app shop next door. Learning Swift? Learn a bit of ol' ObjC, too.

  • Understanding Model-View-Controller (MVC) on iOS

    Understanding Model-View-Controller (MVC) on iOS
    July 16 2020 in App Development Model-View-Controller structures the flow of data and interaction in your app. It's an exceptionally powerful software architectural pattern and it's important for iOS developers to master. Let's get started!

  • Working with UserDefaults in Swift

    Working with UserDefaults in Swift
    July 15 2020 in App Development UserDefaults are useful for storing small pieces of data in your app. You use it to save your app user's settings, set some "flags", or simply use it as a tiny data store. You learn how to use UserDefaults in this article.

  • Displaying Alerts with UIAlertController in Swift

    Displaying Alerts with UIAlertController in Swift
    July 15 2020 in App Development In this tutorial, you'll learn how to use the UIAlertController class to display alert dialogs to the user of your iOS app. We'll dive into setting up the alerts, responding to user actions, and getting input from the user with text fields.

  • Get Started with Xcode Playgrounds

    Get Started with Xcode Playgrounds
    July 6 2020 in App Development You can use playgrounds in Xcode to quickly write some Swift code, experiment with new syntax, and work on your Swift algorithms skill. Most of all, playgrounds in Xcode are a great way to learn Swift programming. Let's get started!

  • Get Started with Debugging in Xcode

    Get Started with Debugging in Xcode
    June 29 2020 in App Development Debugging your app is exciting, isn't it? NO!? In this article you'll learn the tools and techniques to make debugging in Xcode a breeze. It'll help you become a better coder! Let's dive in.

  • Introduction to Grand Central Dispatch with Swift

    Introduction to Grand Central Dispatch with Swift
    June 24 2020 in App Development Multithreading is a mechanism computers can't live without. You know why? CPUs are kinda dumb – they can only do one thing at a time! You use Grand Central Dispatch to execute code concurrently in your app. In this article, you'll learn how to use concurrency and multithreading with Swift.

  • Understanding The

    Understanding The "Use of Unresolved Identifier" Error in Xcode
    June 1 2020 in App Development It's one of the most common errors in Xcode: _Use of unresolved identifier_. This error simply means that Xcode doesn't mean what you're talking about. But... how do you solve it?

Reinder de Vries

Hi, I'm Reinder.
I help developers play with code.

Get the Weekly

Get iOS/Swift tutorials and insights in your inbox, every Monday.
  • This field is for validation purposes and should be left unchanged.

Most Popular

Browse Topics

Swift Sandbox

Code Swift right in your browser!
Go to the Swift Sandbox