krzysztofzablocki / Inject

Hot Reloading for Swift applications!
MIT License
2.1k stars 114 forks source link

fix: building failed in release mode #52

Closed guzhenhuaGitHub closed 1 year ago

guzhenhuaGitHub commented 1 year ago

code like this may cause an error in release mode:

    let viewController = Inject.ViewControllerHost(CustomViewController())
    viewController.xxxProperty = newValue

error like this:

    value of type 'InjectViewControllerType' (aka 'UIViewController') has no member 'xxxProperty'
krzysztofzablocki commented 1 year ago

🙇