Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: test/ios/swift/MyObjcClass.m

Issue 1160773005: Support for Swift language and Clang modules for ninja generator. Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #import "MyObjcClass.h"
2
3 @import swift_framework;
4
5 @interface MyObjcClass ()
6 @property(nonatomic, strong) MySwiftFrameworkClass* f;
7 @property(nonatomic, strong) MyObjcFrameworkClass* o;
8 @end
9
10 @implementation MyObjcClass
11
12 - (instancetype)init {
13 self = [super init];
14 if (self) {
15 self.f = [[MySwiftFrameworkClass alloc] init];
16 self.o = [[MyObjcFrameworkClass alloc] init];
17 }
18 return self;
19 }
20
21 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698