Repository: cordova-ios Updated Branches: refs/heads/wkwebview 0838a0730 -> 1d4ba9778
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/wkwebview Commit: 1d4ba9778e6d15abe49fb8e0d6b66603372e7d7c Parents: 0838a07 Author: Shazron Abdullah <[email protected]> Authored: Tue Dec 9 16:37:49 2014 -0800 Committer: Shazron Abdullah <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
