Richard Robinson

@richardrobinson
45 Followers
67 Following
19 Posts
Software Engineer at Apple. I love dogs, puns, and sushi
rr.codes
If this weren’t exciting enough, LinkPresentation is also now available on watchOS and tvOS!
New in iOS 26.4 is the LinkMetadata API! A Swift-y addition to the LinkPresentation framework to make it easier than ever to get metadata from URLs. And it also fully supports Codable, Transferable, and App Intents! Check it out! https://developer.apple.com/documentation/linkpresentation/linkmetadata
LinkMetadata | Apple Developer Documentation

A structure containing metadata about a URL.

Apple Developer Documentation
Meet WebKit for SwiftUI, “`WebPage` is a brand new `Observable` class that represents your web content”, https://developer.apple.com/videos/play/wwdc2025/231/ #EskimoTV
Meet WebKit for SwiftUI - WWDC25 - Videos - Apple Developer

Discover how you can use WebKit to effortlessly integrate web content into your SwiftUI apps. Learn how to load and display web content,...

Apple Developer

As promised in my SwiftUI for Mac 2025 article, here is a more detailed article about SwiftUI's new WebView.

https://troz.net/post/2025/swiftui-webview/

The SwiftUI team have done an amazing job on this, and I can't wait to start using it in my apps and books.

#Swift #SwiftUI #WebView

This is probably my favorite Menu Bar command ever @panic @cabel

When the new SwiftUI WebView API landed in iOS 26 I was so happy. And now… I'm even happier 🤩

- WebPage conforms to Transferable.
- All the loading APIs return an AsyncSequence so you observe the whole navigation process.
- There's a load() overload taking an optional URL, for when URLRequest is too heavyweight.

Chef's kiss-level stuff 🙌

The WebPage API has gained some cool new functionality in Beta 3, like conformance to Transferable, and a streamlined way to observe navigation loads! Check out the docs to learn more! https://developer.apple.com/documentation/webkit/webkit-for-swiftui
WebKit for SwiftUI | Apple Developer Documentation

Integrate web content into your SwiftUI apps with new standard views you connect to webpages.

Apple Developer Documentation
Writing Swift macros at 4 am is probably not the best idea I've ever had
The biggest #swift news for me out of the new OS releases
https://developer.apple.com/documentation/webkit/webpage
WebPage | Apple Developer Documentation

An object that controls and manages the behavior of interactive web content.

Apple Developer Documentation

I like API that's tweet-sized 😎

struct ContentView: View {
@State private var page = WebPage()

var body: some View {
WebView(page)
.onAppear {
page.load(URLRequest(url: URL(string: "https:/swift.org")!))
}
}
}