appsquickly / typhoon

Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
https://pilgrim.ph
Apache License 2.0
2.7k stars 269 forks source link

Twice inject properties #531

Closed ct4h closed 7 years ago

ct4h commented 7 years ago

Typhoon twice inject view controller properties when using Storyboard Reference. In class TyphoonStoryboard twice call method instantiateViewControllerWithIdentifier: with different identifiers, but return one view controller.

Example project: https://github.com/ct4h/typhoonEx

Bug repeat in 3.5.1 version open Drawer scene from Authorization scene.

etolstoy commented 7 years ago

@ct4h try new TyphoonStoryboardDefinition's introduced in Typhoon v.4. We'll update the documentation soon.