Learn how to use matchedGeometryEffect() in SwiftUI to animate a capsule background that highlights the selected option in a custom segmented control.
With iOS 18, we can now use SwiftUI animations to animate UIKit views, making it easier to bring SwiftUI’s expressive and flexible animations into UIKit projects.
Learn how to resolve the issue of using lazy variables in @Observable classes by annotating them with @ObservationIgnored.
"Integrating SwiftUI into UIKit Apps" by Natalia Panferova has been updated, featuring the latest tools like Observable, the Preview macro, and a new section on animating UIKit views with SwiftUI animations in iOS 18.
To copy a string to the clipboard on macOS, we need to first clear it using clearContents(), unlike on iOS, where UIPasteboard automatically overwrites the existing data.
SwiftUI provides a simple way to set a view's background to a shape, like a capsule or rounded rectangle, using the background(_:in:fillStyle:) modifier.
Configure a file target membership in Xcode to restrict it to specific platforms, avoiding the need for conditional compilation checks when the file contains platform-specific code.
Xcode 16 introduced the @Previewable macro, making it easier to preview SwiftUI views with bindings.
Explore the practical applications and distinctions of self, Self, and Self.self in Swift, clarifying their roles in instance referencing, protocol conformance, and metatype access.
This post will walk you through all the necessary setup so that you can enable remote push notification functionality in your iOS project.
Visualise data distributions by building a histogram and a 2D density plot with the new Swift Charts framework.
Take a closer look at AttributedString type and different attribute scopes it can contain. Explore how Apple system frameworks interpret available attributes and how to create your own.