cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [19/50] ios commit: Removed getBundlePlist from API
Date Thu, 25 Jun 2015 01:09:07 GMT
Removed getBundlePlist from API


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

Branch: refs/heads/master
Commit: dfeeeefcd5e7c709fcd6faa73ec8bb8c777ab3df
Parents: 31716dc
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Apr 21 00:26:43 2015 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Apr 21 00:26:43 2015 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/Public/CDVViewController.h |  2 --
 CordovaLib/Classes/Public/CDVViewController.m | 17 -----------------
 2 files changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/dfeeeefc/CordovaLib/Classes/Public/CDVViewController.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/Public/CDVViewController.h b/CordovaLib/Classes/Public/CDVViewController.h
index d3fdcc8..8492a6b 100644
--- a/CordovaLib/Classes/Public/CDVViewController.h
+++ b/CordovaLib/Classes/Public/CDVViewController.h
@@ -63,8 +63,6 @@
  */
 @property (nonatomic, readwrite, copy) NSString* baseUserAgent;
 
-+ (NSDictionary*)getBundlePlist:(NSString*)plistName;
-
 - (void)printMultitaskingInfo;
 - (void)createGapView;
 - (UIView*)newCordovaViewWithFrame:(CGRect)bounds;

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/dfeeeefc/CordovaLib/Classes/Public/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/Public/CDVViewController.m b/CordovaLib/Classes/Public/CDVViewController.m
index 8fe8553..b34676c 100644
--- a/CordovaLib/Classes/Public/CDVViewController.m
+++ b/CordovaLib/Classes/Public/CDVViewController.m
@@ -821,23 +821,6 @@
     return URLScheme;
 }
 
-/**
- Returns the contents of the named plist bundle, loaded as a dictionary object
- */
-+ (NSDictionary*)getBundlePlist:(NSString*)plistName
-{
-    NSString* errorDesc = nil;
-    NSPropertyListFormat format;
-    NSString* plistPath = [[NSBundle mainBundle] pathForResource:plistName ofType:@"plist"];
-    NSData* plistXML = [[NSFileManager defaultManager] contentsAtPath:plistPath];
-    NSDictionary* temp = (NSDictionary*)[NSPropertyListSerialization
-        propertyListFromData:plistXML
-            mutabilityOption:NSPropertyListMutableContainersAndLeaves
-                      format:&format errorDescription:&errorDesc];
-
-    return temp;
-}
-
 #pragma mark -
 #pragma mark UIApplicationDelegate impl
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message