With tag: Swift
NavigationStack
JavaScriptCore
Expressible Literals
Using MetricKit
What is MetricKit?
MetricKit is a framework introduced in iOS 13 that allows y
Contact Provider Extension
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
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
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
Understanding assertions in Swift
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
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
What is @frozen
Enums
Difference between map, flatMap, compactMap
CoreSpotlight
@ViewBuilder in Swift
Loging using OSLog
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
Variadic Parameters
What are Variadic Parameters
?
In Swift, variadic parameters enable a fu
If case let
self, Self, and Self.self in Swift
What is `self
ExpressibleByStringLiteral URL
The ExpressibleByStringLiteral
protocol is a powerful feature in Swift that allows us to create custom types directly from string literals. Essentially, i
Subscripts in Swift
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-
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
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
Translating closures to async
What is continuation
?
In Swift, a continuation is a construct that allows you to suspend and resu
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
SimpleNetworking
Today i write about my Swift package .
It's a simple networking library for Swift it is a wrapper around URLS
@dynamicMemberLookup
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
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
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
Snippet: @EnvironmentVariable
If you are creating commandline apps you sometimes need to acces the operating system environment variables, while you can use `get
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
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