Commit b5c0076
2013-05-15 01:08:11
Changed files (20)
MovieLibrary
MovieLibrary.xcodeproj
project.xcworkspace
xcuserdata
mo.xcuserdatad
xcuserdata
mo.xcuserdatad
MovieLibraryTests
MovieLibrary/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
MovieLibrary/AppDelegate.h
@@ -0,0 +1,15 @@
+//
+// AppDelegate.h
+// MovieLibrary
+//
+// Created by mo khan on 2013-05-14.
+// Copyright (c) 2013 mo khan. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
MovieLibrary/AppDelegate.m
@@ -0,0 +1,49 @@
+//
+// AppDelegate.m
+// MovieLibrary
+//
+// Created by mo khan on 2013-05-14.
+// Copyright (c) 2013 mo khan. All rights reserved.
+//
+
+#import "AppDelegate.h"
+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+ self.window.backgroundColor = [UIColor whiteColor];
+ [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
MovieLibrary/Default-568h@2x.png
Binary file
MovieLibrary/Default.png
Binary file
MovieLibrary/Default@2x.png
Binary file
MovieLibrary/main.m
@@ -0,0 +1,18 @@
+//
+// main.m
+// MovieLibrary
+//
+// Created by mo khan on 2013-05-14.
+// Copyright (c) 2013 mo khan. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "AppDelegate.h"
+
+int main(int argc, char *argv[])
+{
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+ }
+}
MovieLibrary/MovieLibrary-Info.plist
@@ -0,0 +1,38 @@
+<?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>CFBundleIdentifier</key>
+ <string>mokhan.ca.${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>
MovieLibrary/MovieLibrary-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'MovieLibrary' target in the 'MovieLibrary' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_3_0
+#warning "This project uses features only available in iOS SDK 3.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
MovieLibrary.xcodeproj/project.xcworkspace/xcuserdata/mo.xcuserdatad/UserInterfaceState.xcuserstate
Binary file
MovieLibrary.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:MovieLibrary.xcodeproj">
+ </FileRef>
+</Workspace>
MovieLibrary.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/MovieLibrary.xcscheme
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "0460"
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "CD7ADE44174315F400B5B281"
+ BuildableName = "MovieLibrary.app"
+ BlueprintName = "MovieLibrary"
+ ReferencedContainer = "container:MovieLibrary.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ <TestableReference
+ skipped = "NO">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "CD7ADE64174315F400B5B281"
+ BuildableName = "MovieLibraryTests.octest"
+ BlueprintName = "MovieLibraryTests"
+ ReferencedContainer = "container:MovieLibrary.xcodeproj">
+ </BuildableReference>
+ </TestableReference>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "CD7ADE44174315F400B5B281"
+ BuildableName = "MovieLibrary.app"
+ BlueprintName = "MovieLibrary"
+ ReferencedContainer = "container:MovieLibrary.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "CD7ADE44174315F400B5B281"
+ BuildableName = "MovieLibrary.app"
+ BlueprintName = "MovieLibrary"
+ ReferencedContainer = "container:MovieLibrary.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "CD7ADE44174315F400B5B281"
+ BuildableName = "MovieLibrary.app"
+ BlueprintName = "MovieLibrary"
+ ReferencedContainer = "container:MovieLibrary.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
MovieLibrary.xcodeproj/xcuserdata/mo.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,27 @@
+<?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>SchemeUserState</key>
+ <dict>
+ <key>MovieLibrary.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>CD7ADE44174315F400B5B281</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ <key>CD7ADE64174315F400B5B281</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
MovieLibrary.xcodeproj/project.pbxproj
@@ -0,0 +1,450 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ CD7ADE49174315F400B5B281 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD7ADE48174315F400B5B281 /* UIKit.framework */; };
+ CD7ADE4B174315F400B5B281 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD7ADE4A174315F400B5B281 /* Foundation.framework */; };
+ CD7ADE4D174315F400B5B281 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD7ADE4C174315F400B5B281 /* CoreGraphics.framework */; };
+ CD7ADE53174315F400B5B281 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CD7ADE51174315F400B5B281 /* InfoPlist.strings */; };
+ CD7ADE55174315F400B5B281 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CD7ADE54174315F400B5B281 /* main.m */; };
+ CD7ADE59174315F400B5B281 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CD7ADE58174315F400B5B281 /* AppDelegate.m */; };
+ CD7ADE5B174315F400B5B281 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = CD7ADE5A174315F400B5B281 /* Default.png */; };
+ CD7ADE5D174315F400B5B281 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CD7ADE5C174315F400B5B281 /* Default@2x.png */; };
+ CD7ADE5F174315F400B5B281 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CD7ADE5E174315F400B5B281 /* Default-568h@2x.png */; };
+ CD7ADE67174315F400B5B281 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD7ADE66174315F400B5B281 /* SenTestingKit.framework */; };
+ CD7ADE68174315F400B5B281 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD7ADE48174315F400B5B281 /* UIKit.framework */; };
+ CD7ADE69174315F400B5B281 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD7ADE4A174315F400B5B281 /* Foundation.framework */; };
+ CD7ADE71174315F400B5B281 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = CD7ADE6F174315F400B5B281 /* InfoPlist.strings */; };
+ CD7ADE74174315F400B5B281 /* MovieLibraryTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CD7ADE73174315F400B5B281 /* MovieLibraryTests.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ CD7ADE6A174315F400B5B281 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = CD7ADE3D174315F400B5B281 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = CD7ADE44174315F400B5B281;
+ remoteInfo = MovieLibrary;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ CD7ADE45174315F400B5B281 /* MovieLibrary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MovieLibrary.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ CD7ADE48174315F400B5B281 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ CD7ADE4A174315F400B5B281 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ CD7ADE4C174315F400B5B281 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ CD7ADE50174315F400B5B281 /* MovieLibrary-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MovieLibrary-Info.plist"; sourceTree = "<group>"; };
+ CD7ADE52174315F400B5B281 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ CD7ADE54174315F400B5B281 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ CD7ADE56174315F400B5B281 /* MovieLibrary-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MovieLibrary-Prefix.pch"; sourceTree = "<group>"; };
+ CD7ADE57174315F400B5B281 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ CD7ADE58174315F400B5B281 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ CD7ADE5A174315F400B5B281 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
+ CD7ADE5C174315F400B5B281 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
+ CD7ADE5E174315F400B5B281 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
+ CD7ADE65174315F400B5B281 /* MovieLibraryTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MovieLibraryTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
+ CD7ADE66174315F400B5B281 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
+ CD7ADE6E174315F400B5B281 /* MovieLibraryTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MovieLibraryTests-Info.plist"; sourceTree = "<group>"; };
+ CD7ADE70174315F400B5B281 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ CD7ADE72174315F400B5B281 /* MovieLibraryTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MovieLibraryTests.h; sourceTree = "<group>"; };
+ CD7ADE73174315F400B5B281 /* MovieLibraryTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MovieLibraryTests.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ CD7ADE42174315F400B5B281 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ CD7ADE49174315F400B5B281 /* UIKit.framework in Frameworks */,
+ CD7ADE4B174315F400B5B281 /* Foundation.framework in Frameworks */,
+ CD7ADE4D174315F400B5B281 /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ CD7ADE61174315F400B5B281 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ CD7ADE67174315F400B5B281 /* SenTestingKit.framework in Frameworks */,
+ CD7ADE68174315F400B5B281 /* UIKit.framework in Frameworks */,
+ CD7ADE69174315F400B5B281 /* Foundation.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ CD7ADE3C174315F400B5B281 = {
+ isa = PBXGroup;
+ children = (
+ CD7ADE4E174315F400B5B281 /* MovieLibrary */,
+ CD7ADE6C174315F400B5B281 /* MovieLibraryTests */,
+ CD7ADE47174315F400B5B281 /* Frameworks */,
+ CD7ADE46174315F400B5B281 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ CD7ADE46174315F400B5B281 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ CD7ADE45174315F400B5B281 /* MovieLibrary.app */,
+ CD7ADE65174315F400B5B281 /* MovieLibraryTests.octest */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ CD7ADE47174315F400B5B281 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ CD7ADE48174315F400B5B281 /* UIKit.framework */,
+ CD7ADE4A174315F400B5B281 /* Foundation.framework */,
+ CD7ADE4C174315F400B5B281 /* CoreGraphics.framework */,
+ CD7ADE66174315F400B5B281 /* SenTestingKit.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ CD7ADE4E174315F400B5B281 /* MovieLibrary */ = {
+ isa = PBXGroup;
+ children = (
+ CD7ADE57174315F400B5B281 /* AppDelegate.h */,
+ CD7ADE58174315F400B5B281 /* AppDelegate.m */,
+ CD7ADE4F174315F400B5B281 /* Supporting Files */,
+ );
+ path = MovieLibrary;
+ sourceTree = "<group>";
+ };
+ CD7ADE4F174315F400B5B281 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ CD7ADE50174315F400B5B281 /* MovieLibrary-Info.plist */,
+ CD7ADE51174315F400B5B281 /* InfoPlist.strings */,
+ CD7ADE54174315F400B5B281 /* main.m */,
+ CD7ADE56174315F400B5B281 /* MovieLibrary-Prefix.pch */,
+ CD7ADE5A174315F400B5B281 /* Default.png */,
+ CD7ADE5C174315F400B5B281 /* Default@2x.png */,
+ CD7ADE5E174315F400B5B281 /* Default-568h@2x.png */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ CD7ADE6C174315F400B5B281 /* MovieLibraryTests */ = {
+ isa = PBXGroup;
+ children = (
+ CD7ADE72174315F400B5B281 /* MovieLibraryTests.h */,
+ CD7ADE73174315F400B5B281 /* MovieLibraryTests.m */,
+ CD7ADE6D174315F400B5B281 /* Supporting Files */,
+ );
+ path = MovieLibraryTests;
+ sourceTree = "<group>";
+ };
+ CD7ADE6D174315F400B5B281 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ CD7ADE6E174315F400B5B281 /* MovieLibraryTests-Info.plist */,
+ CD7ADE6F174315F400B5B281 /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ CD7ADE44174315F400B5B281 /* MovieLibrary */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = CD7ADE77174315F400B5B281 /* Build configuration list for PBXNativeTarget "MovieLibrary" */;
+ buildPhases = (
+ CD7ADE41174315F400B5B281 /* Sources */,
+ CD7ADE42174315F400B5B281 /* Frameworks */,
+ CD7ADE43174315F400B5B281 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = MovieLibrary;
+ productName = MovieLibrary;
+ productReference = CD7ADE45174315F400B5B281 /* MovieLibrary.app */;
+ productType = "com.apple.product-type.application";
+ };
+ CD7ADE64174315F400B5B281 /* MovieLibraryTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = CD7ADE7A174315F400B5B281 /* Build configuration list for PBXNativeTarget "MovieLibraryTests" */;
+ buildPhases = (
+ CD7ADE60174315F400B5B281 /* Sources */,
+ CD7ADE61174315F400B5B281 /* Frameworks */,
+ CD7ADE62174315F400B5B281 /* Resources */,
+ CD7ADE63174315F400B5B281 /* ShellScript */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ CD7ADE6B174315F400B5B281 /* PBXTargetDependency */,
+ );
+ name = MovieLibraryTests;
+ productName = MovieLibraryTests;
+ productReference = CD7ADE65174315F400B5B281 /* MovieLibraryTests.octest */;
+ productType = "com.apple.product-type.bundle";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ CD7ADE3D174315F400B5B281 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0460;
+ ORGANIZATIONNAME = "mo khan";
+ };
+ buildConfigurationList = CD7ADE40174315F400B5B281 /* Build configuration list for PBXProject "MovieLibrary" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = CD7ADE3C174315F400B5B281;
+ productRefGroup = CD7ADE46174315F400B5B281 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ CD7ADE44174315F400B5B281 /* MovieLibrary */,
+ CD7ADE64174315F400B5B281 /* MovieLibraryTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ CD7ADE43174315F400B5B281 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ CD7ADE53174315F400B5B281 /* InfoPlist.strings in Resources */,
+ CD7ADE5B174315F400B5B281 /* Default.png in Resources */,
+ CD7ADE5D174315F400B5B281 /* Default@2x.png in Resources */,
+ CD7ADE5F174315F400B5B281 /* Default-568h@2x.png in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ CD7ADE62174315F400B5B281 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ CD7ADE71174315F400B5B281 /* InfoPlist.strings in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ CD7ADE63174315F400B5B281 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ CD7ADE41174315F400B5B281 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ CD7ADE55174315F400B5B281 /* main.m in Sources */,
+ CD7ADE59174315F400B5B281 /* AppDelegate.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ CD7ADE60174315F400B5B281 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ CD7ADE74174315F400B5B281 /* MovieLibraryTests.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ CD7ADE6B174315F400B5B281 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = CD7ADE44174315F400B5B281 /* MovieLibrary */;
+ targetProxy = CD7ADE6A174315F400B5B281 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ CD7ADE51174315F400B5B281 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ CD7ADE52174315F400B5B281 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ CD7ADE6F174315F400B5B281 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ CD7ADE70174315F400B5B281 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ CD7ADE75174315F400B5B281 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = 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_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ CD7ADE76174315F400B5B281 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 6.1;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ CD7ADE78174315F400B5B281 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "MovieLibrary/MovieLibrary-Prefix.pch";
+ INFOPLIST_FILE = "MovieLibrary/MovieLibrary-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ CD7ADE79174315F400B5B281 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "MovieLibrary/MovieLibrary-Prefix.pch";
+ INFOPLIST_FILE = "MovieLibrary/MovieLibrary-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ CD7ADE7B174315F400B5B281 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MovieLibrary.app/MovieLibrary";
+ FRAMEWORK_SEARCH_PATHS = (
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "MovieLibrary/MovieLibrary-Prefix.pch";
+ INFOPLIST_FILE = "MovieLibraryTests/MovieLibraryTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Debug;
+ };
+ CD7ADE7C174315F400B5B281 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MovieLibrary.app/MovieLibrary";
+ FRAMEWORK_SEARCH_PATHS = (
+ "\"$(SDKROOT)/Developer/Library/Frameworks\"",
+ "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "MovieLibrary/MovieLibrary-Prefix.pch";
+ INFOPLIST_FILE = "MovieLibraryTests/MovieLibraryTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ CD7ADE40174315F400B5B281 /* Build configuration list for PBXProject "MovieLibrary" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ CD7ADE75174315F400B5B281 /* Debug */,
+ CD7ADE76174315F400B5B281 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ CD7ADE77174315F400B5B281 /* Build configuration list for PBXNativeTarget "MovieLibrary" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ CD7ADE78174315F400B5B281 /* Debug */,
+ CD7ADE79174315F400B5B281 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+ CD7ADE7A174315F400B5B281 /* Build configuration list for PBXNativeTarget "MovieLibraryTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ CD7ADE7B174315F400B5B281 /* Debug */,
+ CD7ADE7C174315F400B5B281 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = CD7ADE3D174315F400B5B281 /* Project object */;
+}
MovieLibraryTests/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
MovieLibraryTests/MovieLibraryTests-Info.plist
@@ -0,0 +1,22 @@
+<?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>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>mokhan.ca.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>
MovieLibraryTests/MovieLibraryTests.h
@@ -0,0 +1,13 @@
+//
+// MovieLibraryTests.h
+// MovieLibraryTests
+//
+// Created by mo khan on 2013-05-14.
+// Copyright (c) 2013 mo khan. All rights reserved.
+//
+
+#import <SenTestingKit/SenTestingKit.h>
+
+@interface MovieLibraryTests : SenTestCase
+
+@end
MovieLibraryTests/MovieLibraryTests.m
@@ -0,0 +1,32 @@
+//
+// MovieLibraryTests.m
+// MovieLibraryTests
+//
+// Created by mo khan on 2013-05-14.
+// Copyright (c) 2013 mo khan. All rights reserved.
+//
+
+#import "MovieLibraryTests.h"
+
+@implementation MovieLibraryTests
+
+- (void)setUp
+{
+ [super setUp];
+
+ // Set-up code here.
+}
+
+- (void)tearDown
+{
+ // Tear-down code here.
+
+ [super tearDown];
+}
+
+- (void)testExample
+{
+ STFail(@"Unit tests are not implemented yet in MovieLibraryTests");
+}
+
+@end
.rvmrc
@@ -0,0 +1,43 @@
+#!/usr/bin/env bash
+
+# This is an RVM Project .rvmrc file, used to automatically load the ruby
+# development environment upon cd'ing into the directory
+
+# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
+# Only full ruby name is supported here, for short names use:
+# echo "rvm use 2.0.0" > .rvmrc
+environment_id="ruby-2.0.0-p0@ios"
+
+# Uncomment the following lines if you want to verify rvm version per project
+# rvmrc_rvm_version="1.19.5 (latest)" # 1.10.1 seams as a safe start
+# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
+# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
+# return 1
+# }
+
+# First we attempt to load the desired environment directly from the environment
+# file. This is very fast and efficient compared to running through the entire
+# CLI and selector. If you want feedback on which environment was used then
+# insert the word 'use' after --create as this triggers verbose mode.
+if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
+then
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
+ for __hook in "${rvm_path:-$HOME/.rvm}/hooks/after_use"*
+ do
+ if [[ -f "${__hook}" && -x "${__hook}" && -s "${__hook}" ]]
+ then \. "${__hook}" || true
+ fi
+ done
+ unset __hook
+ if [[ $- == *i* ]] # check for interactive shells
+ then echo "Using: $(tput setaf 2)$GEM_HOME$(tput sgr0)" # show the user the ruby and gemset they are using in green
+ else echo "Using: $GEM_HOME" # don't use colors in non-interactive shells
+ fi
+else
+ # If the environment file has not yet been created, use the RVM CLI to select.
+ rvm --create use "$environment_id" || {
+ echo "Failed to create RVM environment '${environment_id}'."
+ return 1
+ }
+fi
Gemfile
@@ -0,0 +1,4 @@
+# A sample Gemfile
+source "https://rubygems.org"
+
+# gem "rails"