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

Side by Side Diff: test/mac/swift/AppDelegate.m

Issue 1160773005: Support for Swift language and Clang modules for ninja generator. Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Fixed rare build failure when compiling with modules for multiple archs Created 5 years, 4 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
« no previous file with comments | « test/mac/swift/AppDelegate.h ('k') | test/mac/swift/Info.plist » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #import "AppDelegate.h"
2 #import "swift_mac-Swift.h"
3
4 @interface AppDelegate ()
5
6 @property(nonatomic, strong) MySwiftClass* swiftField;
7 @property(nonatomic, strong) NSWindow* window;
8
9 @end
10
11 @implementation AppDelegate
12
13 @synthesize swiftField, window;
14
15 - (void)applicationDidFinishLaunching:(NSNotification*)aNotification {
16 // self.window = [[NSWindow alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
17 // self.window.rootViewController = [[NSViewController alloc] init];
18 // [self.window makeKeyAndVisible];
19
20 self.swiftField = [[MySwiftClass alloc] init];
21 }
22
23 - (void)applicationWillTerminate:(NSNotification*)aNotification {
24 // Insert code here to tear down your application
25 }
26
27 @end
OLDNEW
« no previous file with comments | « test/mac/swift/AppDelegate.h ('k') | test/mac/swift/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698