Permalink
Browse files

First import

  • Loading branch information...
0 parents commit eadc43e1bdc7c1edb7d16eed58911033488b0bb1 @billgarrison committed Dec 7, 2010
@@ -0,0 +1,21 @@
+//
+// SORelativeDateTransformerTester
+//
+// Created by StdOrbit on 12/6/10.
+// Copyright 2010 Standard Orbit Software, LLC. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@class TesterViewController;
+
+@interface AppDelegate : NSObject <UIApplicationDelegate> {
+ UIWindow *window;
+ TesterViewController *viewController;
+}
+
+@property (nonatomic, retain) IBOutlet UIWindow *window;
+@property (nonatomic, retain) IBOutlet TesterViewController *viewController;
+
+@end
+
@@ -0,0 +1,87 @@
+//
+// SORelativeDateTransformerTester
+//
+// Created by StdOrbit on 12/6/10.
+// Copyright 2010 Standard Orbit Software, LLC. All rights reserved.
+//
+
+#import "AppDelegate.h"
+#import "TesterViewController.h"
+
+@implementation AppDelegate
+
+@synthesize window;
+@synthesize viewController;
+
+
+#pragma mark -
+#pragma mark Application lifecycle
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+
+ // Override point for customization after application launch.
+
+ // Add the view controller's view to the window and display.
+ [self.window addSubview:viewController.view];
+ [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, called instead of applicationWillTerminate: when the user quits.
+ */
+}
+
+
+- (void)applicationWillEnterForeground:(UIApplication *)application {
+ /*
+ Called as part of 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.
+ See also applicationDidEnterBackground:.
+ */
+}
+
+
+#pragma mark -
+#pragma mark Memory management
+
+- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
+ /*
+ Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later.
+ */
+}
+
+
+- (void)dealloc {
+ [viewController release];
+ [window release];
+ [super dealloc];
+}
+
+
+@end
Binary file not shown.
@@ -0,0 +1,28 @@
+/*
+ SORelativeDateTransformer.strings
+
+ Created by StdOrbit on 12/6/10.
+ Copyright 2010 Standard Orbit Software, LLC. All rights reserved.
+ */
+
+/* <relative time difference (1-n) > <data component name (e.g. year, month)> ago*/
+"formatTemplateForRelativePastDatePhrase" = "%d %@ ago";
+
+/* in <relative time difference (1-n) > <data component name (e.g. year, month)>*/
+"formatTemplateForRelativeFutureDatePhrase" = "in %d %@";
+
+"now" = "now";
+"year" = "year";
+"years" = "years";
+"month" = "month";
+"months" = "months";
+"week" = "week";
+"weeks" = "weeks";
+"day" = "day";
+"days" = "days";
+"hour" = "hour";
+"hours" = "hours";
+"minute" = "minute";
+"minutes" = "minutes";
+"second" = "second";
+"seconds" = "seconds";
@@ -0,0 +1,26 @@
+/*
+ SORelativeDateTransformer.strings
+
+ Created by StdOrbit on 12/6/10.
+ Copyright 2010 Standard Orbit Software, LLC. All rights reserved.
+
+ French localization courtesy of Google Translate. <http://translate.google.com>
+ */
+
+"formatTemplateForRelativePastDatePhrase" = "il ya %d %@";
+"formatTemplateForRelativeFutureDatePhrase" = "en %d %@";
+"now" = "maintenant";
+"year" = "an";
+"years" = "ans";
+"month" = "mois";
+"months" = "mois";
+"week" = "semaine";
+"weeks" = "semaines";
+"day" = "jour";
+"days" = "jours";
+"hour" = "heure";
+"hours" = "heures";
+"minute" = "minute";
+"minutes" = "minutes";
+"second" = "seconde";
+"seconds" = "secondes";
@@ -0,0 +1,26 @@
+/*
+ SORelativeDateTransformer.strings
+
+ Created by StdOrbit on 12/6/10.
+ Copyright 2010 Standard Orbit Software, LLC. All rights reserved.
+
+ German localization courtesy of Google Translate. <http://translate.google.com>
+ */
+
+"formatTemplateForRelativePastDatePhrase" = "%d %@ vor";
+"formatTemplateForRelativeFutureDatePhrase" = "in %d %@";
+"now" = "jetzt";
+"year" = "Jahr";
+"years" = "Jahren";
+"month" = "Monat";
+"months" = "Monaten";
+"week" = "Woche";
+"weeks" = "Wochen";
+"day" = "Tag";
+"days" = "Tagen";
+"hour" = "Stunde";
+"hours" = "Stunden";
+"minute" = "Minuten";
+"minutes" = "Minuten";
+"second" = "Sekunde";
+"seconds" = "Sekunden";
Oops, something went wrong.

0 comments on commit eadc43e

Please sign in to comment.