siteline / swiftui-introspect

Introspect underlying UIKit/AppKit components from SwiftUI
MIT License
5.68k stars 352 forks source link

@Weak isn't written to #396

Open frlefebvre opened 10 months ago

frlefebvre commented 10 months ago

Description

I store a controller's navigation bar into an @Weak property so I can modify it later on. This used to work fine but it appears that this broke recently. Looking into this, I'm noticing that my @Weak property remains nil even after assigning it a value.

Checklist

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

Version information

Version 1.1.2

Destination operating system

iOS 17

Xcode version information

Version 15.2 (15C500b)

Swift Compiler version information

No response

davdroman commented 10 months ago

Sorry to hear this broke. Can you provide a snippet displaying this behavior please?