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

Side by Side Diff: test/ios/swift-wmo/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/ios/swift-wmo/AppDelegate.h ('k') | test/ios/swift-wmo/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_wmo-Swift.h"
3
4 @interface AppDelegate ()
5
6 @property(nonatomic, strong) MySwiftClass* swiftField;
7 @property(nonatomic, strong) MySecondSwiftClass* secondSwiftField;
8
9 @end
10
11 @implementation AppDelegate
12
13 - (BOOL)application:(UIApplication*)application
14 didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
15 CGRect bounds = [[UIScreen mainScreen] nativeBounds];
16 self.window = [[UIWindow alloc] initWithFrame:bounds];
17 self.window.rootViewController = [[UIViewController alloc] init];
18 [self.window makeKeyAndVisible];
19
20 self.swiftField = [[MySwiftClass alloc] init];
21 self.secondSwiftField = [[MySecondSwiftClass alloc] init];
22
23 return YES;
24 }
25
26 - (void)applicationWillResignActive:(UIApplication*)application {
27 }
28
29 - (void)applicationDidEnterBackground:(UIApplication*)application {
30 }
31
32 - (void)applicationWillEnterForeground:(UIApplication*)application {
33 }
34
35 - (void)applicationDidBecomeActive:(UIApplication*)application {
36 }
37
38 - (void)applicationWillTerminate:(UIApplication*)application {
39 }
40
41 @end
OLDNEW
« no previous file with comments | « test/ios/swift-wmo/AppDelegate.h ('k') | test/ios/swift-wmo/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698