Closed Brain89 closed 7 years ago
Looking..
To get that working, you should make your property declaration as:
dynamic var objectiveCAssembly: ASObjectiveCAssembly!
and objective-c method return type change to id
:
@interface ASObjectiveCAssembly : TyphoonAssembly
- (id)objectiveCDefinition;
@end
Just checked and confirmed. Sample project doesn't work with stable Typhoon (3.5.1) as well.
It is very strange. I have at least one project in production with the similar code and Typhoon 3.5.x and everything works fine.
Your solution could be simpler: it works if I just add dynamic.
Hello. I have an issue with v4-alpha version. If I try to inject an object from Objective-C assembly inside Swift assembly I receive EXC_BAD_ACCESS.
But everything works fine when two Objective-C assemblies are collaborating.
Here is an example project. Have a look at ASObjectiveCAssembly and SwiftAssembly. TyphoonV4Test.zip