appsquickly / typhoon-example

An example application built with Typhoon dependency injection framework.
Apache License 2.0
251 stars 59 forks source link

Not possible (AFAIK) to call [TyphoonAssembly assembly] from Swift. #16

Closed ghost closed 10 years ago

ghost commented 10 years ago

According to this Stack Overflow post it should technically be possible, but I think maybe [TyphoonAseembly assembly] is colliding with [TyphoonAssembly init].

jasperblues commented 10 years ago

You're right, when calling TyphoonAssembly() from Swift it goes direct to the (private in ObjC) init method. There was actually some additionally config being done in it . . .

This has been fixed (additional config moved), but not yet pushed to CocoaPods. Meanwhile to use:

pod 'Typhoon', :head