Skip to content
Browse files

Initial Commit

  • Loading branch information...
0 parents commit 3d1a83d6b7ce8ae4fee42c497c65a55d0576843e @ardavis committed
288 SchoolManager.xcodeproj/project.pbxproj
@@ -0,0 +1,288 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ EBD73D9E14DDB9C100CB8C0D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBD73D9D14DDB9C100CB8C0D /* UIKit.framework */; };
+ EBD73DA014DDB9C100CB8C0D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBD73D9F14DDB9C100CB8C0D /* Foundation.framework */; };
+ EBD73DA214DDB9C100CB8C0D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBD73DA114DDB9C100CB8C0D /* CoreGraphics.framework */; };
+ EBD73DA814DDB9C100CB8C0D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = EBD73DA614DDB9C100CB8C0D /* InfoPlist.strings */; };
+ EBD73DAA14DDB9C200CB8C0D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = EBD73DA914DDB9C200CB8C0D /* main.m */; };
+ EBD73DAE14DDB9C200CB8C0D /* SMAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = EBD73DAD14DDB9C200CB8C0D /* SMAppDelegate.m */; };
+ EBD73DB114DDB9C200CB8C0D /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EBD73DAF14DDB9C200CB8C0D /* MainStoryboard.storyboard */; };
+ EBD73DB414DDB9C200CB8C0D /* SMMasterViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EBD73DB314DDB9C200CB8C0D /* SMMasterViewController.m */; };
+ EBD73DB714DDB9C200CB8C0D /* SMDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EBD73DB614DDB9C200CB8C0D /* SMDetailViewController.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ EBD73D9914DDB9C100CB8C0D /* SchoolManager.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SchoolManager.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ EBD73D9D14DDB9C100CB8C0D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ EBD73D9F14DDB9C100CB8C0D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ EBD73DA114DDB9C100CB8C0D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ EBD73DA514DDB9C100CB8C0D /* SchoolManager-Info.plist */ = {isa = PBXFileReference; path = "SchoolManager-Info.plist"; sourceTree = "<group>"; };
+ EBD73DA714DDB9C100CB8C0D /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ EBD73DA914DDB9C200CB8C0D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ EBD73DAB14DDB9C200CB8C0D /* SchoolManager-Prefix.pch */ = {isa = PBXFileReference; path = "SchoolManager-Prefix.pch"; sourceTree = "<group>"; };
+ EBD73DAC14DDB9C200CB8C0D /* SMAppDelegate.h */ = {isa = PBXFileReference; path = SMAppDelegate.h; sourceTree = "<group>"; };
+ EBD73DAD14DDB9C200CB8C0D /* SMAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SMAppDelegate.m; sourceTree = "<group>"; };
+ EBD73DB014DDB9C200CB8C0D /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; };
+ EBD73DB214DDB9C200CB8C0D /* SMMasterViewController.h */ = {isa = PBXFileReference; path = SMMasterViewController.h; sourceTree = "<group>"; };
+ EBD73DB314DDB9C200CB8C0D /* SMMasterViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SMMasterViewController.m; sourceTree = "<group>"; };
+ EBD73DB514DDB9C200CB8C0D /* SMDetailViewController.h */ = {isa = PBXFileReference; path = SMDetailViewController.h; sourceTree = "<group>"; };
+ EBD73DB614DDB9C200CB8C0D /* SMDetailViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SMDetailViewController.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ EBD73D9614DDB9C100CB8C0D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EBD73D9E14DDB9C100CB8C0D /* UIKit.framework in Frameworks */,
+ EBD73DA014DDB9C100CB8C0D /* Foundation.framework in Frameworks */,
+ EBD73DA214DDB9C100CB8C0D /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ EBD73D8E14DDB9BF00CB8C0D = {
+ isa = PBXGroup;
+ children = (
+ EBD73DA314DDB9C100CB8C0D /* SchoolManager */,
+ EBD73D9C14DDB9C100CB8C0D /* Frameworks */,
+ EBD73D9A14DDB9C100CB8C0D /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ EBD73D9A14DDB9C100CB8C0D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ EBD73D9914DDB9C100CB8C0D /* SchoolManager.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ EBD73D9C14DDB9C100CB8C0D /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ EBD73D9D14DDB9C100CB8C0D /* UIKit.framework */,
+ EBD73D9F14DDB9C100CB8C0D /* Foundation.framework */,
+ EBD73DA114DDB9C100CB8C0D /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ EBD73DA314DDB9C100CB8C0D /* SchoolManager */ = {
+ isa = PBXGroup;
+ children = (
+ EBD73DAC14DDB9C200CB8C0D /* SMAppDelegate.h */,
+ EBD73DAD14DDB9C200CB8C0D /* SMAppDelegate.m */,
+ EBD73DAF14DDB9C200CB8C0D /* MainStoryboard.storyboard */,
+ EBD73DB214DDB9C200CB8C0D /* SMMasterViewController.h */,
+ EBD73DB314DDB9C200CB8C0D /* SMMasterViewController.m */,
+ EBD73DB514DDB9C200CB8C0D /* SMDetailViewController.h */,
+ EBD73DB614DDB9C200CB8C0D /* SMDetailViewController.m */,
+ EBD73DA414DDB9C100CB8C0D /* Supporting Files */,
+ );
+ path = SchoolManager;
+ sourceTree = "<group>";
+ };
+ EBD73DA414DDB9C100CB8C0D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ EBD73DA514DDB9C100CB8C0D /* SchoolManager-Info.plist */,
+ EBD73DA614DDB9C100CB8C0D /* InfoPlist.strings */,
+ EBD73DA914DDB9C200CB8C0D /* main.m */,
+ EBD73DAB14DDB9C200CB8C0D /* SchoolManager-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ EBD73D9814DDB9C100CB8C0D /* SchoolManager */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = EBD73DBA14DDB9C200CB8C0D /* Build configuration list for PBXNativeTarget "SchoolManager" */;
+ buildPhases = (
+ EBD73D9514DDB9C100CB8C0D /* Sources */,
+ EBD73D9614DDB9C100CB8C0D /* Frameworks */,
+ EBD73D9714DDB9C100CB8C0D /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = SchoolManager;
+ productName = SchoolManager;
+ productReference = EBD73D9914DDB9C100CB8C0D /* SchoolManager.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ EBD73D9014DDB9BF00CB8C0D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = NASA;
+ };
+ buildConfigurationList = EBD73D9314DDB9BF00CB8C0D /* Build configuration list for PBXProject "SchoolManager" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = EBD73D8E14DDB9BF00CB8C0D;
+ productRefGroup = EBD73D9A14DDB9C100CB8C0D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ EBD73D9814DDB9C100CB8C0D /* SchoolManager */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ EBD73D9714DDB9C100CB8C0D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EBD73DA814DDB9C100CB8C0D /* InfoPlist.strings in Resources */,
+ EBD73DB114DDB9C200CB8C0D /* MainStoryboard.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ EBD73D9514DDB9C100CB8C0D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ EBD73DAA14DDB9C200CB8C0D /* main.m in Sources */,
+ EBD73DAE14DDB9C200CB8C0D /* SMAppDelegate.m in Sources */,
+ EBD73DB414DDB9C200CB8C0D /* SMMasterViewController.m in Sources */,
+ EBD73DB714DDB9C200CB8C0D /* SMDetailViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ EBD73DA614DDB9C100CB8C0D /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ EBD73DA714DDB9C100CB8C0D /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ EBD73DAF14DDB9C200CB8C0D /* MainStoryboard.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ EBD73DB014DDB9C200CB8C0D /* en */,
+ );
+ name = MainStoryboard.storyboard;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ EBD73DB814DDB9C200CB8C0D /* 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;
+ };
+ EBD73DB914DDB9C200CB8C0D /* 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;
+ };
+ EBD73DBB14DDB9C200CB8C0D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "SchoolManager/SchoolManager-Prefix.pch";
+ INFOPLIST_FILE = "SchoolManager/SchoolManager-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ EBD73DBC14DDB9C200CB8C0D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "SchoolManager/SchoolManager-Prefix.pch";
+ INFOPLIST_FILE = "SchoolManager/SchoolManager-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ EBD73D9314DDB9BF00CB8C0D /* Build configuration list for PBXProject "SchoolManager" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ EBD73DB814DDB9C200CB8C0D /* Debug */,
+ EBD73DB914DDB9C200CB8C0D /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ EBD73DBA14DDB9C200CB8C0D /* Build configuration list for PBXNativeTarget "SchoolManager" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ EBD73DBB14DDB9C200CB8C0D /* Debug */,
+ EBD73DBC14DDB9C200CB8C0D /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = EBD73D9014DDB9BF00CB8C0D /* Project object */;
+}
15 SchoolManager/SMAppDelegate.h
@@ -0,0 +1,15 @@
+//
+// SMAppDelegate.h
+// SchoolManager
+//
+// Created by Andrew Davis on 2/4/12.
+// Copyright (c) 2012 NASA. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface SMAppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
60 SchoolManager/SMAppDelegate.m
@@ -0,0 +1,60 @@
+//
+// SMAppDelegate.m
+// SchoolManager
+//
+// Created by Andrew Davis on 2/4/12.
+// Copyright (c) 2012 NASA. All rights reserved.
+//
+
+#import "SMAppDelegate.h"
+
+@implementation SMAppDelegate
+
+@synthesize window = _window;
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ // Override point for customization after application launch.
+ 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
17 SchoolManager/SMDetailViewController.h
@@ -0,0 +1,17 @@
+//
+// SMDetailViewController.h
+// SchoolManager
+//
+// Created by Andrew Davis on 2/4/12.
+// Copyright (c) 2012 NASA. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface SMDetailViewController : UIViewController
+
+@property (strong, nonatomic) id detailItem;
+
+@property (strong, nonatomic) IBOutlet UILabel *detailDescriptionLabel;
+
+@end
89 SchoolManager/SMDetailViewController.m
@@ -0,0 +1,89 @@
+//
+// SMDetailViewController.m
+// SchoolManager
+//
+// Created by Andrew Davis on 2/4/12.
+// Copyright (c) 2012 NASA. All rights reserved.
+//
+
+#import "SMDetailViewController.h"
+
+@interface SMDetailViewController ()
+- (void)configureView;
+@end
+
+@implementation SMDetailViewController
+
+@synthesize detailItem = _detailItem;
+@synthesize detailDescriptionLabel = _detailDescriptionLabel;
+
+#pragma mark - Managing the detail item
+
+- (void)setDetailItem:(id)newDetailItem
+{
+ if (_detailItem != newDetailItem) {
+ _detailItem = newDetailItem;
+
+ // Update the view.
+ [self configureView];
+ }
+}
+
+- (void)configureView
+{
+ // Update the user interface for the detail item.
+
+ if (self.detailItem) {
+ self.detailDescriptionLabel.text = [self.detailItem description];
+ }
+}
+
+- (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.
+ [self configureView];
+}
+
+- (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
13 SchoolManager/SMMasterViewController.h
@@ -0,0 +1,13 @@
+//
+// SMMasterViewController.h
+// SchoolManager
+//
+// Created by Andrew Davis on 2/4/12.
+// Copyright (c) 2012 NASA. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface SMMasterViewController : UITableViewController
+
+@end
104 SchoolManager/SMMasterViewController.m
@@ -0,0 +1,104 @@
+//
+// SMMasterViewController.m
+// SchoolManager
+//
+// Created by Andrew Davis on 2/4/12.
+// Copyright (c) 2012 NASA. All rights reserved.
+//
+
+#import "SMMasterViewController.h"
+
+@implementation SMMasterViewController
+
+
+- (void)awakeFromNib
+{
+ [super awakeFromNib];
+}
+
+- (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);
+}
+
+/*
+// Override to support conditional editing of the table view.
+- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
+{
+ // Return NO if you do not want the specified item to be editable.
+ return YES;
+}
+*/
+
+/*
+// Override to support editing the table view.
+- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
+{
+ if (editingStyle == UITableViewCellEditingStyleDelete) {
+ // Delete the row from the data source.
+ [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
+ } else if (editingStyle == UITableViewCellEditingStyleInsert) {
+ // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view.
+ }
+}
+*/
+
+/*
+// Override to support rearranging the table view.
+- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
+{
+}
+*/
+
+/*
+// Override to support conditional rearranging of the table view.
+- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
+{
+ // Return NO if you do not want the item to be re-orderable.
+ return YES;
+}
+*/
+
+@end
42 SchoolManager/SchoolManager-Info.plist
@@ -0,0 +1,42 @@
+<?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>kettering.edu.${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>UIMainStoryboardFile</key>
+ <string>MainStoryboard</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
14 SchoolManager/SchoolManager-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'SchoolManager' target in the 'SchoolManager' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_5_0
+#warning "This project uses features only available in iOS SDK 5.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
2 SchoolManager/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
101 SchoolManager/en.lproj/MainStoryboard.storyboard
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="1.0" toolsVersion="1926" systemVersion="11C36" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="3">
+ <dependencies>
+ <development defaultVersion="4200" identifier="xcode"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="922"/>
+ </dependencies>
+ <scenes>
+ <scene sceneID="11">
+ <objects>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="10" sceneMemberID="firstResponder"/>
+ <navigationController id="3" sceneMemberID="viewController">
+ <navigationBar key="navigationBar" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="4">
+ <autoresizingMask key="autoresizingMask"/>
+ </navigationBar>
+ <connections>
+ <segue destination="12" kind="relationship" relationship="rootViewController" id="19"/>
+ </connections>
+ </navigationController>
+ </objects>
+ <point key="canvasLocation" x="-1" y="64"/>
+ </scene>
+ <scene sceneID="18">
+ <objects>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="17" sceneMemberID="firstResponder"/>
+ <tableViewController storyboardIdentifier="" title="Master" id="12" customClass="SMMasterViewController" sceneMemberID="viewController">
+ <tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="13">
+ <rect key="frame" x="0.0" y="64" width="320" height="416"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <sections>
+ <tableViewSection id="29">
+ <cells>
+ <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="CZe-l0-5K6" style="IBUITableViewCellStyleDefault" id="30">
+ <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
+ <rect key="frame" x="0.0" y="0.0" width="300" height="43"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Detail" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="CZe-l0-5K6">
+ <rect key="frame" x="10" y="0.0" width="280" height="43"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+ <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+ </label>
+ </subviews>
+ <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
+ </view>
+ <connections>
+ <segue destination="21" kind="push" id="33"/>
+ </connections>
+ </tableViewCell>
+ </cells>
+ </tableViewSection>
+ </sections>
+ <connections>
+ <outlet property="dataSource" destination="12" id="16"/>
+ <outlet property="delegate" destination="12" id="15"/>
+ </connections>
+ </tableView>
+ <navigationItem key="navigationItem" title="Master" id="35"/>
+ </tableViewController>
+ </objects>
+ <point key="canvasLocation" x="455" y="64"/>
+ </scene>
+ <scene sceneID="24">
+ <objects>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="23" sceneMemberID="firstResponder"/>
+ <viewController storyboardIdentifier="" title="Detail" id="21" customClass="SMDetailViewController" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="22">
+ <rect key="frame" x="0.0" y="64" width="320" height="416"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <subviews>
+ <label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="Detail view content goes here" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" id="27">
+ <rect key="frame" x="20" y="199" width="280" height="18"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <fontDescription key="fontDescription" type="system" size="system"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+ </view>
+ <navigationItem key="navigationItem" title="Detail" id="26"/>
+ <connections>
+ <outlet property="detailDescriptionLabel" destination="27" id="28"/>
+ </connections>
+ </viewController>
+ </objects>
+ <point key="canvasLocation" x="924" y="64"/>
+ </scene>
+ </scenes>
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
+ <simulatedStatusBarMetrics key="statusBar"/>
+ <simulatedOrientationMetrics key="orientation"/>
+ <simulatedScreenMetrics key="destination"/>
+ </simulatedMetricsContainer>
+</document>
18 SchoolManager/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// SchoolManager
+//
+// Created by Andrew Davis on 2/4/12.
+// Copyright (c) 2012 NASA. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "SMAppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([SMAppDelegate class]));
+ }
+}

0 comments on commit 3d1a83d

Please sign in to comment.
Something went wrong with that request. Please try again.