Skip to content

Commit

Permalink
Clean up demo project.
Browse files Browse the repository at this point in the history
  • Loading branch information
samvermette committed Mar 26, 2013
1 parent 34b8c65 commit 58428c9
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 311 deletions.
10 changes: 0 additions & 10 deletions Demo/SVPullToRefreshDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
22E0D94B1545F63300BB6BB5 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 22E0D94A1545F63300BB6BB5 /* README.md */; };
22FDEC971639082E00DB53A8 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 22FDEC961639082E00DB53A8 /* [email protected] */; };
22FDEC9D16390CC800DB53A8 /* UIScrollView+SVInfiniteScrolling.m in Sources */ = {isa = PBXBuildFile; fileRef = 2288146016047C06005C6461 /* UIScrollView+SVInfiniteScrolling.m */; };
8E7FDB661640EBA200EE63E5 /* SVRootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E7FDB641640EBA200EE63E5 /* SVRootViewController.m */; };
8E7FDB671640EBA200EE63E5 /* SVRootViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8E7FDB651640EBA200EE63E5 /* SVRootViewController.xib */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -48,9 +46,6 @@
22E0D9401545EE9000BB6BB5 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
22E0D94A1545F63300BB6BB5 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = README.md; path = ../README.md; sourceTree = "<group>"; };
22FDEC961639082E00DB53A8 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "[email protected]"; path = "../[email protected]"; sourceTree = "<group>"; };
8E7FDB631640EBA200EE63E5 /* SVRootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVRootViewController.h; sourceTree = "<group>"; };
8E7FDB641640EBA200EE63E5 /* SVRootViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVRootViewController.m; sourceTree = "<group>"; };
8E7FDB651640EBA200EE63E5 /* SVRootViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SVRootViewController.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -104,9 +99,6 @@
children = (
22E0D9271545EE5B00BB6BB5 /* SVAppDelegate.h */,
22E0D9281545EE5B00BB6BB5 /* SVAppDelegate.m */,
8E7FDB631640EBA200EE63E5 /* SVRootViewController.h */,
8E7FDB641640EBA200EE63E5 /* SVRootViewController.m */,
8E7FDB651640EBA200EE63E5 /* SVRootViewController.xib */,
22E0D92A1545EE5B00BB6BB5 /* SVViewController.h */,
22E0D92B1545EE5B00BB6BB5 /* SVViewController.m */,
22E0D92D1545EE5B00BB6BB5 /* SVViewController.xib */,
Expand Down Expand Up @@ -197,7 +189,6 @@
22E0D92F1545EE5B00BB6BB5 /* SVViewController.xib in Resources */,
22E0D94B1545F63300BB6BB5 /* README.md in Resources */,
22FDEC971639082E00DB53A8 /* [email protected] in Resources */,
8E7FDB671640EBA200EE63E5 /* SVRootViewController.xib in Resources */,
2214365616B48FD70057C96E /* SVPullToRefresh.podspec in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -214,7 +205,6 @@
22E0D92C1545EE5B00BB6BB5 /* SVViewController.m in Sources */,
22E0D93D1545EE7600BB6BB5 /* UIScrollView+SVPullToRefresh.m in Sources */,
22FDEC9D16390CC800DB53A8 /* UIScrollView+SVInfiniteScrolling.m in Sources */,
8E7FDB661640EBA200EE63E5 /* SVRootViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
35 changes: 3 additions & 32 deletions Demo/SVPullToRefreshDemo/SVAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,17 @@

#import "SVAppDelegate.h"

#import "SVRootViewController.h"
#import "SVViewController.h"

@implementation SVAppDelegate

@synthesize window = _window;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[[SVRootViewController alloc] initWithNibName:@"SVRootViewController" bundle:nil]];
self.window.rootViewController = [[SVViewController alloc] initWithNibName:@"SVViewController" bundle:nil];
[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
15 changes: 0 additions & 15 deletions Demo/SVPullToRefreshDemo/SVRootViewController.h

This file was deleted.

43 changes: 0 additions & 43 deletions Demo/SVPullToRefreshDemo/SVRootViewController.m

This file was deleted.

179 changes: 0 additions & 179 deletions Demo/SVPullToRefreshDemo/SVRootViewController.xib

This file was deleted.

Loading

0 comments on commit 58428c9

Please sign in to comment.