Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rnystrom committed Oct 31, 2012
0 parents commit 26c4089
Show file tree
Hide file tree
Showing 13 changed files with 503 additions and 0 deletions.
300 changes: 300 additions & 0 deletions RNSwipeViewController.xcodeproj/project.pbxproj
@@ -0,0 +1,300 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
86A9F8C61641AD3D00809316 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 86A9F8C51641AD3D00809316 /* UIKit.framework */; };
86A9F8C81641AD3D00809316 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 86A9F8C71641AD3D00809316 /* Foundation.framework */; };
86A9F8CA1641AD3D00809316 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 86A9F8C91641AD3D00809316 /* CoreGraphics.framework */; };
86A9F8D01641AD3D00809316 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 86A9F8CE1641AD3D00809316 /* InfoPlist.strings */; };
86A9F8D21641AD3D00809316 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 86A9F8D11641AD3D00809316 /* main.m */; };
86A9F8D61641AD3D00809316 /* RNAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 86A9F8D51641AD3D00809316 /* RNAppDelegate.m */; };
86A9F8D81641AD3D00809316 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 86A9F8D71641AD3D00809316 /* Default.png */; };
86A9F8DA1641AD3D00809316 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 86A9F8D91641AD3D00809316 /* Default@2x.png */; };
86A9F8DC1641AD3D00809316 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 86A9F8DB1641AD3D00809316 /* Default-568h@2x.png */; };
86A9F8DF1641AD3D00809316 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 86A9F8DD1641AD3D00809316 /* MainStoryboard.storyboard */; };
86A9F8E21641AD3D00809316 /* RNViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 86A9F8E11641AD3D00809316 /* RNViewController.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
86A9F8C11641AD3D00809316 /* RNSwipeViewController.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNSwipeViewController.app; sourceTree = BUILT_PRODUCTS_DIR; };
86A9F8C51641AD3D00809316 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
86A9F8C71641AD3D00809316 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
86A9F8C91641AD3D00809316 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
86A9F8CD1641AD3D00809316 /* RNSwipeViewController-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RNSwipeViewController-Info.plist"; sourceTree = "<group>"; };
86A9F8CF1641AD3D00809316 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
86A9F8D11641AD3D00809316 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
86A9F8D31641AD3D00809316 /* RNSwipeViewController-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNSwipeViewController-Prefix.pch"; sourceTree = "<group>"; };
86A9F8D41641AD3D00809316 /* RNAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNAppDelegate.h; sourceTree = "<group>"; };
86A9F8D51641AD3D00809316 /* RNAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNAppDelegate.m; sourceTree = "<group>"; };
86A9F8D71641AD3D00809316 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
86A9F8D91641AD3D00809316 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
86A9F8DB1641AD3D00809316 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
86A9F8DE1641AD3D00809316 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; };
86A9F8E01641AD3D00809316 /* RNViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNViewController.h; sourceTree = "<group>"; };
86A9F8E11641AD3D00809316 /* RNViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNViewController.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
86A9F8BE1641AD3D00809316 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
86A9F8C61641AD3D00809316 /* UIKit.framework in Frameworks */,
86A9F8C81641AD3D00809316 /* Foundation.framework in Frameworks */,
86A9F8CA1641AD3D00809316 /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
86A9F8B61641AD3D00809316 = {
isa = PBXGroup;
children = (
86A9F8CB1641AD3D00809316 /* RNSwipeViewController */,
86A9F8C41641AD3D00809316 /* Frameworks */,
86A9F8C21641AD3D00809316 /* Products */,
);
sourceTree = "<group>";
};
86A9F8C21641AD3D00809316 /* Products */ = {
isa = PBXGroup;
children = (
86A9F8C11641AD3D00809316 /* RNSwipeViewController.app */,
);
name = Products;
sourceTree = "<group>";
};
86A9F8C41641AD3D00809316 /* Frameworks */ = {
isa = PBXGroup;
children = (
86A9F8C51641AD3D00809316 /* UIKit.framework */,
86A9F8C71641AD3D00809316 /* Foundation.framework */,
86A9F8C91641AD3D00809316 /* CoreGraphics.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
86A9F8CB1641AD3D00809316 /* RNSwipeViewController */ = {
isa = PBXGroup;
children = (
86A9F8D41641AD3D00809316 /* RNAppDelegate.h */,
86A9F8D51641AD3D00809316 /* RNAppDelegate.m */,
86A9F8DD1641AD3D00809316 /* MainStoryboard.storyboard */,
86A9F8E01641AD3D00809316 /* RNViewController.h */,
86A9F8E11641AD3D00809316 /* RNViewController.m */,
86A9F8CC1641AD3D00809316 /* Supporting Files */,
);
path = RNSwipeViewController;
sourceTree = "<group>";
};
86A9F8CC1641AD3D00809316 /* Supporting Files */ = {
isa = PBXGroup;
children = (
86A9F8CD1641AD3D00809316 /* RNSwipeViewController-Info.plist */,
86A9F8CE1641AD3D00809316 /* InfoPlist.strings */,
86A9F8D11641AD3D00809316 /* main.m */,
86A9F8D31641AD3D00809316 /* RNSwipeViewController-Prefix.pch */,
86A9F8D71641AD3D00809316 /* Default.png */,
86A9F8D91641AD3D00809316 /* Default@2x.png */,
86A9F8DB1641AD3D00809316 /* Default-568h@2x.png */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
86A9F8C01641AD3D00809316 /* RNSwipeViewController */ = {
isa = PBXNativeTarget;
buildConfigurationList = 86A9F8E51641AD3D00809316 /* Build configuration list for PBXNativeTarget "RNSwipeViewController" */;
buildPhases = (
86A9F8BD1641AD3D00809316 /* Sources */,
86A9F8BE1641AD3D00809316 /* Frameworks */,
86A9F8BF1641AD3D00809316 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = RNSwipeViewController;
productName = RNSwipeViewController;
productReference = 86A9F8C11641AD3D00809316 /* RNSwipeViewController.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
86A9F8B81641AD3D00809316 /* Project object */ = {
isa = PBXProject;
attributes = {
CLASSPREFIX = RN;
LastUpgradeCheck = 0450;
ORGANIZATIONNAME = "Ryan Nystrom";
};
buildConfigurationList = 86A9F8BB1641AD3D00809316 /* Build configuration list for PBXProject "RNSwipeViewController" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 86A9F8B61641AD3D00809316;
productRefGroup = 86A9F8C21641AD3D00809316 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
86A9F8C01641AD3D00809316 /* RNSwipeViewController */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
86A9F8BF1641AD3D00809316 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
86A9F8D01641AD3D00809316 /* InfoPlist.strings in Resources */,
86A9F8D81641AD3D00809316 /* Default.png in Resources */,
86A9F8DA1641AD3D00809316 /* Default@2x.png in Resources */,
86A9F8DC1641AD3D00809316 /* Default-568h@2x.png in Resources */,
86A9F8DF1641AD3D00809316 /* MainStoryboard.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
86A9F8BD1641AD3D00809316 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
86A9F8D21641AD3D00809316 /* main.m in Sources */,
86A9F8D61641AD3D00809316 /* RNAppDelegate.m in Sources */,
86A9F8E21641AD3D00809316 /* RNViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
86A9F8CE1641AD3D00809316 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
86A9F8CF1641AD3D00809316 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
86A9F8DD1641AD3D00809316 /* MainStoryboard.storyboard */ = {
isa = PBXVariantGroup;
children = (
86A9F8DE1641AD3D00809316 /* en */,
);
name = MainStoryboard.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
86A9F8E31641AD3D00809316 /* 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_EMPTY_BODY = 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.0;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
};
name = Debug;
};
86A9F8E41641AD3D00809316 /* 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_EMPTY_BODY = 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.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
86A9F8E61641AD3D00809316 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "RNSwipeViewController/RNSwipeViewController-Prefix.pch";
INFOPLIST_FILE = "RNSwipeViewController/RNSwipeViewController-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
86A9F8E71641AD3D00809316 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "RNSwipeViewController/RNSwipeViewController-Prefix.pch";
INFOPLIST_FILE = "RNSwipeViewController/RNSwipeViewController-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
86A9F8BB1641AD3D00809316 /* Build configuration list for PBXProject "RNSwipeViewController" */ = {
isa = XCConfigurationList;
buildConfigurations = (
86A9F8E31641AD3D00809316 /* Debug */,
86A9F8E41641AD3D00809316 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
86A9F8E51641AD3D00809316 /* Build configuration list for PBXNativeTarget "RNSwipeViewController" */ = {
isa = XCConfigurationList;
buildConfigurations = (
86A9F8E61641AD3D00809316 /* Debug */,
86A9F8E71641AD3D00809316 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 86A9F8B81641AD3D00809316 /* Project object */;
}
Binary file added RNSwipeViewController/Default-568h@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added RNSwipeViewController/Default.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added RNSwipeViewController/Default@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions RNSwipeViewController/RNAppDelegate.h
@@ -0,0 +1,15 @@
//
// RNAppDelegate.h
// RNSwipeViewController
//
// Created by Ryan Nystrom on 10/31/12.
// Copyright (c) 2012 Ryan Nystrom. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RNAppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end
46 changes: 46 additions & 0 deletions RNSwipeViewController/RNAppDelegate.m
@@ -0,0 +1,46 @@
//
// RNAppDelegate.m
// RNSwipeViewController
//
// Created by Ryan Nystrom on 10/31/12.
// Copyright (c) 2012 Ryan Nystrom. All rights reserved.
//

#import "RNAppDelegate.h"

@implementation RNAppDelegate

- (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

0 comments on commit 26c4089

Please sign in to comment.