johnno1962 / InjectionIII

Re-write of Injection for Xcode in (mostly) Swift
MIT License
4.02k stars 319 forks source link

storyboard not working #438

Closed DargonLee closed 1 year ago

DargonLee commented 1 year ago

💉 Waiting for rebuild of /Users/apple/xxx/Storyboard/Base.lproj/Main.storyboard 💉 ⚠️ Copied /Users/apple/xxx/Storyboard/Base.lproj/Main.storyboard 2023-02-23 15:41:58.197792+0800 ZofomoNote[42442:2978161] [ViewController] Calling -viewWillAppear: directly on a view controller is not supported, and may result in out-of-order callbacks and other inconsistent behavior. Use the -beginAppearanceTransition:animated: and -endAppearanceTransition APIs on UIViewController to manually drive appearance callbacks instead. Make a symbolic breakpoint at UIViewControllerAlertForAppearanceCallbackMisuse to catch this in the debugger. View controller: <ViewController: 0x15dd097d0> 2023-02-23 15:41:58.197952+0800 ZofomoNote[42442:2978161] [ViewController] Calling -viewDidAppear: directly on a view controller is not supported, and may result in out-of-order callbacks and other inconsistent behavior. Use the -beginAppearanceTransition:animated: and -endAppearanceTransition APIs on UIViewController to manually drive appearance callbacks instead. Make a symbolic breakpoint at UIViewControllerAlertForAppearanceCallbackMisuse to catch this in the debugger. View controller: <ViewController: 0x15dd097d0>

johnno1962 commented 1 year ago

Hi, probably, this code needs to be taken out but it seems like this is a warning. Is the storyboard not injecting? I'm afraid storyboard injection is only supported on a "best effort" basis.