Skip to content

Commit 6b215a2

Browse files
committed
Initial Commit
0 parents  commit 6b215a2

18 files changed

+789
-0
lines changed

Quick Start Tutorial.xcodeproj/project.pbxproj

+482
Large diffs are not rendered by default.

Quick Start Tutorial/AppDelegate.h

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// AppDelegate.h
3+
// Quick Start Tutorial
4+
//
5+
// Created by Paymahn Moghadasian on 2013-07-22.
6+
// Copyright (c) 2013 Paymahn Moghadasian. 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

Quick Start Tutorial/AppDelegate.m

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
//
2+
// AppDelegate.m
3+
// Quick Start Tutorial
4+
//
5+
// Created by Paymahn Moghadasian on 2013-07-22.
6+
// Copyright (c) 2013 Paymahn Moghadasian. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
11+
@implementation AppDelegate
12+
13+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
14+
{
15+
// Override point for customization after application launch.
16+
return YES;
17+
}
18+
19+
- (void)applicationWillResignActive:(UIApplication *)application
20+
{
21+
// 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.
22+
// 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.
23+
}
24+
25+
- (void)applicationDidEnterBackground:(UIApplication *)application
26+
{
27+
// 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.
28+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
29+
}
30+
31+
- (void)applicationWillEnterForeground:(UIApplication *)application
32+
{
33+
// 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.
34+
}
35+
36+
- (void)applicationDidBecomeActive:(UIApplication *)application
37+
{
38+
// 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.
39+
}
40+
41+
- (void)applicationWillTerminate:(UIApplication *)application
42+
{
43+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
44+
}
45+
46+
@end
18.2 KB
Loading

Quick Start Tutorial/Default.png

