🆕 Modern Concurrency in Swift, Vapor and Padel Time 🎾

May 20, 2024

Example Issue Template

Hi there, welcome to the 1st issue of iOS Coffee Break Newsletter. Today we will dive into how modern concurrency in Swift works, how we can easily get started building Server-Side applications in Swift and take a look at Padel Time, an iOS/watchOS application, designed to help Padel players to keep track of their scores. Hope you enjoy 🙌

How to bridge completion handlers into async APIs 🫱🏾‍🫲🏻

In this article, Tiago does show you how to use continuations to bridge his old completion handler code into the new async APIs.

The author presents an example of an HTTP GET request that fetches a list of posts. He then begans by defining a callback-based function and then, writes a second version of that same function using an async-await approach based on continuations.

How to deploy a Vapor application ☁️

Last month, Tiago did a series of articles on the work he did to explore how Vapor works. Vapor is a Server-Side Swift framework that leverages the power of Swift to make routing type-safe.

The author shows a deployment that runs locally using Docker an how you can deploy your Vapor application on a server so it becomes publicly available.

Meet Modern Concurrency in Swift ⏳

Last year at work, Tiago felt the need to replace some parts of his codebase to adopt the new Modern Concurrency APIs in Swift.

So, in this short article, the author had prepared a getting started with modern concurrency guide, where he showcased how to fetch a list of articles asynchronously and how to can make use of grouped tasks to optimize performance.

Increment build number using Fastlane ⬆️

I like reading articles like this one where code authors and maintainers use CI/CD workflows to automate tedious tasks to save time and effort and reduce the chances of making mistakes.

In this case, Tiago Henriques goes through how you can improve your CI/CD pipeline to increment the build number using Fastlane.

Padel Time, Your Score Tracker Companion 🎾

Padel Time

Today, we are looking at Padel Time by Tiago Henriques.

With seamless point counting on your Apple Watch, Padel Time ensures precision and eliminates disputes, leaving you to focus on the game. As simple as raising your arm and clicking on the winning team on each point.

Here are some important features:

  • 🎾 Count your points
  • 📈 Track your progress anytime
  • 🏋️‍♀️ Get match and workout statistics
  • 🔒 Go premium to unlock score realtime updates
  • 🧑‍🤝‍🧑 Play along with friends
  • ✅ Have fun winning

Padel Time is available for free for iOS and watchOS devices and does provide a monthly or yearly subscription plan that enables you to share the excitment with your fellow players in realtime, enhancing the experience for everyone involved.

Watch 1Watch 2Watch 3

When your friends join your game by inserting your match session code, they will see the score update on their watch in realtime. A must-have feature for non-stop Padel competitions 🏆.