✅ Part 3 of Bringing App Intents to Your SwiftUI App 🍭
More efficient Swift package resolution with the Tuist Registry
Tuist has just announced a new solution, Tuist Registry, which makes resolution of packages more efficient. It works with any Xcode project and Swift Package.
Welcome to issue #30 of the iOS Coffee Break Newsletter 📬!
In last week issue and part 2 of the series on App Intents, I showed you how to take advantage of App Intents and take the to-dos working sample app to the next level by using the ShowsSnippetView protocol to return a custom view as a result of performing an action.
In case you missed the previous issues, you can check out part 1 here and part 2 here.
Tired of App Intents already? We are not over yet 😅 ...
This week, we reach the 3rd and final part of the series on App Intents! This time, I will continue refining my to-dos sample app and show you how you can create interactive widgets 🕹 using App Intents.
The Plan
- Create a widget that displays the top three to-do items.
- Enable users to mark a to-do as completed directly from the widget.
I have written a detailed guide on the topic here. If you are interested in diving deeper into the implementation details,I highly recommend giving it a read!
Here is the final result:
To explore the full implementation of the sample application, visit the My To-dos app repository on GitHub.
Now it is time to dive into some iOS development topics submitted by the community. Here are this week's highlighted resources. Hope you enjoy 🙌.
CURATED FROM THE COMMUNITY
🥸 Generating Analytics Code with Mustache
Ever wondered how to build a CLI tool that generates code?
This week, Swift Toolkit shared an detailed guide on generating analytics events from markdown tables using Mustache templates, transforming them into Swift or Kotlin code.
🏆 How to Build a Dream Team: A Guide to Recruiting Great Mobile Developers
Finding and recruiting exceptional developers who align with your culture is hard! Pawel has put together a valuable guide sharing his insights on what truly counts when assembling high-performing iOS development teams.
If you are currently applying for new positions or even if your team is hiring, this article might be of great value for you.
🧩 Creating a reusable action menu component in SwiftUI
At some point in your development journey, I bet you've likely encountered code that feels repetitive, overly dependent on the app's data model, and lacking in structure.
In his latest article, Peter walks you through the process of building a reusable SwiftUI component, helping you write cleaner and more maintainable code!
📜 Swift 1:1: Protocols
Regardless of the programming language — be it Swift, Kotlin, or C# — protocols (or interfaces) provide an effective way to handle data flow between objects.
In her latest article, Vera breaks down Swift protocols in an easy-to-understand manner, making it accessible for developers at all levels.
🤖 Running SwiftFormat on CI
If you or your team run workflows on any CI platform, you know that getting them to work in that environment is a different story from running them locally!
Noam has written an insightful guide on how to create a script that runs SwiftFormat, detects any file changes, and commits them automatically — all set up to work seamlessly within your CI pipeline.