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
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) 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
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
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
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
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
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!
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...
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!
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!
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.
Working with Table View Controllers in Swift
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
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
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
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
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
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
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
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
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 "Use of Unresolved Identifier" Error in Xcode
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?
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)
- Displaying Alerts with UIAlertController in Swift
- How To Find an Item in an Array in Swift
- For Loops in Swift (How To)
Code Swift right in your browser!
Go to the Swift Sandbox