Map, Reduce and Filter in Swift
In Swift you use map(), reduce() and filter() to transform collections, like arrays, without using a for-loop. They're quite powerful, but also challenging. Let's dive in!
For Loops in Swift (How To)
Let's get loopy! Loops are used in Swift to repeat code or to iterate over collections. This article shows you how to use for-in, while and repeat-while loops, as well as looping over ranges and collections. (That's a lot of loops...)
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!
Sets in Swift Explained
Sets in Swift are powerful. They're similar to arrays and dictionaries, but also very different... The "Set" collection type is an interesting aspect of Swift programming. Let's find out how you can use it!
Dictionaries in Swift Explained
A dictionary is a fundamental component in Swift programming. With a dictionary you can store key-value data in your app. It's a collection type, similar to an array. In this article you'll learn how to use dictionaries, and much more!
Arrays in Swift Explained
Arrays are fundamental building blocks of apps. They're crucial to mastering iOS development. In this article you'll learn how you can use arrays in your Swift code. Let's get started!
Tuples Explained in Swift
Tuples may look small, but they're quite powerful! You use tuples in Swift to make ordered, comma-separated lists of values. In this article, we'll discuss how you can use tuples in practical iOS development. Let's get to it!
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.
How To Keep Up with Swift Changes
How do you deal with Swift changes as you’re learning how to code iOS apps? It’s a frustration that many beginner iOS developers share. How do you keep up, avoid learning outdated information, and stay up-to-date on latest developments? We’ll find out in this article!
Generics in Swift Explained
Generics are a super powerful feature of Swift. This article explains how generics work, including generic types and protocols, and why they're awesome. Let's get started!
How to Become a Senior Software Developer
It's hard for junior iOS developers to find a job. How can you become a senior developer, without spending those "10+ years of experience" to get there? In this article, we'll discuss their characteristics and how you can grow to a more senior level too.
Going from Coding Tutorials to Building Your Own App Projects
How do you shift from coding tutorials to building your own app projects from scratch? "Tutorial purgatory" is a real problem, and in this article we're going to discuss how you can overcome it. Less following instructions, more writing your own code!
How to Screw Up an App Project
Over the last 10 years I've worked for dozens of clients, building many software projects. Most projects went without a hitch, but others went downright disastrous. In this article I'll walk you through 3 common mistakes that will crash your project, and how to avoid them.
How To Think Like a Programmer
How can you make learning to code easier? Learn to think like a programmer, too! The right mindset, mental models and problem-solving techniques make learning how to code a breeze. Here's how...
Which MacBook is Good Enough for iOS Development?
What are the minimum required specs to run Xcode? Which MacBook is good enough for iOS development? What about learning Swift programming? Let's find out!
How Much Does It Cost to Build an App?
How much money does it cost to build an app? In this article, we'll discuss what factors determine the cost of an iOS app development project and how you can get a good price for your app – whether you're buying or selling.
How to Pick a Tech Stack for Your App
How do you pick the right tech stack for your app? In this article, you'll learn a helpful approach for making better technical decisions. We'll focus on the tools, frameworks and libraries you use to build iOS apps – and how to choose between them.
Off-By-One Errors In Swift Programming
Off by one errors, like "Array index out of range", happen in programming when we've got the boundaries of things wrong. In this article, you'll learn what an off-by-one error is and how you can solve it with Swift programming.
What to do When Your MacBook Breaks Down on a Tropical Island (2014)
I've been there: my MacBook broke down on a tropical island in Thailand, a client deadline 3 hours away and no Apple repair shop in sight. What do you do? You pray to the Apple gods to have mercy (see picture) and you hack your way out of it!
How To Make An App (In 9 Steps)
You have a big idea for the next killer app. But how do you make an app? In this article I’ll show you how to bring your app ideas to life.
Get Started with SwiftUI for iOS
SwiftUI is a powerful framework to build User Interfaces for iOS apps. And it's awesome! In this article, you learn the basics of working with SwiftUI. Let's get started!
Create an iOS Game with Swift and Xcode
Aw yiss! It’s app makin’ time. Fire up your Xcode, get your Swift hat on and get hacking with this simple game called Add 1. Fully updated for Xcode 11, iOS 13 and Swift 5!
The 2-Day App Project Plan: Build Your Ideas
In this article, we're going to discuss an approach for starting your own app project. It's called the 2-Day App Project Plan, and it's designed to help you get moving and build momentum with your project. Let's get a move on!
How To: Pass Data Between View Controllers In Swift
When your app has multiple user interfaces, you'll want to move data from one UI to the next. How do you pass data between view controllers in Swift?
Hi, I'm Reinder.
I help developers play with code.
- 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)
- Random Numbers in Swift
- Pass Data Between View Controllers In Swift
Code Swift right in your browser!
Go to the Swift Sandbox