What's new in SwiftUI for iOS 18? I've written articles covering all the changes, big and small, and there's 30+ new Xcode projects of sample code ready to try! https://www.hackingwithswift.com/articles/270/whats-new-in-swiftui-for-ios-18
What’s new in SwiftUI for iOS 18

We got new API for colors and gradients, more scrollview improvements, tab improvements, and more.

Hacking with Swift

The biggest changes for me are:

- The TextRenderer protocol will unlock a ton of delight in app design
- ContactAccessButton makes privacy-friendly contact import a cinch
- Group(subviewsOf:) gives us so much power with subviews
- The Entry macro is genius
- MeshGradients are 💯

At the end I pick out a few things that are increasingly painful in their absence, including:

- Somehow we still have no WebView/SafariView
- The keychain remains hard to use and easy to screw up
- AsyncImageView desperately needs caching options
- Rich text in TextEditor

@twostraws couldn’t agree more on the Rich text in TextEditor! Markdown is excellent but not everyone knows how to use it nor has the inclination to learn. Bringing easier controls to enrich text is something missing at the moment. I wish there was a control light they’ve brought to Journal that kinda seems perfect