You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/11/12 15:56:12 UTC
ios commit: Add deprecation message for [CDVViewController
URLIsAllowed]
Repository: cordova-ios
Updated Branches:
refs/heads/unplug-whitelist 960c809e6 -> 6c72010fe
Add deprecation message for [CDVViewController URLIsAllowed]
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/6c72010f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/6c72010f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/6c72010f
Branch: refs/heads/unplug-whitelist
Commit: 6c72010fe08f7714ac8804b09fb2a6677d3fab1d
Parents: 960c809
Author: Ian Clelland <ic...@chromium.org>
Authored: Wed Nov 12 09:55:45 2014 -0500
Committer: Ian Clelland <ic...@chromium.org>
Committed: Wed Nov 12 09:55:45 2014 -0500
----------------------------------------------------------------------
CordovaLib/Classes/CDVViewController.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6c72010f/CordovaLib/Classes/CDVViewController.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.h b/CordovaLib/Classes/CDVViewController.h
index 9442b4c..4dae154 100644
--- a/CordovaLib/Classes/CDVViewController.h
+++ b/CordovaLib/Classes/CDVViewController.h
@@ -76,7 +76,7 @@
- (void)registerPlugin:(CDVPlugin*)plugin withClassName:(NSString*)className;
- (void)registerPlugin:(CDVPlugin*)plugin withPluginName:(NSString*)pluginName;
-- (BOOL)URLisAllowed:(NSURL*)url __attribute__((deprecated));
+- (BOOL)URLisAllowed:(NSURL*)url __attribute__((deprecated("Scheduled for removal in 5.0. Use shouldAllowRequestForURL, shouldAllowNavigationToURL or shouldOpenExternalURL instead.")));
- (BOOL)shouldAllowRequestForURL:(NSURL *)url;
- (BOOL)shouldAllowNavigationToURL:(NSURL *)url;
- (BOOL)shouldOpenExternalURL:(NSURL *)url;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org