X Tutup
Skip to content

Commit 3fd792d

Browse files
author
Anselz
committed
Initial Commit
0 parents  commit 3fd792d

File tree

14 files changed

+649
-0
lines changed

14 files changed

+649
-0
lines changed

JavaScript.xcodeproj/project.pbxproj

Lines changed: 444 additions & 0 deletions
Large diffs are not rendered by default.

JavaScript/AppDelegate.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// AppDelegate.h
3+
// JavaScript
4+
//
5+
// Created by Ansel on 12-11-27.
6+
// Copyright (c) 2012年 Ansel. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
12+
13+
@property (strong, nonatomic) UIWindow *window;
14+
15+
@end

JavaScript/AppDelegate.m

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//
2+
// AppDelegate.m
3+
// JavaScript
4+
//
5+
// Created by Ansel on 12-11-27.
6+
// Copyright (c) 2012年 Ansel. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
11+
@implementation AppDelegate
12+
13+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
14+
{
15+
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
16+
// Override point for customization after application launch.
17+
self.window.backgroundColor = [UIColor whiteColor];
18+
[self.window makeKeyAndVisible];
19+
return YES;
20+
}
21+
22+
- (void)applicationWillResignActive:(UIApplication *)application
23+
{
24+
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25+
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26+
}
27+
28+
- (void)applicationDidEnterBackground:(UIApplication *)application
29+
{
30+
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
31+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
32+
}
33+
34+
- (void)applicationWillEnterForeground:(UIApplication *)application
35+
{
36+
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
37+
}
38+
39+
- (void)applicationDidBecomeActive:(UIApplication *)application
40+
{
41+
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
42+
}
43+
44+
- (void)applicationWillTerminate:(UIApplication *)application
45+
{
46+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
47+
}
48+
49+
@end

JavaScript/Default-568h@2x.png

18.2 KB
Loading

JavaScript/Default.png

6.39 KB
Loading

JavaScript/Default@2x.png

15.7 KB
Loading

JavaScript/JavaScript-Info.plist

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>${PRODUCT_NAME}</string>
9+
<key>CFBundleExecutable</key>
10+
<string>${EXECUTABLE_NAME}</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>com.aust.${PRODUCT_NAME:rfc1034identifier}</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>${PRODUCT_NAME}</string>
17+
<key>CFBundlePackageType</key>
18+
<string>APPL</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>1.0</string>
21+
<key>CFBundleSignature</key>
22+
<string>????</string>
23+
<key>CFBundleVersion</key>
24+
<string>1.0</string>
25+
<key>LSRequiresIPhoneOS</key>
26+
<true/>
27+
<key>UIRequiredDeviceCapabilities</key>
28+
<array>
29+
<string>armv7</string>
30+
</array>
31+
<key>UISupportedInterfaceOrientations</key>
32+
<array>
33+
<string>UIInterfaceOrientationPortrait</string>
34+
<string>UIInterfaceOrientationLandscapeLeft</string>
35+
<string>UIInterfaceOrientationLandscapeRight</string>
36+
</array>
37+
</dict>
38+
</plist>

JavaScript/JavaScript-Prefix.pch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//
2+
// Prefix header for all source files of the 'JavaScript' target in the 'JavaScript' project
3+
//
4+
5+
#import <Availability.h>
6+
7+
#ifndef __IPHONE_3_0
8+
#warning "This project uses features only available in iOS SDK 3.0 and later."
9+
#endif
10+
11+
#ifdef __OBJC__
12+
#import <UIKit/UIKit.h>
13+
#import <Foundation/Foundation.h>
14+
#endif
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* Localized versions of Info.plist keys */
2+

JavaScript/main.m

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// main.m
3+
// JavaScript
4+
//
5+
// Created by Ansel on 12-11-27.
6+
// Copyright (c) 2012年 Ansel. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
#import "AppDelegate.h"
12+
13+
int main(int argc, char *argv[])
14+
{
15+
@autoreleasepool {
16+
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17+
}
18+
}

0 commit comments

Comments
 (0)
X Tutup