shlist

share and manage lists between multiple people
Log | Files | Refs

commit b0f4154357620a22ea77d29a450659b80b9220e3
parent 95a9898ef831a33265912ef45d100fae6bed6889
Author: kyle <kyle@0x30.net>
Date:   Fri, 29 Jan 2016 23:32:11 -0700

ios-old: delete

Diffstat:
Dios-old/Makefile | 7-------
Dios-old/Resources/Info.plist | 16----------------
Dios-old/RootViewController.h | 4----
Dios-old/RootViewController.mm | 33---------------------------------
Dios-old/control | 9---------
Dios-old/main.m | 8--------
Dios-old/shlistApplication.mm | 71-----------------------------------------------------------------------
7 files changed, 0 insertions(+), 148 deletions(-)

diff --git a/ios-old/Makefile b/ios-old/Makefile @@ -1,7 +0,0 @@ -include theos/makefiles/common.mk - -APPLICATION_NAME = shlist -shlist_FILES = main.m shlistApplication.mm RootViewController.mm -shlist_FRAMEWORKS = UIKit CoreGraphics - -include $(THEOS_MAKE_PATH)/application.mk diff --git a/ios-old/Resources/Info.plist b/ios-old/Resources/Info.plist @@ -1,16 +0,0 @@ -{ - CFBundleExecutable = "shlist"; - CFBundleIconFile = icon.png; - CFBundleIdentifier = "com.octopus.shlist"; - CFBundleInfoDictionaryVersion = 6.0; - CFBundlePackageType = APPL; - CFBundleSignature = "????"; - CFBundleSupportedPlatforms = ( - iPhoneOS - ); - CFBundleVersion = 1.0; - DTPlatformName = iphoneos; - DTSDKName = iphoneos3.0; - LSRequiresIPhoneOS = 1; - MinimumOSVersion = 3.0; -} diff --git a/ios-old/RootViewController.h b/ios-old/RootViewController.h @@ -1,4 +0,0 @@ -@interface RootViewController: UIViewController <NSStreamDelegate> { -} - -@end diff --git a/ios-old/RootViewController.mm b/ios-old/RootViewController.mm @@ -1,33 +0,0 @@ -#import "RootViewController.h" - -@implementation RootViewController - -NSInputStream *inputStream; -NSOutputStream *outputStream; - -- (void)loadView { - self.view = [[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]; - self.view.backgroundColor = [UIColor redColor]; - - [self initNetworkCommunication]; -} - -- (void)initNetworkCommunication -{ - CFReadStreamRef readStream; - CFWriteStreamRef writeStream; - - CFStreamCreatePairWithSocketToHost(NULL, (CFStringRef)@"absentmindedproductions.ca", 5437, &readStream, &writeStream); - inputStream = (NSInputStream *)readStream; - outputStream = (NSOutputStream *)writeStream; - - [inputStream setDelegate:self]; - [outputStream setDelegate:self]; - - [inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; - [outputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; - - [inputStream open]; - [outputStream open]; -} -@end diff --git a/ios-old/control b/ios-old/control @@ -1,9 +0,0 @@ -Package: com.octopus.shlist -Name: shlist -Depends: -Version: 0.0.1 -Architecture: iphoneos-arm -Description: An awesome application! -Maintainer: Kyle Milz -Author: Kyle Milz -Section: Utilities diff --git a/ios-old/main.m b/ios-old/main.m @@ -1,8 +0,0 @@ -int main(int argc, char **argv) { - NSAutoreleasePool *p = [[NSAutoreleasePool alloc] init]; - int ret = UIApplicationMain(argc, argv, @"shlistApplication", @"shlistApplication"); - [p drain]; - return ret; -} - -// vim:ft=objc diff --git a/ios-old/shlistApplication.mm b/ios-old/shlistApplication.mm @@ -1,71 +0,0 @@ -#import "RootViewController.h" - -@interface shlistApplication: UIApplication <UIApplicationDelegate> { - UIWindow *_window; - RootViewController *_viewController; -} -@property (nonatomic, retain) UIWindow *window; -@end - -@implementation shlistApplication -@synthesize window = _window; -- (void)applicationDidFinishLaunching:(UIApplication *)application { - _window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; - _viewController = [[RootViewController alloc] init]; - [_window addSubview:_viewController.view]; - [_window makeKeyAndVisible]; -} - - -- (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:. -} - -- (void)dealloc { - [_viewController release]; - [_window release]; - [super dealloc]; -} -@end - -// vim:ft=objc