Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Swift Reduce: Combining elements into a single value

The Swift reduce method allows you to produce a single value from a collection of items. You can use it to convert an array into a dictionary or another common example is to reduce numbers and sum them up. This introduction should pique your interest in swift reduce. Reduce is a typical functional pattern, a … 

 

SwiftUI Alert Guide + Code Examples

You can present a SwiftUI Alert using dedicated view modifiers that make it straightforward to present native alerts. It works a bit differently compared to their UIKit variant, but you’ll get used to them quickly. In this article, we’re going to dive into the SwiftUI Alert functions and I’ll demonstrate a convenient way of presenting … 

 

SwiftUI Grid, LazyVGrid, LazyHGrid Explained with Code Examples

SwiftUI Grid, LazyVGrid, and LazyHGrid are UI elements that allow you to place views in a structured grid. You can control the horizontal and vertical spacing, columns, and rows. You typically use the lazy variants for performance improvements since they load items lazily when they need to enter the screen after scrolling. A SwiftUI Gridview … 

 

SwiftUI TabView: Explained with Code Examples

The SwiftUI TabView allows you to create a tabbed view and is a great container for several of your main views. Each tab displays another main view, allowing your user to quickly switch between the most important sections of your app. Developers often use a SwiftUI Tab view as the app’s core container. It is … 

 

Swift Concurrency Course: Modern Concurrency & Swift 6

A Swift Concurrency Course that helps you learn all the fundamentals of Swift Concurrency and migrating your projects smoothly to Swift 6 strict concurrency checking. It can be intimidating to start migrating existing projects to Swift 6 and learn all about async/await, sendable, and actors at the same time. A graceful learning process can make … 

 

Picker in SwiftUI explained with code examples

The picker control in SwiftUI allows you, as a developer, to create a UI element for users to select from a set of values. It comes in different styles, and the segmented control and menu picker styles are probably the most well-known variants. When you’re building forms in a SwiftUI app, it’s common to offer … 

 

What is Structured Concurrency?

When we talk about Swift Concurrency, we also often mention Structured Concurrency. It’s a fundamental part of async/await in Swift and helps us understand how Swift’s latest improvements in concurrency work. Before async/await, we wrote our asynchronous methods using closures and Grand Central Dispatch (GCD). This worked well but often resulted in a so-called closure … 

 

Task.sleep() vs. Task.yield(): The differences explained

In Swift Concurrency, we can use Task.sleep() and Task.yield() to let a specific task sleep or yield for a period of time. Both look and behave similarly, but there are a few significant differences to be aware of as Swift developers. Knowing these differences allows you to better understand when to use which and how … 

 

Swift 6: What’s New and How to Migrate

Apple announced Swift 6 during WWDC 2024 as a major release of their programming language. It became first available in Xcode 16 and aims to create a fantastic development experience. Many of the latest more prominent features like async/await have been part of the road toward this major version bump. This major language version release … 

 

How to develop an app for iOS

You have a great app idea but you wonder: how to develop an app for iOS? Where do I even start? You might also question whether it’s even realistic to think you’re able to build an app for iOS yourself. While it’s definitely not easy, with nowadays tools you can get a long way! There’s …