# Share Extensions in Practice – Part 5: Memory-Safe SwiftUI in Extensions
Ilyas Hallak 3 min read
A practical guide to avoiding Share Extension memory crashes with payload control and a Core Data-first data path.
A practical guide to avoiding Share Extension memory crashes with payload control and a Core Data-first data path.
How to integrate SwiftUI into iOS Share Extensions using UIHostingController, clean state management, and seamless extension lifecycle handling.
My experience migrating a tab-based app to iOS 18 and 26 – from deprecated APIs to Liquid Glass design.