| Index: test/ios/swift/MyObjcClass.m
|
| diff --git a/test/ios/swift/MyObjcClass.m b/test/ios/swift/MyObjcClass.m
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ca4fbe98e53d59e55f98f6133fc4fbbe5b68bf9e
|
| --- /dev/null
|
| +++ b/test/ios/swift/MyObjcClass.m
|
| @@ -0,0 +1,21 @@
|
| +#import "MyObjcClass.h"
|
| +
|
| +@import swift_framework;
|
| +
|
| +@interface MyObjcClass ()
|
| +@property(nonatomic, strong) MySwiftFrameworkClass* f;
|
| +@property(nonatomic, strong) MyObjcFrameworkClass* o;
|
| +@end
|
| +
|
| +@implementation MyObjcClass
|
| +
|
| +- (instancetype)init {
|
| + self = [super init];
|
| + if (self) {
|
| + self.f = [[MySwiftFrameworkClass alloc] init];
|
| + self.o = [[MyObjcFrameworkClass alloc] init];
|
| + }
|
| + return self;
|
| +}
|
| +
|
| +@end
|
|
|