diff --git a/.gitignore b/.gitignore index 9f6b665..8c4898a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ build/ xcuserdata .redcar +/bin/ diff --git a/CashReegister/AppDelegate.h b/CashReegister/AppDelegate.h index 44306c2..38a0092 100644 --- a/CashReegister/AppDelegate.h +++ b/CashReegister/AppDelegate.h @@ -11,5 +11,5 @@ @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; - +// comment added @end diff --git a/CashReegister/AppDelegate.m b/CashReegister/AppDelegate.m index 41976ef..cbc756e 100644 --- a/CashReegister/AppDelegate.m +++ b/CashReegister/AppDelegate.m @@ -13,7 +13,7 @@ @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. - return YES; + return YES; } - (void)applicationWillResignActive:(UIApplication *)application diff --git a/CashReegister/CashReegister-Prefix.pch b/CashReegister/CashReegister-Prefix.pch index 47c58f3..84f0bff 100644 --- a/CashReegister/CashReegister-Prefix.pch +++ b/CashReegister/CashReegister-Prefix.pch @@ -9,6 +9,8 @@ #endif #ifdef __OBJC__ + #import #import + #endif diff --git a/CashReegister/ViewController.h b/CashReegister/ViewController.h index 1da168b..42575f7 100644 --- a/CashReegister/ViewController.h +++ b/CashReegister/ViewController.h @@ -8,6 +8,9 @@ #import + @interface ViewController : UIViewController +@property (weak, nonatomic) IBOutlet UILabel *launchURLLabel; + @end diff --git a/CashReegister/ViewController.m b/CashReegister/ViewController.m index 274f7b0..0b53f73 100644 --- a/CashReegister/ViewController.m +++ b/CashReegister/ViewController.m @@ -10,6 +10,8 @@ @interface ViewController () +// add a paintingView here. + @end @implementation ViewController diff --git a/CashReegister/main.m b/CashReegister/main.m index c397b89..e7a5564 100644 --- a/CashReegister/main.m +++ b/CashReegister/main.m @@ -13,6 +13,8 @@ int main(int argc, char *argv[]) { @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } } diff --git a/src/com/dg/controller/DgController.java b/src/com/dg/controller/DgController.java new file mode 100644 index 0000000..8ce1007 --- /dev/null +++ b/src/com/dg/controller/DgController.java @@ -0,0 +1,10 @@ +package com.dg.controller; + +public class DgController { + + public static void main(String[] args) { + System.out.println("Inside main method of DgController"); + System.out.println("Date = "+new java.util.Date()); + } + +}