Error Handling in Swift

Swift uses typed errors and `throw` to represent operations that can fail. Handling those failures explicitly makes code easier to understand and gives your app a chance to recover.

Swift Errors
Read article

Protocol Extensions in Swift

Protocols describe capabilities that types can adopt. Protocol extensions let you provide shared behavior for those types without requiring a common superclass.

Swift Protocols Extensions
Read article

Swift Testing Framework

Testing is how you verify your code works correctly and keeps working as you make changes. Swift provides XCTest for unit and UI testing, and Swift 5.9+ introduced the new Swif
Swift Testing XCTest
Read article

URLSession with async await

Modern Swift makes network requests easier to read with `async` and `await`. `URLSession` provides asynchronous methods that return data and a response without compl
Swift URLSession Networking
Read article

Custom Codable Implementations in Swift

Swift's `Codable` protocol makes converting models to and from JSON straightforward. The compiler can synthesize most implementations, but APIs do not always use
Swift Codable JSON
Read article

Property Wrappers Deep Dive

Property wrappers are a Swift feature that allows you to define reusable logic for getting and setting property values. They reduce boilerplate code and enable elegant so
Swift PropertyWrappers
Read article

Result Builders in Swift

Result builders (formerly known as function builders) are a powerful Swift feature that enables you to create elegant domain-specific languages (DSLs). They're the magic be
Swift ResultBuilder DSL
Read article

Swift Concurrency Best Practices

Swift Concurrency provides modern tools for handling asynchronous code through async/await, actors, and structured concurrency. Following best practices ensur
Swift Concurrency async/await
Read article

Observation Framework in Swift

The Observation framework is a modern Swift feature that provides automatic change tracking for observable objects. It replaces `ObservableObject` with a cleaner, m
Swift Observation SwiftUI
Read article

SwiftData Basics

SwiftData is Apple's modern framework for data persistence, introduced in iOS 17. It provides a Swift-native way to model and persist data using macros and property wrappers, m
SwiftData Persistence Swift
Read article

GeometryReader in SwiftUI

GeometryReader is a SwiftUI view that provides access to the size and position of its parent container. It's essential for creating responsive layouts, custom alignments, and size-
SwiftUI Layout
Read article

Custom Shapes in SwiftUI

Creating custom shapes in SwiftUI allows you to draw unique graphics and build creative user interfaces. By conforming to the Shape protocol, you can create reusable, scalable vec
SwiftUI Graphics
Read article

ScrollView Performance in SwiftUI

Slow scroll views are one of the most noticeable performance problems in SwiftUI apps. Optimizing them can make a significant difference, especially when dealing with
SwiftUI Performance
Read article

Searchable Modifier in SwiftUI

The searchable modifier in SwiftUI makes it easy to add search functionality to your views. It provides a native search experience with automatic keyboard handling, search sug
SwiftUI Search
Read article

AsyncImage in SwiftUI

AsyncImage is a SwiftUI view that simplifies loading and displaying images from remote URLs. It handles the asynchronous nature of network requests, provides loading states, and ma
SwiftUI Networking
Read article

TextField Styles in SwiftUI

SwiftUI provides various built-in text field styles that allow you to customize the appearance of text input fields. Understanding these styles helps you create consistent and polish
SwiftUI UI
Read article

Focus State in SwiftUI

Managing focus state in SwiftUI is essential for creating accessible and user-friendly forms and interactive interfaces. The `@FocusState` property wrapper allows you to progra
SwiftUI Accessibility
Read article

withAnimation

`withAnimation` wraps state changes to produce smooth transitions. It's one of the most common ways to add animation to a SwiftUI view.

Use Case

