You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/03/07 01:18:49 UTC

[36/43] ios commit: CB-8032 - Added a typedef for block definition.

CB-8032 - Added a typedef for block definition.


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

Branch: refs/heads/4.0.x
Commit: 1d4ba9778e6d15abe49fb8e0d6b66603372e7d7c
Parents: 0838a07
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Dec 9 16:37:49 2014 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Dec 9 16:37:49 2014 -0800

----------------------------------------------------------------------
 CordovaLib/Classes/CDVCommandDelegate.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/1d4ba977/CordovaLib/Classes/CDVCommandDelegate.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVCommandDelegate.h b/CordovaLib/Classes/CDVCommandDelegate.h
index 2062519..926278a 100644
--- a/CordovaLib/Classes/CDVCommandDelegate.h
+++ b/CordovaLib/Classes/CDVCommandDelegate.h
@@ -24,10 +24,12 @@
 @class CDVPluginResult;
 @class CDVWhitelist;
 
+typedef NSURL* (^ UrlTransformerBlock)(NSURL*);
+
 @protocol CDVCommandDelegate <NSObject>
 
 @property (nonatomic, readonly) NSDictionary* settings;
-@property (nonatomic, copy) NSURL*(^urlTransformer)(NSURL*);
+@property (nonatomic, copy) UrlTransformerBlock urlTransformer;
 
 - (NSString*)pathForResource:(NSString*)resourcepath;
 - (id)getCommandInstance:(NSString*)pluginName;


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