6.39 KB
Loading
15.7 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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>Me.${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>UIMainStoryboardFile</key>
28+
<string>MainStoryboard_iPhone</string>
29+
<key>UIMainStoryboardFile~ipad</key>
30+
<string>MainStoryboard_iPad</string>
31+
<key>UIRequiredDeviceCapabilities</key>
32+
<array>
33+
<string>armv7</string>
34+
</array>
35+
<key>UISupportedInterfaceOrientations</key>
36+
<array>
37+
<string>UIInterfaceOrientationPortrait</string>
38+
<string>UIInterfaceOrientationLandscapeLeft</string>
39+
<string>UIInterfaceOrientationLandscapeRight</string>
40+
</array>
41+
<key>UISupportedInterfaceOrientations~ipad</key>
42+
<array>
43+
<string>UIInterfaceOrientationPortrait</string>
44+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
45+
<string>UIInterfaceOrientationLandscapeLeft</string>
46+
<string>UIInterfaceOrientationLandscapeRight</string>
47+
</array>
48+
</dict>
49+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//
2+
// Prefix header for all source files of the 'Quick Start Tutorial' target in the 'Quick Start Tutorial' project
3+
//
4+
5+
#import <Availability.h>
6+
7+
#ifndef __IPHONE_5_0
8+
#warning "This project uses features only available in iOS SDK 5.0 and later."
9+
#endif
10+
11+
#ifdef __OBJC__
12+
#import <UIKit/UIKit.h>
13+
#import <Foundation/Foundation.h>
14+
#endif

Quick Start Tutorial/ViewController.h

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// ViewController.h
3+
// Quick Start Tutorial
4+
//
5+
// Created by Paymahn Moghadasian on 2013-07-22.
6+
// Copyright (c) 2013 Paymahn Moghadasian. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface ViewController : UIViewController
12+
13+
@end

Quick Start Tutorial/ViewController.m

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
//
2+
// ViewController.m
3+
// Quick Start Tutorial
4+
//
5+
// Created by Paymahn Moghadasian on 2013-07-22.
6+
// Copyright (c) 2013 Paymahn Moghadasian. All rights reserved.
7+
//
8+
9+
#import "ViewController.h"
10+
11+
@interface ViewController ()
12+
13+
@end
14+
15+
@implementation ViewController
16+
17+
- (void)viewDidLoad
18+
{
19+
[super viewDidLoad];
20+
// Do any additional setup after loading the view, typically from a nib.
21+
}
22+
23+
- (void)didReceiveMemoryWarning
24+
{
25+
[super didReceiveMemoryWarning];
26+
// Dispose of any resources that can be recreated.
27+
}
28+
29+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* Localized versions of Info.plist keys */
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="2519" systemVersion="12A206j" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="2">
3+
<dependencies>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1856"/>
5+
</dependencies>
6+
<scenes>
7+
<!--class Prefix:identifier View Controller-->
8+
<scene sceneID="4">
9+
<objects>
10+
<viewController id="2" customClass="ViewController" sceneMemberID="viewController">
11+
<view key="view" contentMode="scaleToFill" id="5">
12+
<rect key="frame" x="0.0" y="20" width="768" height="1004"/>
13+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
15+
</view>
16+
</viewController>
17+
<placeholder placeholderIdentifier="IBFirstResponder" id="3" sceneMemberID="firstResponder"/>
18+
</objects>
19+
</scene>
20+
</scenes>
21+
<simulatedMetricsContainer key="defaultSimulatedMetrics">
22+
<simulatedStatusBarMetrics key="statusBar" statusBarStyle="blackTranslucent"/>
23+
<simulatedOrientationMetrics key="orientation"/>
24+
<simulatedScreenMetrics key="destination"/>
25+
</simulatedMetricsContainer>
26+
</document>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="2519" systemVersion="12A206j" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="2">
3+
<dependencies>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1856"/>
5+
</dependencies>
6+
<scenes>
7+
<!--class Prefix:identifier View Controller-->
8+
<scene sceneID="5">
9+
<objects>
10+
<viewController id="2" customClass="ViewController" sceneMemberID="viewController">
11+
<view key="view" contentMode="scaleToFill" id="3">
12+
<rect key="frame" x="0.0" y="20" width="320" height="460"/>
13+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
14+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
15+
</view>
16+
</viewController>
17+
<placeholder placeholderIdentifier="IBFirstResponder" id="4" sceneMemberID="firstResponder"/>
18+
</objects>
19+
</scene>
20+
</scenes>
21+
<simulatedMetricsContainer key="defaultSimulatedMetrics">
22+
<simulatedStatusBarMetrics key="statusBar"/>
23+
<simulatedOrientationMetrics key="orientation"/>
24+
<simulatedScreenMetrics key="destination" type="retina4"/>
25+
</simulatedMetricsContainer>
26+
</document>

Quick Start Tutorial/main.m

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// main.m
3+
// Quick Start Tutorial
4+
//
5+
// Created by Paymahn Moghadasian on 2013-07-22.
6+
// Copyright (c) 2013 Paymahn Moghadasian. 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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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>CFBundleExecutable</key>
8+
<string>${EXECUTABLE_NAME}</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>Me.${PRODUCT_NAME:rfc1034identifier}</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundlePackageType</key>
14+
<string>BNDL</string>
15+
<key>CFBundleShortVersionString</key>
16+
<string>1.0</string>
17+
<key>CFBundleSignature</key>
18+
<string>????</string>
19+
<key>CFBundleVersion</key>
20+
<string>1</string>
21+
</dict>
22+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// Quick_Start_TutorialTests.h
3+
// Quick Start TutorialTests
4+
//
5+
// Created by Paymahn Moghadasian on 2013-07-22.
6+
// Copyright (c) 2013 Paymahn Moghadasian. All rights reserved.
7+
//
8+
9+
#import <SenTestingKit/SenTestingKit.h>
10+
11+
@interface Quick_Start_TutorialTests : SenTestCase
12+
13+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
//
2+
// Quick_Start_TutorialTests.m
3+
// Quick Start TutorialTests
4+
//
5+
// Created by Paymahn Moghadasian on 2013-07-22.
6+
// Copyright (c) 2013 Paymahn Moghadasian. All rights reserved.
7+
//
8+
9+
#import "Quick_Start_TutorialTests.h"
10+
11+
@implementation Quick_Start_TutorialTests
12+
13+
- (void)setUp
14+
{
15+
[super setUp];
16+
17+
// Set-up code here.
18+
}
19+
20+
- (void)tearDown
21+
{
22+
// Tear-down code here.
23+
24+
[super tearDown];
25+
}
26+
27+
- (void)testExample
28+
{
29+
STFail(@"Unit tests are not implemented yet in Quick Start TutorialTests");
30+
}
31+
32+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* Localized versions of Info.plist keys */
2+

0 commit comments

Comments
 (0)