Share your work and get the
Latest iOS dev beans

Stay up to date with articles, tips and apps submitted by the dev community delivered directly to your inbox. Swift, iOS, macOS, watchOS, SwiftUI, UIKit and more.
Curated by Tiago Henriques and published every week.

No spam, ever. Unsubscribe at any time.
By subscribing you consent to processing of your data
as described in the privacy policy.

Issue #4

June 27, 2024

๐Ÿงช Swift Testing, Explicitly build modules and Upcoming iOS conferences ๐Ÿ—“๏ธ

This week I have been pretty busy at work, but was able to put some time to get along with what is new within the community.

Yesterday, I had the chance to attend to Pol's Xcode Cloud workshop, and it was ๐Ÿ”ฅ. He revealed some behind-the-scenes magic ๐Ÿช„ and gave a comprehensive overview of how Xcode Cloud operates. We explored practical use cases on his app QReate, including setting up dependencies, creating CI/CD workflows to run tests, uploading the app to external services, generating release notes, and much more! The three hours flew by, and I can't wait to apply all the knowledge I gained!

I am also thrilled to announce that I received my first submissions to the platform, and I am super happy to feature them in this week's issue! Hope you enjoy ๐Ÿ™Œ.

๐Ÿ‘‹ Say Goodbye to XCTest

Swift Testing has emerged as one of the standout features from WWDC24. Apple's new framework will be the default when creating a new project starting from Xcode 16. Veraโ€™s latest article offers a comprehensive overview of this new framework, showcasing code examples that illustrate how features like tagging and parameterized testing work.

๐Ÿ†• New ScrollView SwiftUI API

This week, Thomas tweeted about the new ScrollView SwiftUI API in iOS 18, sharing a code snippet that demonstrates how to easily hide the navigation bar and the tab bar when scrolling. This is achieved using the onScrollPhaseChange view modifier in combination with the toolbarVisibility method. At work, I had previously achieved this effect using UIKitโ€™s intricate methods, but now with SwiftUI, it can be done with just a few lines of code ๐Ÿ˜ฎ.

๐Ÿ” SwiftUI Hero Animations with NavigationTransition

With the introduction of the NavigationTransition protocol in iOS 18, implementing a hero animation in SwiftUI takes just three lines of code. I mentioned this new feature in last week's article, but this article takes this new API to a whole new level. Peter's article will guide you through creating a hero animation similar to the one in the App Storeโ€™s Today view and show you how to turn it into a reusable SwiftUI component.

๐Ÿง™โ€โ™€๏ธ Demystifying Explicitly build modules for Xcode

One of the new features in Xcode 16 is called explicitly built modules. Despite its abstract name, this feature enhances build speed and makes compiler errors more informative. This bitrise article delves into how this feature works and the advantages it offers to projects that adopt it. While the benchmarks discussed do not show performance improvements yet, we may see more accurate results with the final release of Xcode 16.

๐ŸŒŸ Multiplatform Compose + SwiftUI = The Native App Future

Blending Compose UI and SwiftUI on iOS offers app developers the opportunity to create mostly-native experiences from mostly-shared Kotlin. Touchlab gives a 1-hour live stream event showcasing advanced Compose MP + SwiftUI techniques. I got to admit that I am skeptical about cross platform tools but I am willing to give it a try! If you are interested to join, do it now because the workshop is tomorrow!

๐Ÿ—“๏ธ Upcoming iOS Conferences 2024

As iOS developers,WWDC24 is the conference we eagerly anticipate each year. Now that it has concluded, let's look forward to the upcoming developer conferences. iOSDevUK, NSSpain, Swift Leeds, DO iOS, and more are on the horizon! I am really excited and hopeful to attend my first conference this year and have a chat with some of you, fingers crossed ๐Ÿคž!