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

Auto Injection for swift #560

Closed msalmanST closed 7 years ago

msalmanST commented 7 years ago

Hi,

Just like in objective-c with InjectClass macro, do you guys have any auto wiring macros/functionality/global-method for swift also ? like if I can mark Inject at my swift class property and it resolved automatically from the assembly.

Thanks.

jasperblues commented 7 years ago

There's no such thing available for Swift, unfortunately. You need to declare wiring in an assembly.