SwiftUI

How to Build a SwiftUI Cart Page with Custom Swipe-to-Delete

Creating a Custom Swipe-to-Delete Action for a Cart Page UI with SwiftUI To create a Stylish Shopping Cart UI Screens Using SwiftUI In this tutorial, we will be building a custom cart page UI in SwiftUI, complete with swipe to delete functionality. …

Bolt UIX

How to Use REST APIs in SwiftUI: Best Practices

I am using a REST API to fetch data. You will see how to use URL sessions in Swift to get JSON files and images.  This is a very important topic, especially if you are planning to land a job as an iOS developer soon. Using an API in a take-home proj…

Bolt UIX

Creating an App Walkthrough or Onboarding with SwiftUI 4.0

This tutorial will guide you through the process of creating a stylish onboarding screen or app walkthrough screens using SwiftUI 4.0.  The onboarding screen is typically the first screen a user sees when launching a new app, and it’s an excellent o…

Bolt UIX

Creating a Searchable List in SwiftUI

Starting SwiftUI 3.0 and iOS 15, Apple made searching through a list a lot easier. With a simple modifier, SwiftUI will automatically add a search field in the best possible place it can find. Effortlessly search through a list.

Bolt UIX

Swipe actions in SwiftUI

Easily add swipe actions to a row in a list. Swipe actions on a list row is easy to implement with the new swipeActions(edge:allowsFullSwipe:content:) modifier, introduced in SwiftUI 3.0 and iOS 15. In this tutorial, let's see how to implement t…

Bolt UIX

How to add and customize List row separators in SwiftUI

Customizing how a list is displayed has never been easier than with SwiftUI. Two new modifiers have been introduced to customize the list row separator's color and its visibility. Let's see how to use them!  Customize list row separators.

Bolt UIX

Load remote images using AsyncImage in SwiftUI

Starting from SwiftUI 3.0, loading remote images in an application doesn't require a third-party package anymore: it's built-in with AsyncImage! In this section, we'll take a look at this new view and learn how easy it is to implement it…

Bolt UIX

Rendering Markdown Text with AttributedString in SwiftUI

AttributeContainer , along with AttributedString, allows us to easily style our Texts - wether it's by adding a foreground color, a background color or adding an underline. Any Text style can be easily achieved with AttributeContainer. Let's…

Bolt UIX

Markdown with AttributedString in SwiftUI

SwiftUI 3.0 comes with amazing new features, including markdown support with AttributedString. Let's see how to format a string from markdown using AttributedStrings! Use AttributedString to generate formatted text from markdown.

Bolt UIX

Using Conditional Modifiers in SwiftUI

Learn different ways to add a conditional modifier to your SwiftUI view In your SwiftUI application, you might want add a modifier to an element depending on a certain condition.  There are multiple ways to achieve that: wrapping everything in an if…

Bolt UIX

Creating Action Sheets in SwiftUI

An ActionSheet is useful when you want to present the user with multiple options to choose from, without presenting an alert. For example, you would want to offer the possibility to the user to either pick from their library or take a photo to chang…

Bolt UIX

How to Implement Share Sheet in SwiftUI

The Share Sheet is a powerful tool that allows users to share content from your app with others through a variety of methods such as social media, email, or messaging.  In this tutorial, you will learn how to add a Share Sheet to your SwiftUI app, a…

Bolt UIX

How to Create a Tappable Link in Text in SwiftUI

If you want to add a link to a Text in SwiftUI, you'll need to call the .onTapGesture modifier as well as UIApplication.shared.open. Open a web page in Safari when the user clicks on a link in your SwiftUI application

Bolt UIX

Controlling Video Playback with AVPlayer in SwiftUI

AVPlayer comes with multiple built-in controls so you can control how your video is shown to the user. Learn how to set up an AVPlayer in your SwiftUI application by reading the Videos with AVPlayer section. Play, pause, change the video speed, get …

Bolt UIX

How to Play Videos with AVPlayer in SwiftUI

Add a video or an audio player to your SwiftUI application by using AVPlayer and AVKit If you want to integrate a video or an audio player in your application, AVPlayer is the way to go.  It's easy and fast to implement, and provides all the nec…

Bolt UIX
Load More
That is All

Bookmark Saved!

Bookmark is saved successfully.