Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Starting chapter 1

  • Loading branch information...
commit d7dbed19caed6687b5cfb1afc81b04b334134f8c 1 parent ab10005
@thbar authored
View
282 01/Quiz/Quiz.xcodeproj/project.pbxproj
@@ -0,0 +1,282 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ E63BFD38155903310081BCCB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E63BFD37155903310081BCCB /* UIKit.framework */; };
+ E63BFD3A155903310081BCCB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E63BFD39155903310081BCCB /* Foundation.framework */; };
+ E63BFD3C155903310081BCCB /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E63BFD3B155903310081BCCB /* CoreGraphics.framework */; };
+ E63BFD42155903310081BCCB /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E63BFD40155903310081BCCB /* InfoPlist.strings */; };
+ E63BFD44155903310081BCCB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E63BFD43155903310081BCCB /* main.m */; };
+ E63BFD48155903310081BCCB /* QuizAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E63BFD47155903310081BCCB /* QuizAppDelegate.m */; };
+ E63BFD4B155903310081BCCB /* QuizViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E63BFD4A155903310081BCCB /* QuizViewController.m */; };
+ E63BFD4E155903310081BCCB /* QuizViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E63BFD4C155903310081BCCB /* QuizViewController.xib */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ E63BFD33155903310081BCCB /* Quiz.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Quiz.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ E63BFD37155903310081BCCB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ E63BFD39155903310081BCCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ E63BFD3B155903310081BCCB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ E63BFD3F155903310081BCCB /* Quiz-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Quiz-Info.plist"; sourceTree = "<group>"; };
+ E63BFD41155903310081BCCB /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ E63BFD43155903310081BCCB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ E63BFD45155903310081BCCB /* Quiz-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Quiz-Prefix.pch"; sourceTree = "<group>"; };
+ E63BFD46155903310081BCCB /* QuizAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QuizAppDelegate.h; sourceTree = "<group>"; };
+ E63BFD47155903310081BCCB /* QuizAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QuizAppDelegate.m; sourceTree = "<group>"; };
+ E63BFD49155903310081BCCB /* QuizViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QuizViewController.h; sourceTree = "<group>"; };
+ E63BFD4A155903310081BCCB /* QuizViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QuizViewController.m; sourceTree = "<group>"; };
+ E63BFD4D155903310081BCCB /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/QuizViewController.xib; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ E63BFD30155903310081BCCB /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E63BFD38155903310081BCCB /* UIKit.framework in Frameworks */,
+ E63BFD3A155903310081BCCB /* Foundation.framework in Frameworks */,
+ E63BFD3C155903310081BCCB /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ E63BFD28155903310081BCCB = {
+ isa = PBXGroup;
+ children = (
+ E63BFD3D155903310081BCCB /* Quiz */,
+ E63BFD36155903310081BCCB /* Frameworks */,
+ E63BFD34155903310081BCCB /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ E63BFD34155903310081BCCB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ E63BFD33155903310081BCCB /* Quiz.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ E63BFD36155903310081BCCB /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ E63BFD37155903310081BCCB /* UIKit.framework */,
+ E63BFD39155903310081BCCB /* Foundation.framework */,
+ E63BFD3B155903310081BCCB /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ E63BFD3D155903310081BCCB /* Quiz */ = {
+ isa = PBXGroup;
+ children = (
+ E63BFD46155903310081BCCB /* QuizAppDelegate.h */,
+ E63BFD47155903310081BCCB /* QuizAppDelegate.m */,
+ E63BFD49155903310081BCCB /* QuizViewController.h */,
+ E63BFD4A155903310081BCCB /* QuizViewController.m */,
+ E63BFD4C155903310081BCCB /* QuizViewController.xib */,
+ E63BFD3E155903310081BCCB /* Supporting Files */,
+ );
+ path = Quiz;
+ sourceTree = "<group>";
+ };
+ E63BFD3E155903310081BCCB /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ E63BFD3F155903310081BCCB /* Quiz-Info.plist */,
+ E63BFD40155903310081BCCB /* InfoPlist.strings */,
+ E63BFD43155903310081BCCB /* main.m */,
+ E63BFD45155903310081BCCB /* Quiz-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ E63BFD32155903310081BCCB /* Quiz */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = E63BFD51155903310081BCCB /* Build configuration list for PBXNativeTarget "Quiz" */;
+ buildPhases = (
+ E63BFD2F155903310081BCCB /* Sources */,
+ E63BFD30155903310081BCCB /* Frameworks */,
+ E63BFD31155903310081BCCB /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Quiz;
+ productName = Quiz;
+ productReference = E63BFD33155903310081BCCB /* Quiz.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ E63BFD2A155903310081BCCB /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = LoGeek;
+ };
+ buildConfigurationList = E63BFD2D155903310081BCCB /* Build configuration list for PBXProject "Quiz" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = E63BFD28155903310081BCCB;
+ productRefGroup = E63BFD34155903310081BCCB /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ E63BFD32155903310081BCCB /* Quiz */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ E63BFD31155903310081BCCB /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E63BFD42155903310081BCCB /* InfoPlist.strings in Resources */,
+ E63BFD4E155903310081BCCB /* QuizViewController.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ E63BFD2F155903310081BCCB /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E63BFD44155903310081BCCB /* main.m in Sources */,
+ E63BFD48155903310081BCCB /* QuizAppDelegate.m in Sources */,
+ E63BFD4B155903310081BCCB /* QuizViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ E63BFD40155903310081BCCB /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ E63BFD41155903310081BCCB /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ E63BFD4C155903310081BCCB /* QuizViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ E63BFD4D155903310081BCCB /* en */,
+ );
+ name = QuizViewController.xib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ E63BFD4F155903310081BCCB /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 5.0;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ E63BFD50155903310081BCCB /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 5.0;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ E63BFD52155903310081BCCB /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Quiz/Quiz-Prefix.pch";
+ INFOPLIST_FILE = "Quiz/Quiz-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ E63BFD53155903310081BCCB /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Quiz/Quiz-Prefix.pch";
+ INFOPLIST_FILE = "Quiz/Quiz-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ E63BFD2D155903310081BCCB /* Build configuration list for PBXProject "Quiz" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E63BFD4F155903310081BCCB /* Debug */,
+ E63BFD50155903310081BCCB /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ E63BFD51155903310081BCCB /* Build configuration list for PBXNativeTarget "Quiz" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E63BFD52155903310081BCCB /* Debug */,
+ E63BFD53155903310081BCCB /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = E63BFD2A155903310081BCCB /* Project object */;
+}
View
7 01/Quiz/Quiz.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:Quiz.xcodeproj">
+ </FileRef>
+</Workspace>
View
40 01/Quiz/Quiz/Quiz-Info.plist
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFiles</key>
+ <array/>
+ <key>CFBundleIdentifier</key>
+ <string>com.logeek.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
14 01/Quiz/Quiz/Quiz-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'Quiz' target in the 'Quiz' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_4_0
+#warning "This project uses features only available in iOS SDK 4.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
View
19 01/Quiz/Quiz/QuizAppDelegate.h
@@ -0,0 +1,19 @@
+//
+// QuizAppDelegate.h
+// Quiz
+//
+// Created by Thibaut Barrère on 5/8/12.
+// Copyright (c) 2012 LoGeek. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@class QuizViewController;
+
+@interface QuizAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@property (strong, nonatomic) QuizViewController *viewController;
+
+@end
View
67 01/Quiz/Quiz/QuizAppDelegate.m
@@ -0,0 +1,67 @@
+//
+// QuizAppDelegate.m
+// Quiz
+//
+// Created by Thibaut Barrère on 5/8/12.
+// Copyright (c) 2012 LoGeek. All rights reserved.
+//
+
+#import "QuizAppDelegate.h"
+
+#import "QuizViewController.h"
+
+@implementation QuizAppDelegate
+
+@synthesize window = _window;
+@synthesize viewController = _viewController;
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+ self.viewController = [[QuizViewController alloc] initWithNibName:@"QuizViewController" bundle:nil];
+ self.window.rootViewController = self.viewController;
+ [self.window makeKeyAndVisible];
+ return YES;
+}
+
+- (void)applicationWillResignActive:(UIApplication *)application
+{
+ /*
+ 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.
+ 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.
+ */
+}
+
+- (void)applicationDidEnterBackground:(UIApplication *)application
+{
+ /*
+ 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.
+ If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+ */
+}
+
+- (void)applicationWillEnterForeground:(UIApplication *)application
+{
+ /*
+ 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.
+ */
+}
+
+- (void)applicationDidBecomeActive:(UIApplication *)application
+{
+ /*
+ 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.
+ */
+}
+
+- (void)applicationWillTerminate:(UIApplication *)application
+{
+ /*
+ Called when the application is about to terminate.
+ Save data if appropriate.
+ See also applicationDidEnterBackground:.
+ */
+}
+
+@end
View
13 01/Quiz/Quiz/QuizViewController.h
@@ -0,0 +1,13 @@
+//
+// QuizViewController.h
+// Quiz
+//
+// Created by Thibaut Barrère on 5/8/12.
+// Copyright (c) 2012 LoGeek. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface QuizViewController : UIViewController
+
+@end
View
60 01/Quiz/Quiz/QuizViewController.m
@@ -0,0 +1,60 @@
+//
+// QuizViewController.m
+// Quiz
+//
+// Created by Thibaut Barrère on 5/8/12.
+// Copyright (c) 2012 LoGeek. All rights reserved.
+//
+
+#import "QuizViewController.h"
+
+@implementation QuizViewController
+
+- (void)didReceiveMemoryWarning
+{
+ [super didReceiveMemoryWarning];
+ // Release any cached data, images, etc that aren't in use.
+}
+
+#pragma mark - View lifecycle
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view, typically from a nib.
+}
+
+- (void)viewDidUnload
+{
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+ // e.g. self.myOutlet = nil;
+}
+
+- (void)viewWillAppear:(BOOL)animated
+{
+ [super viewWillAppear:animated];
+}
+
+- (void)viewDidAppear:(BOOL)animated
+{
+ [super viewDidAppear:animated];
+}
+
+- (void)viewWillDisappear:(BOOL)animated
+{
+ [super viewWillDisappear:animated];
+}
+
+- (void)viewDidDisappear:(BOOL)animated
+{
+ [super viewDidDisappear:animated];
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ // Return YES for supported orientations
+ return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
+}
+
+@end
View
2  01/Quiz/Quiz/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
View
119 01/Quiz/Quiz/en.lproj/QuizViewController.xib
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
+ <data>
+ <int key="IBDocument.SystemTarget">1280</int>
+ <string key="IBDocument.SystemVersion">11C25</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1919</string>
+ <string key="IBDocument.AppKitVersion">1138.11</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">916</string>
+ </object>
+ <array key="IBDocument.IntegratedClassDependencies">
+ <string>IBProxyObject</string>
+ <string>IBUIView</string>
+ </array>
+ <array key="IBDocument.PluginDependencies">
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </array>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
+ </object>
+ <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <object class="IBProxyObject" id="372490531">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="843779117">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIView" id="774585933">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <string key="NSFrame">{{0, 20}, {320, 460}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC43NQA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <array class="NSMutableArray" key="connectionRecords">
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="774585933"/>
+ </object>
+ <int key="connectionID">7</int>
+ </object>
+ </array>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <array key="orderedObjects">
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <array key="object" id="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="372490531"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="843779117"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">6</int>
+ <reference key="object" ref="774585933"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </array>
+ </object>
+ <dictionary class="NSMutableDictionary" key="flattenedProperties">
+ <string key="-1.CustomClassName">QuizViewController</string>
+ <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="-2.CustomClassName">UIResponder</string>
+ <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
+ <nil key="activeLocalization"/>
+ <dictionary class="NSMutableDictionary" key="localizations"/>
+ <nil key="sourceID"/>
+ <int key="maxID">7</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <array class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <object class="IBPartialClassDescription">
+ <string key="className">QuizViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/QuizViewController.h</string>
+ </object>
+ </object>
+ </array>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">916</string>
+ </data>
+</archive>
View
18 01/Quiz/Quiz/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// Quiz
+//
+// Created by Thibaut Barrère on 5/8/12.
+// Copyright (c) 2012 LoGeek. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "QuizAppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([QuizAppDelegate class]));
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.