A common use case for `withAnimatio

SwiftUI withAnimation
Read article

Keyboard Navigation

Keyboard navigation enables users to navigate and interact with your app using only a keyboard or assistive input devices. In this post, we'll explore how to implement comprehensi
Accessibility SwiftUI
Read article

Audio Descriptions

Audio descriptions provide narration of visual elements in video content, making it accessible to blind and low vision users. In this post, we'll explore what audio descriptions ar
Accessibility SwiftUI
Read article

Captions

Captions and subtitles make video and audio content accessible to deaf and hard of hearing users, as well as non-native speakers and users in sound-sensitive environments. In this post, we'l
Accessibility SwiftUI
Read article

Voice Control

Voice Control enables users to navigate and interact with their devices entirely through voice commands, without touching the screen or using a keyboard. In this post, we'll explore how
Accessibility SwiftUI
Read article

VoiceOver

VoiceOver is Apple's screen reader that enables blind and low vision users to navigate and interact with iOS, iPadOS, and macOS devices. In this post, we'll explore how to make your SwiftUI
Accessibility SwiftUI
Read article

Differentiate Without Color

Color is a powerful design tool, but relying solely on color to convey information creates accessibility barriers for users with color blindness or low vision. In this pos
Accessibility SwiftUI
Read article

Larger Text

iOS lets users set their preferred text size system-wide through Accessibility settings. SwiftUI's dynamic type support handles most of this automatically — as long as you use semantic
Accessibility SwiftUI
Read article

Sufficient Contrast

Sufficient contrast makes your text and UI elements readable for everyone — especially users with low vision or color blindness. WCAG recommends a minimum ratio of 4.5:1 for nor
Accessibility SwiftUI
Read article

Reduced Motion

Reduced motion is an important accessibility feature that helps create a comfortable user experience for individuals sensitive to motion effects.

What is `Reduced Motion

Accessibility SwiftUI Animations
Read article

Dark Mode

Dark Mode is an important feature that many users appreciate for its aesthetic appeal, and for people with visual impairments.

When do we need Dark Mode support?

Dark Mode support is e

Accessibility SwiftUI
Read article

Welcome 2026

Welcome to 2026!

I hope you'll all have a fantastic year and that all your wishes may become true.

We're going to start this year with in mi

Website
Read article

It's a wrap (2025)

In 2025 I have written 68 articles!

The most used tags are: SwiftUI, Swift

Wrapped 2025
Read article

How to Position Views in SwiftUI

Sometimes you want to position your views precisely within a SwiftUI layout.

How to place your view on a specific coordinate

