You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2012/12/20 17:51:14 UTC

ios commit: Fix up invalid #pragma mark lines in our project template.

Updated Branches:
  refs/heads/master 930b1bfb7 -> d5a82a6df


Fix up invalid #pragma mark lines in our project template.


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/d5a82a6d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/d5a82a6d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/d5a82a6d

Branch: refs/heads/master
Commit: d5a82a6df0c5c3fb6e1272e3ed81053fbe7aafbe
Parents: 930b1bf
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Dec 20 11:50:03 2012 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Dec 20 11:50:03 2012 -0500

----------------------------------------------------------------------
 .../project/__TESTING__/Classes/AppDelegate.m      |    6 +++---
 .../__TESTING__/Classes/MainViewController.m       |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/d5a82a6d/bin/templates/project/__TESTING__/Classes/AppDelegate.m
----------------------------------------------------------------------
diff --git a/bin/templates/project/__TESTING__/Classes/AppDelegate.m b/bin/templates/project/__TESTING__/Classes/AppDelegate.m
index 4806f9a..1ca3daf 100644
--- a/bin/templates/project/__TESTING__/Classes/AppDelegate.m
+++ b/bin/templates/project/__TESTING__/Classes/AppDelegate.m
@@ -47,7 +47,7 @@
     return self;
 }
 
-#pragma UIApplicationDelegate implementation
+#pragma mark UIApplicationDelegate implementation
 
 /**
  * This is main kick off after the app inits, the views and Settings are setup here. (preferred - iOS4 and up)
@@ -92,8 +92,8 @@
 }
 
 // repost the localnotification using the default NSNotificationCenter so multiple plugins may respond
-- (void)application:(UIApplication *)application
-didReceiveLocalNotification:(UILocalNotification *)notification
+- (void)           application:(UIApplication*)application
+   didReceiveLocalNotification:(UILocalNotification*)notification
 {
     // re-post ( broadcast )
     [[NSNotificationCenter defaultCenter] postNotificationName:CDVLocalNotification object:notification];

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/d5a82a6d/bin/templates/project/__TESTING__/Classes/MainViewController.m
----------------------------------------------------------------------
diff --git a/bin/templates/project/__TESTING__/Classes/MainViewController.m b/bin/templates/project/__TESTING__/Classes/MainViewController.m
index b70c93b..89da108 100644
--- a/bin/templates/project/__TESTING__/Classes/MainViewController.m
+++ b/bin/templates/project/__TESTING__/Classes/MainViewController.m
@@ -61,7 +61,7 @@
     // Release any cached data, images, etc that aren't in use.
 }
 
-#pragma mark - View lifecycle
+#pragma mark View lifecycle
 
 - (void)viewWillAppear:(BOOL)animated
 {
@@ -99,7 +99,7 @@
 }
 */
 
-#pragma UIWebDelegate implementation
+#pragma mark UIWebDelegate implementation
 
 - (void)webViewDidFinishLoad:(UIWebView*)theWebView
 {
@@ -137,7 +137,7 @@
    in MainViewController.m
  */
 
-#pragma CDVCommandDelegate implementation
+#pragma mark CDVCommandDelegate implementation
 
 - (id)getCommandInstance:(NSString*)className
 {