NativeScript iOS Daily: Wrapper Lifetime Overhaul and Thread-Safe Releases
Five runtime PRs push Objective-C wrappers away from resurrecting finalizers through diagnostics, rooted and canary modes, plus a fix for weak collections. A separate fix routes native releases to the runtime's thread to prevent interface crashes.
Duration: PT2M7S
Episode overview
This episode is a short developer briefing from NativeScript iOS Daily.
It explains recent repository work in plain language.
- Show: NativeScript iOS Daily
- Published: 2026-11-13T14:13:20Z
- Audio duration: PT2M7S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, it's Friday, November 13th, 2026, and you're listening to NativeScript iOS Daily.
The headline is a coordinated move away from resurrecting finalizers for Objective-C object wrappers, delivered as a tiered, opt-in series with the default behavior unchanged.
First theme is safer lifetimes with visibility. PR 558 lays the groundwork without changing lifetime behavior. It makes touching a released wrapper safe, instead of reaching native code as the wrong object, and adds counters and warnings that show developers exactly where an app still depends on resurrection today.…
Built on that foundation are two alternative lifetime models. PR 559 adds a rooted mode that keeps wrappers alive without relying on finalizer resurrection. PR 561 then adds canary mode, the portable resurrection-free model also used by Node A-P-I runtimes, designed so Android can implement the same shape. In canary…
Second theme is thread safety for releases. PR 560 fixes a crash path where garbage collection triggered on a background queue could deallocate views, animation transactions and captured blocks off the main thread, which UIKit and Core Animation do not tolerate. Native objects are now…
What's…