You can use the [position](https://developer.app

SwiftUI
Read article

Form in SwiftUI

User input powers almost every app. From reminders to events, contacts, or sign-ups thats where `Form` comes in.

A Basic Contact Form

The simplest way to start is by grouping [TextField

SwiftUI Form
Read article

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

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

What is Task.sleep()?

With [Task.sleep()](https://developer.apple.com/documentation/swif

Swift Task
Read article

Tracking Screen Views in SwiftUI with a Custom ViewModifier

In this post we'll create a small extension to track which screens are being viewed in a SwiftUI application.

Why Track Screen

SwiftUI ViewModifier Analytics
Read article

Make your app visible with alternative app names

With `INAlternativeAppNames`, you can provide alternative names for your app so that the user can find your app more easily.

Example you have a ag

INAlternativeAppNames
Read article

Environment: OpenURL

`@Environment(\.openURL)` allows you to open URLs from your SwiftUI views.

What is @Environment(\.openURL)?

[@Environment(\.openURL)](https://developer.apple.com/documenta

Environment OpenURL
Read article

Monospace digits

Monospace digits are a type of font where each character takes up the same amount of horizontal space. This is particularly useful in programming and data presentation, as it allows for
SwiftUI Monospace
Read article

Picker in SwiftUI

The `Picker` is a SwiftUI view that presents a set of options for the user to choose from. It can be displayed as a dropdown menu, a segmented control, or a wheel, depending on the context
SwiftUI Picker
Read article

Quick actions in SwiftUI

Quick actions are a powerful feature in SwiftUI that allows developers to add contextually relevant actions to their views. These actions can be triggered by user interactions
SwiftUI QuickActions
Read article

Swift Package: SwiftExtras

In this post, we will explore the `SwiftExtras` Swift Package, a package that provides additional functionality and utilities for Swift developers.

What is SwiftExtras?

SwiftPM SwiftExtras
Read article

Swift Package: SwiftCronParser

In this post, we will explore the `SwiftCronParser` Swift Package, a package to parse cron expressions in Swift.

What is SwiftCronParser?

SwiftCronParser is

SwiftPM SwiftCronParser
Read article

The Identifiable Protocol in Swift

The Identifiable protocol is a fundamental building block in Swift and SwiftUI that enables unique identification of instances. Understanding how to effectivel
Swift Identifiable SwiftUI
Read article

Swift Package: NetworkMonitor

In this post, we will explore a Swift package designed to monitor network connectivity in iOS applications.

What is NetworkMonitor?

NetworkMonitor is a Swift p

SwiftPM NetworkMonitor
Read article

Swift Package: PreventScreenshot

In this post, we will explore a Swift package designed to prevent screenshots in iOS applications.

What is PreventScreenshot?

PreventScreenshot is a Swif

SwiftPM PreventScreenshot
Read article

Swift Package: XCUITestHelper

In this post, we will explore the `XCUITestHelper` Swift Package, a powerful tool for simplifying UI testing in your applications.

What is XCUITestHelper?

`XCUIT

SwiftPM XCUITestHelper
Read article

Supporting Reduced Motion accessibility setting in SwiftUI

In this post, we will explore how to support the Reduced Motion accessibility setting in SwiftUI applications.

What is Reduced Motion

SwiftUI Accessibility
Read article

Swift Package: SecureStorage

In this post, we will explore the `SecureStorage` Swift Package, a powerful tool for managing sensitive data in your applications.

What is SecureStorage?

`SecureSt

SwiftPM SecureStorage
Read article

Swift Package: iCloudStorage

In this post, we will explore the `iCloudStorage` Swift Package, a powerful tool for managing iCloud key-value storage in your applications.

What is iCloudStorage?

SwiftPM iCloudStorage
Read article

Swift Package: FilePicker

is a Swift Package to open and save files in SwiftUI. It provides a simple way to open and save files in SwiftUI views.

I

SwiftPM FilePicker
Read article

Contextmenu

SwiftUI continues to surprise us with its elegant solutions to common UI patterns. One such gem is the
SwiftUI Contextmenu
Read article

Swift Package: ImagePicker

In this post, we will explore the `ImagePicker` Swift Package, a powerful tool for selecting images in your applications.

What is ImagePicker?

ImagePicker is a Swift

SwiftPM ImagePicker
Read article

ViewThatFits

SwiftUI is all about declarative UI and adaptive design. But sometimes, you need your view to intelligently choose between multiple layout options depending on the available space. That's
SwiftUI ViewThatFits
Read article

Hacktoberfest 2025

As the leaves change color and the air turns crisp, developers around the world gear up for one of the most exciting events in the open-source community: Hacktoberfest.
This annual

Hacktoberfest
Read article

Sensory feedback in SwiftUI

This post explores the concept of sensory feedback in SwiftUI, a modifier to provide feedback to users based on their interactions.

What is Sensory Feedback in SwiftUI?

`

SwiftUI Trigger
Read article

Hidden macOS features

In this post we're going to explore some hidden features of macOS that can enhance your productivity and improve your workflow.

Move a file.

To move a file in finder you can use ⌘C (C

macOS
Read article

Custom Tabbar with SwiftUI

In this post, we will explore how to create a custom tab bar using SwiftUI.

What is a TabView?

A is a

SwiftUI TabBar
Read article

Remove the background from images using Swift

Removing backgrounds from images is a common task in modern apps, whether for photo editing, social media, or automation. In this article, you'll learn how to build a

Swift
Read article

Building SwiftUI Debugging Utilities

In this post, we will explore how to create debugging utilities in SwiftUI to help diagnose and fix issues in your app.

Printing values

As you may know already you c

SwiftUI Debug
Read article

Building Editable Lists in SwiftUI

In this post, we will explore how to create editable lists in SwiftUI using a couple of different approaches using `EditButton()`, `@Environment(\.editMode)` and custom `Edi
SwiftUI List
Read article

Placing components within the Safe Area Inset

In this post, we will explore how to effectively place components within the Safe Area Inset in SwiftUI applications.

What is Safe Area Inset and [`.saf

SwiftUI SafeArea
Read article

Interpolation and formatting in Text

In this post, we will explore how to use interpolation and formatting in SwiftUI's `Text` view. This is a powerful feature that allows you to create dy
SwiftUI Interpolation Formatting
Read article

SwiftUI Lists

Discover in SwiftUI, a powerful way to display collections of data in a scrollable format. In this post, we will explore how to c
SwiftUI List
Read article

Surprise Route

In this post, I'll take you tough the process of creating my app in Swift(UI). This app is designed to generate random routes for walking or biking, making your
Swift
Read article

SwiftUI Buttons

In this post we will explore the different styles of buttons available in SwiftUI, how to create custom buttons, and some best practices for using buttons in your SwiftUI applications.

W

SwiftUI Button
Read article

Adjust the intensity of colors in SwiftUI views

SwiftUI provides a powerful way to create dynamic and visually appealing user interfaces. One of the features that can enhance the visual experienc
SwiftUI Colors Brightness
Read article

Difference between animations in SwiftUI

In this post, we will explore the difference between ) and [`withAnimation()
SwiftUI Animations
Read article

Gradients in text using foregroundStyle

In this post, we will explore how to create gradients in text using the `foregroundStyle` modifier in SwiftUI. This technique allows for visually appealing text effects that
SwiftUI
Read article

Using the share sheet to share content

In this post, we will explore how to use the share sheet in SwiftUI to share content from your app. The share sheet allows users to share text, images, URLs, and other types
SwiftUI
Read article

Move your app to the background

In this (small) post, we will explore how to move your iOS application to the background programmatically. This is offcially **not** supported by Apple.

Send app to background

iOS
Read article

Thermal States on iOS

You can read the thermal states on iOS documentation to understand how to manage the thermal state of your iOS application. This is important for optimizing performance and battery life.

iOS Swift
Read article

CocoaPods Trunk Read-only Plan

CocoaPods Trunk Read-only Plan

What is CocoaPods?

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has thousands of libraries and can help you

CocoaPods
Read article

Handle plurals in Swift with inflection

Inflection is a powerful tool in Swift that allows developers to handle plurals and other linguistic variations in a more elegant way. This post will explore how to use infl
SwiftUI
Read article

Popovers in SwiftUI

In SwiftUI, popovers are a great way to present additional information or options without navigating away from the current view. This post will explore how to create and customize popovers in S
SwiftUI
Read article

Creating macOS Menu Bar App in SwiftUI

Creating a menu bar app may seems like a complicated task, but with SwiftUI, it can be done in a few simple steps. In this post, we will create a basic macOS m

SwiftUI macOS MenuBar
Read article

Customizing macOS windows

MacOS windows are a fundamental part of the user interface, and customizing them can greatly enhance the user experience. In this post, we will explore how to customize macOS windo

SwiftUI macOS
Read article

Building xcstrings-translator

xcstrings-translator is a tool to (easily) translate `.xcstrings` files, It is a GUI tool, written in Swift and SwiftUI to translate `.xcstrings` files to different languages
Swift xcstrings
Read article

What powers this website

When I started on 03 February 2024, it was a small project, with one php file for rendering markdown files.

This website is made in Visual Studio Code,

Blog PHP
Read article

Tips and ideas to start your own blog

When I started on 03 February 2024 I was unsure if I would be able to keep it up. I had tried to start a blog some times before but I alw

Swift Blog
Read article

NumberFormatter

NumberFormatter is a class that provides a flexible and easy way to convert numbers into strings and vice versa. It is a part of the Foundation framework and is available on all App
NumberFormatter Swift
Read article

Building iWebTools

In this blog post I will show you how I build iWebTools. iWebTools is a tool to check websites and use some tools like a JWT Decoder and a crontab converter.

Basic Design

I started with a

iWebTools
Read article

Dutch.swift

For april fools day, I wanted to write a Swift library that allows you to write Swift code in Dutch. It's called and it's available on GitHub. Unfortu

Swift
Read article

Fixing slow scrolling in Calendo

In this post, I'll go through the steps which i took to fix a bug with slow scrolling in . Interested in the development of Calendo? Read my previou
Calendo SwiftUI
Read article

AppDevCon 2025

AppDevCon is a conference for application developers, focusing on the latest trends and technologies in app development.

Below is a brief overview of some of the talks at the conferenc

AppDevCon Conference
Read article

Build a personal brand as developer

Here are some tips to build a personal brand as a developer.

Define your brand

Start by defining your brand.

  • Who do you target.

  • What are your strengths and ski

Developer Brand
Read article

NavigationStack

is a SwiftUI view that provides a navigation stack for macOS and iOS. Navigation was done usin
NavigationStack Swift
Read article

MacOS Terminal Commands

In this post i'll show you my favorite macOS terminal commands that i use often or find interesting.
This blog post is a different kind of post than i usually write, but i hope you

macOS Terminal
Read article

JavaScriptCore

Whether you love it or hate it, JavaScript has become the most important language for developers in the world today. Yet despite any efforts we may take to change or replace it we’d b
JavaScriptCore Swift
Read article

Expressible Literals

Expressible Literals in Swift are a powerful feature that allows you to create custom types that can be initialized using literals. This post will show you how to create y
Swift expressible-literals
Read article

Exploring ControlGroup in SwiftUI

In SwiftUI, a ControlGroup provides a way to visually group controls together, making your UI more intuitive and structured. It helps you present related controls

ControlGroup SwiftUI
Read article

Controllig login and background items

In This post, we'll take a look at how to control login and background items on macOS. When you start your Mac, you may have noticed that some apps or items aut
macOS background login
Read article

iOS App States

When you're developing an iOS app, it's important to understand the different states that your app can be in, to handle them correctly and provide a smooth user experience. In this post, we'll
iOS App State
Read article

Using MetricKit

In this post, I will show you how to use MetricKit to collect and analyze performance data from your app.

What is MetricKit?

MetricKit is a framework introduced in iOS 13 that allows y

MetricKit Swift
Read article

Contact Provider Extension

The framework lets your app create (business) contacts on the user's device. It is the prefer
ContactProvider Swift
Read article

Accessibility in SwiftUI

Accessibility in app development is all about making sure everyone, regardless of their abilities, can use your app. Apple’s SwiftUI framework makes integrating accessibil

Accessibility SwiftUI
Read article

Apple version numbers

As you may know, Apple releases new versions of its operating systems every year. The version numbers are not always the same across all platforms, and they don't always follow

Apple version numbers
Read article

It's a wrap (2024)

On **03 February 2024** I launched this (new) website, i wanted to post some more then once in 2 years, in 2024 I've released 64 articles!

February

In February I've released 11 a

Wrapped 2024
Read article

Navigation in SwiftUI

Navigating the World of SwiftUI: A Comprehensive Guide

SwiftUI, Apple's declarative framework for building user interfaces, has revolutionized the way developers create apps

SwiftUI Navigation
Read article

Deep linking in SwiftUI

Deep linking is a powerful feature that allows users to navigate directly to specific content within your app using URLs. In SwiftUI, implementing deep linking can enhance user

SwiftUI Navigation
Read article

Building Calendo

In this blog post, we'll explore the process of building Calendo, a calendar app that helps users view their schedules quickly and efficiently. We'll cover the key features of Calendo, the techno

Calendo
Read article

Mastering animations in SwiftUI

SwiftUI, Apple's declarative framework for building user interfaces, offers powerful and flexible tools for creating animations. Whether you're looking to add subtle tran

SwiftUI Animation
Read article

Understanding Sendable in Swift

With the introduction of Swift 5.5, Apple brought significant enhancements to concurrency, including the Sendable protocol and the @Sendable attribute. These additio

Swift Sendable
Read article

Creating a dynamic user interface for extensions in Aurora Editor

As some of you may know, I have been working on a IDE called Aurora Editor.
It is a editor that is built using Swift and SwiftUI

Aurora Editor In-depth
Read article

Understanding reducers in Swift

Reducers are a powerful concept in Swift, allowing developers to transform sequences of values into a single result.
This technique is particularly useful when you need to p

Swift reduce
Read article

Exploring the .inspector Modifier in SwiftUI

SwiftUI continues to evolve, bringing new and powerful tools to developers.
One such tool is the .inspector modifier, introduced to enhance the user inte

Inspector SwiftUI
Read article

Building an Asynchronous Button in SwiftUI

Sometimes, we need to perform asynchronous tasks when a button is tapped in a SwiftUI application. For example, fetching data from a network request, saving

SwiftUI Asynchronus
Read article

Translation framework in Swift

Exploring the Translation Framework in Swift

With the release of iOS 17.4, Apple introduced the Translation framework, a powerful tool that allows devel

Swift Translation Framework
Read article

Understanding Package.swift

If you're diving into Swift development, you've likely encountered Package.swift.
This file is the cornerstone of Swift Package Manager (SPM), Apple's tool for managi

SwiftPM Package.swift
Read article

SwiftLeeds 2024 (day 2)

It's that time of year again!
SwiftLeeds 2024 is here, and in this post, i'll be sharing my thoughts on the second (and last) day of the conference.

Agenda:

  • The Ro

SwiftLeeds Conference
Read article

SwiftLeeds 2024 (day 1)

It's that time of year again!
SwiftLeeds 2024 is here, and in this post, i'll be sharing my thoughts on the first day of the conference.

Agenda:

  • From Side Project

SwiftLeeds Conference
Read article

Inspect: A Powerful Tool for SwiftUI Developers

As SwiftUI continues to evolve, developers are constantly seeking tools to streamline their workflow and enhance their debugging capabilities.
One such to

SwiftPM Inspect
Read article

Enhancing SwiftUI with CachedAsyncImage

In the world of mobile app development, performance and user experience are paramount.
One common challenge developers face is efficiently loading and ca

SwiftPM CachedAsyncImage
Read article

Simplifying Game Controller Integration with GameControllerKit

In the ever-evolving world of game development, integrating game controllers across multiple platforms can be a difficult task.
E

SwiftPM GameControllerKit
Read article

Simplifying App Onboarding with OnboardingKit

Creating a smooth and engaging onboarding experience is crucial for any app.
OnboardingKit, a SwiftUI package available on GitHub, provides a comprehe

SwiftPM OnboardingKit
Read article

Simplifying multiplatform Colors

Sometimes you are building for multiple platforms and you want to use the same color across all of them.
This is where the pac

SwiftPM Colors
Read article

SwiftUI Development with DynamicUI

In the ever-evolving landscape of mobile app development, flexibility and efficiency are key.
One tool that stands out in achieving these goals is DynamicUI, a S

SwiftPM DynamicUI
Read article

Hacktoberfest 2024

As the leaves change color and the air turns crisp, developers around the world gear up for one of the most exciting events in the open-source community: Hacktoberfest.
This annual

Hacktoberfest
Read article

Safely unwrap optional values in SwiftUI bindings

Bindings are a powerful feature in SwiftUI that allow you to connect your views to your data. However, when working with optional values, you need to be ca
SwiftUI Binding
Read article

Understanding assertions in Swift

Assertions are a powerful tool in Swift that help developers ensure their code behaves as expected during runtime. They allow you to test assumptions and catch potential issu
Assert Swift
Read article

A Guide to UI Testing in Swift

User Interface (UI) testing is a crucial aspect of app development, ensuring that your app's interface behaves as expected under various conditions.
This guide will

Swift UITest XCUITest
Read article

Why You Should Avoid Using AnyView in SwiftUI

SwiftUI, Apple's declarative framework for building user interfaces, introduces a variety of new concepts and tools for developers.
One such tool is `AnyVie

SwiftUI AnyView
Read article

iOS Settings URL's

This is a list of internal URLs for settings on your iPhone, iPad, ...
Please note that this list will be updated if required, if you see something which is not right, please drop

Swift iOS Settings
Read article

What is @frozen

In this post, we'll explore the `@frozen` attribute in Swift, a compiler directive that can be applied to `enum` declarations to optimize memory layout and improve performance. By marking an `
Swift Frozen
Read article

Enums

In this post, we'll explore enums in Swift, a powerful feature that allows you to define a group of related values. Enums are commonly used to represent a fixed set of options or states in your code, mak
Swift Enums
Read article

Difference between map, flatMap, compactMap

In this post, we'll explore the differences between `map`, `flatMap`, and `compactMap` in Swift. These three methods are commonly used when working
Swift map flatmap compactMap
Read article

CoreSpotlight

CoreSpotlight is a framework provided by Apple that allows you to index and search content within your app. It provides a way to make your app's content searchable and discoverable by use
CoreSpotlight Swift
Read article

@ViewBuilder in Swift

SwiftUI, Apple's declarative framework for building user interfaces, introduces several powerful tools to streamline UI development. One such tool is the `@ViewBuilder` attribute, w
ViewBuilder Swift
Read article

@Environment variables

SwiftUI provides a way to pass data down the view hierarchy using @Environment variables. These variables are environment-dependent and can be accessed from any child view. Th

Environment SwiftUI
Read article

Loging using OSLog

OSLog is a Swift API that provides a unified logging system for all Apple platforms. It is a replacement for the older `print` and `NSLog` functions. OSLog is a more efficient and secure log
Swift OSLog
Read article

Handle hyperlinks in SwiftUI

If you have a SwiftUI application and you present text with a URL, have you notices how the URL is being opened by Safari and not an in-app browser, and want to change that?
SwiftUI Hyperlink
Read article

Generics in Swift

Swift, offers a powerful feature called generics that greatly enhances code reusability, efficiency, and safety. In this blog post, we will dive deep into generics and explore how the

Swift Generics
Read article

Variadic Parameters

These versatile constructs allow us to handle a variable number of arguments of the same type within a function.

What are Variadic Parameters?

In Swift, variadic parameters enable a fu

Swift
Read article

If case let

This concise syntax provides a convenient shortcut when you want to match a single case without writing a full-blown `switch` statement. Although it might seem a bit backward at first, once you grasp its
Swift
Read article

Appril Festival 2024

As you may (or may not yet) know, I'd love to support and help the tech industry, today I'd like to highlight Appril Festival, i have volunteered a several times
Conference Appril Festival Appsterdam
Read article

self, Self, and Self.self in Swift

Let's dive into the fascinating world of `self`, `Self`, and `Self.self` in Swift. These seemingly similar constructs have distinct meanings and use cases.

What is `self

Swift self
Read article

ExpressibleByStringLiteral URL

The ExpressibleByStringLiteral protocol is a powerful feature in Swift that allows us to create custom types directly from string literals. Essentially, i

Swift ExpressibleByStringLiteral
Read article

LabeledContent in SwiftUI

As developers, we often need to display a value alongside a label, and manually arranging this can be difficult. But `LabeledContent`, a powerful and versatile view that
SwiftUI LabeledContent
Read article

How to monitor network in SwiftUI

Network monitoring is crucial for maintaining robust and reliable applications. In this blog post, we’ll explore how to implement network monitoring in Swift using App
SwiftUI Network
Read article

Subscripts in Swift

Subscripts provide a convenient way to access the elements of a collection, list, or sequence directly by index. Whether you’re dealing with arrays, dictionaries, or custom types, subscripts al
Swift
Read article

SwiftUI ViewModifiers

SwiftUI ViewModifiers are a powerful tool for customizing and enhancing views in your app. They allow you to encapsulate common view modifications into reusable, composable uni

SwiftUI ViewModifiers
Read article

Default values for UserDefaults

UserDefaults (NSUserDefaults) is a go-to database for saving users' preferences over application behavior.

What is UserDefaults?

UserDefaults is a simple key-

Swift UserDefaults
Read article

Implementing Sign in with Apple

**Sign in with Apple** is a user-friendly authentication method that allows users to sign in to apps and websites using their Apple ID. In this blog post, we'll
Sign in with Apple SwiftUI
Read article

TipKit

Let's delve into the fascinating world of TipKit, a powerful framework that empowers developers to create and customize app tips.
Whether you're aiming to introduce new features, reveal hidden f

TipKit Swift
Read article

Pull-to-Refresh in SwiftUI

Pull-to-refresh is a common UI pattern in iOS apps. It allows users to refresh the content of a view by pulling down on it. In this post, we will learn how to implement pull-to-refre
SwiftUI
Read article

ContentUnavailableView

In the ever-evolving world of SwiftUI, creating a seamless user experience involves handling empty states gracefully. Whether it's due to networking failures or empty
SwiftUI ContentUnavailableView
Read article

What is @MainActor

In the ever-evolving world of Swift, concurrency has become a hot topic. With the introduction of Swift Concurrency, developers now have powerful tools at their disposal to write more efficien
MainActor
Read article

Dive into GIT

Let's dive into the world of GIT. Whether you're a seasoned developer or just starting out, understanding these commands is crucial for efficient version control and collaboration. Below, I'll intro

git
Read article

Localizing In Xcode

Localizing and Varying Text with a String Catalog

Your app's success hinges on delivering an exceptional experience to users across different locales. Localization is

Xcode Swift Localization
Read article

Translating closures to async

In this post, we will discuss how to translate closures to async in Swift.

What is continuation?

In Swift, a continuation is a construct that allows you to suspend and resu

Async Swift
Read article

Aurora Editor

Aurora Editor: A Swift-Powered IDE for Efficient Coding

Introduction

As developers, we're always on the lookout for tools that enhance our productivity, streamline our workf

Aurora Editor Swift
Read article

SimpleNetworking

Today i write about my Swift package .
It's a simple networking library for Swift it is a wrapper around URLS

SimpleNetworking Swift SwiftPM
Read article

@dynamicMemberLookup

Let's delve into the fascinating world of Swift's `@dynamicMemberLookup`. This attribute, introduced in Swift 4.2, provides a powerful mechanism for accessing properties and
dynamicMemberLookup Swift
Read article

async/await

Let's delve into the fascinating world of Swift's async/await.
This powerful feature, introduced in Swift 5.5, revolutionizes asynchronous programming, making it more intuitive and r

async await Swift
Read article

iCloud Drive Tips & Tricks

What Is iCloud Drive?

iCloud Drive is Apple's cloud-based file storage and synchronization service. It allows you to store, organize, and collaborate on files and folders across

iCloud
Read article

SwiftUI property wrappers

Let's dive into the fascinating world of SwiftUI property wrappers.

These powerful constructs allow you to manage data, state, and environment information in your Sw

SwiftUI propertyWrapper
Read article

Xcode shortcuts

Mastering Xcode: Boost Your Productivity with Essential Shortcuts

As developers, we're always on the quest for efficiency. Whether you're a seasoned Xcode user or just starting out

Xcode shortcuts
Read article

Implementing Admob in SwiftUI

Recently i was working on a that required me to implement Admob in a SwiftUI app.

I encountered some issues while implementing Admob

Swift Admob
Read article

OTP Code Generation with CryptoKit: A Swift Approach

Introduction

In the realm of secure authentication, One-Time Passwords (OTPs) play a crucial role. Whether it's two-factor authenticat

Swift CryptoKit TOTP
Read article

Snippet: @EnvironmentVariable

If you are creating commandline apps you sometimes need to acces the operating system environment variables, while you can use `get

Swift Observable MacOS EnvironmentVariable propertyWrapper
Read article

New Website

New Website!

Welcome to the new website! We hope you like it.
We've been working hard to make it as easy to use as possible.
If you have any feedback, please let me know.

New Features

  • New d

Website
Read article

Observable Geocoder

Firstly we want to import CoreLocation for the location services.

We're going to construct a basic class, which subclasses ObservableObject.


class Geocoder: ObservableOb
Swift Observable
Read article

Easy Publishers

Ever wondered how to create a simple publisher?

In this blog i'll try to show you the basics

Firstly we need to import the required frameworks


// Used for the ObservableObject
Swift Observable
Read article

Swipe actions in Swift

The issue:

Gestures, delegates, it can be a big struggle (especially for beginners).

If you use a lot of gestures then you’ll need to implement it over and over.
One of the problems is,

SwiftUI
Read article

Safari in SwiftUI

You started playing around with SwiftUI, and you want to present a Safari(WebView), you search in the documentation, and..., SwiftUI has no native way to display a WebView!

To use Safari (SFSaf

SwiftUI
Read article