-
Awaiting Simple Async Function
- Write an
async
function that returns a greeting string. - Test that it returns the expected value using
#expect
.
- Write an
-
Async Throwing Function
Yes, this is absolutely possible and is a pattern called Server-Driven UI (SDUI). It's becoming increasingly popular for mobile apps that need dynamic layouts, A/B testing, or frequent UI changes without app store updates.
The idea is to have your backend return JSON that describes the UI structure, components, and their properties, which your SwiftUI app then interprets and renders dynamically.
graph LR
Proposal: Enhancing Social Media Interactions with Content Creators Through Contextual Linking and Open APIs
User Story Jane is scrolling through her favorite social media app when she sees a post from a trusted journalist discussing a breaking news story. Intrigued, she taps the link and lands on the journalist’s blog. At the bottom of the article, she notices a dynamic summary showing the volume and nature of the ongoing discussion across social media, with her platform—Bluesky—automatically highlighted. She's able to return to the original thread seamlessly, where she contributes to the discussion better informed than before. This flow not only enriches Jane’s understanding but also drives authentic engagement with both the article and the online community.
Overview This proposal outlines a standardized framework to improve the interactions between social media platforms and content creators, including news organizations and independent bloggers. By appending contextual metadata to shared lin
This tutorial explains the relationship between UIWindowScene
, UIWindow
, and UIScene
, and shows how to create a secondary debug window using SwiftUI inside a UIKit-hosted UIWindow
. This is especially useful for developers working on internal tools or debugging overlays for iOS, iPadOS, or visionOS apps.
Apple's scene-based lifecycle (introduced in iOS 13) allows multiple UI scenes per app. Each scene is an instance of UIScene
, and for UIKit-based apps, it takes the form of a UIWindowScene
. Each UIWindowScene
can own multiple UIWindow
instances.
(via ChatGPT)
Modern OSes like macOS, Linux, Windows, and iOS have built-in support for networking features that make tools like WireGuard and Tailscale work smoothly:
| Feature | Description | Used By |