Skip to main content

41 posts tagged with "Swift"

Swift programming language tutorials and guides

View All Tags

App Intents for SwiftUI Apps: Siri, Shortcuts, Spotlight, and Action Button

· 6 min read
Full Stack Developer
Last updated on June 22, 2026

Expose real product actions to the system instead of treating your app as an isolated screen stack.

SwiftUI App Intents architecture connecting app actions to Siri Shortcuts Spotlight and widgets

App Intents are becoming one of the most important integration points for iOS apps. They let your app expose actions and data to system features such as Siri, Shortcuts, Spotlight, widgets, and other surfaces that can help users act without opening the full app first.

For SwiftUI templates, this is a major opportunity. A template usually already has a predictable product loop: browse products, start a chat, save a listing, log a workout, check an order, or create a reminder. App Intents turn those loops into system-level capabilities.

This guide explains how to plan App Intents in a SwiftUI app template:

  • identify user actions worth exposing;
  • model app entities and queries;
  • decide which actions belong in Shortcuts or Siri;
  • connect intents to widgets and Spotlight;
  • test the integration before release.

SwiftData + CloudKit for SwiftUI Templates

· 6 min read
Full Stack Developer
Last updated on June 22, 2026

Persistence decisions that keep a template fast today and maintainable later.

SwiftData and CloudKit architecture for a SwiftUI app template

SwiftData is one of the most important tools for modern SwiftUI apps. It gives developers a native, Swift-first way to model and persist local data while working naturally with SwiftUI.

For app templates, the question is not "Should every app use SwiftData?" The better question is: "Which parts of this template need local state, offline behavior, sync, or structured persistence?"

This guide explains how to use SwiftData and CloudKit in SwiftUI templates:

  • when SwiftData is a good fit;
  • when Core Data or a backend-first model is safer;
  • how to think about iCloud sync;
  • how to structure model boundaries;
  • how to avoid coupling persistence directly to every screen.

WidgetKit and Live Activities for SwiftUI Apps

· 6 min read
Full Stack Developer
Last updated on June 22, 2026

Make your app useful before the user opens it.

WidgetKit and Live Activities surfaces for a SwiftUI app template

Widgets and Live Activities are not decorations. They are retention surfaces.

A good widget gives users a reason to come back. A good Live Activity keeps an active task visible at the exact moment it matters. Together, they can make a SwiftUI app feel deeply integrated into iOS.

This guide shows how to plan WidgetKit and Live Activities for SwiftUI app templates:

  • choose the right use cases;
  • separate widgets from Live Activities;
  • model state safely;
  • use App Intents for interaction;
  • verify updates, permissions, and fallback states.

Build a Tinder-like Card Swipe in Swift with Koloda View | iOS Tutorial

· 6 min read
Full Stack Developer
Last updated on November 20, 2023

Build a Tinder Card Swipes in Swifit with Koloda View

Over the past few years, along with the popularity of social networking applications, dating apps have also rapidly emerged. One of these most prominent applications is Tinder. It’s not only an awesome dating app, but it also created new iOS trends on view animations or transitions, such as the Tinder Card Swipe or Tinder UI (our Swift Dating App was inspired by Tinder).

Top 10 SwiftUI Libraries to Speed Up iOS App Development

· 4 min read
Full Stack Developer
Last updated on August 19, 2023

swftui libraries

SwiftUI has revolutionized iOS app development by offering a declarative and intuitive way to build user interfaces. To further enhance your SwiftUI development experience and make your apps stand out, various third-party libraries have emerged. In this blog post, we'll dive into 10 SwiftUI libraries that can supercharge your iOS app development journey. Each library comes with a code example explained line by line to help you understand its implementation.

Push Notifications with Firebase in Swift 5 - Tutorial

· 10 min read
Full Stack Developer
Last updated on November 17, 2022

Every iOS app should leverage push notifications to boost user engagement and retention. Push notifications are a powerful tool, but implementing them in Swift 5 has been historically tricky since you usually needed a server. If you’re just getting started with your app development, chances are you’re already using Firebase as your backend. That’s great news – implementing push notifications with Firebase in Swift 5 is what we cover in this tutorial. In fact, we’ve followed exactly these steps to add push notifications to our Group Chat app.

Push Notification with Firebase in Swift 5

How to convert HEX colors to UIColor in Swift 5?

· 2 min read
Full Stack Developer
Last updated on October 11, 2022

There are many situations when you want to create an UIColor object from a hex color string. In this post, we provide a code sample that will help you convert hex colors to UIColor objects. While generally, you can get away with this by manually converting the hex code to RGB (using an online converter, for example), there are scenarios where your colors are dynamic, so you'll need a utility method that converts the hex code to an RGB color in Swift 5.

How to Implement 'Sign in with Apple' Button in Swift - iOS Tutorial

· 6 min read
Full Stack Developer
Last updated on October 7, 2022

In WWDC19, Apple unveiled “Sign In with Apple”, a new way for users to create accounts and sign in into iOS apps. The benefits for using this is that you are getting a two-factor authenticated, secure login system for free. Additionally, it reduces friction in the on boarding flow, which is great in terms of conversion and growth. In this iOS tutorial, we are going to learn how to implement the Sign in with Apple button in Swift.

![How to Implement “Sign in with Apple” Button in Swift](/img/blog/sign-in-with-apple-swift /sign-in-with-apple-in-Swift.png)