ViewThatFits
•
4 min read
SwiftUI
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
Sensory feedback in SwiftUI
•
4 min read
SwiftUI
Trigger
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
?
`
Custom Tabbar with SwiftUI
•
4 min read
SwiftUI
TabBar
In this post, we will explore how to create a custom tab bar using SwiftUI.
What is a TabView
?
A is a
Building SwiftUI Debugging Utilities
•
3 min read
SwiftUI
Debug
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
Building Editable Lists in SwiftUI
•
6 min read
SwiftUI
List
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
Placing components within the Safe Area Inset
•
3 min read
SwiftUI
SafeArea
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
Interpolation and formatting in Text
•
4 min read
SwiftUI
Interpolation
Formatting
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 Lists
•
19 min read
SwiftUI
List
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 Buttons
•
4 min read
SwiftUI
Button
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
Adjust the intensity of colors in SwiftUI views
•
4 min read
SwiftUI
Colors
Brightness
SwiftUI provides a powerful way to create dynamic and visually appealing user interfaces. One of the features that can enhance the visual experienc
Difference between animations in SwiftUI
•
11 min read
SwiftUI
Animations
In this post, we will explore the difference between ) and [`withAnimation()
Gradients in text using foregroundStyle
•
3 min read
SwiftUI
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
Using the share sheet to share content
•
5 min read
SwiftUI
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
Handle plurals in Swift with inflection
•
2 min read
SwiftUI
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
Fixing slow scrolling in Calendo
•
7 min read
Calendo
SwiftUI
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
Exploring ControlGroup in SwiftUI
•
3 min read
ControlGroup
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
Accessibility in SwiftUI
•
9 min read
Accessibility
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
Navigation in SwiftUI
•
4 min read
SwiftUI
Navigation
Navigating the World of SwiftUI: A Comprehensive Guide
SwiftUI, Apple's declarative framework for building user interfaces, has revolutionized the way developers create apps
Deep linking in SwiftUI
•
4 min read
SwiftUI
Navigation
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
Mastering animations in SwiftUI
•
4 min read
SwiftUI
Animation
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
Exploring the .inspector Modifier in SwiftUI
•
3 min read
Inspector
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
Building an Asynchronous Button in SwiftUI
•
6 min read
SwiftUI
Asynchronus
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
Safely unwrap optional values in SwiftUI bindings
•
4 min read
SwiftUI
Binding
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
Why You Should Avoid Using AnyView in SwiftUI
•
4 min read
SwiftUI
AnyView
SwiftUI, Apple's declarative framework for building user interfaces, introduces a variety of new concepts and tools for developers.
One such tool is `AnyVie
@Environment variables
•
4 min read
Environment
SwiftUI
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
LabeledContent in SwiftUI
•
2 min read
SwiftUI
LabeledContent
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
How to monitor network in SwiftUI
•
3 min read
SwiftUI
Network
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 ViewModifiers
•
6 min read
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
Implementing Sign in with Apple
•
6 min read
Sign in with Apple
SwiftUI
**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
Pull-to-Refresh in SwiftUI
•
2 min read
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
ContentUnavailableView
•
5 min read
SwiftUI
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 property wrappers
•
5 min read
SwiftUI
propertyWrapper
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
Swipe actions in Swift
•
5 min read
SwiftUI
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,
Safari in SwiftUI
•
2 min read
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