You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/04/26 06:56:33 UTC

[11/50] [abbrv] incubator-weex git commit: * [ios] fix warnnings

* [ios] fix warnnings


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/c4afacb1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c4afacb1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c4afacb1

Branch: refs/heads/dev
Commit: c4afacb13c2ffbd8c6a575b767aa7da3cacc0da1
Parents: 0eba2ea
Author: acton393 <zh...@gmail.com>
Authored: Fri Apr 21 10:47:53 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Apr 21 10:47:53 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c4afacb1/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
index 39c4034..0644c9a 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
@@ -388,8 +388,8 @@ CGPoint WXPixelPointResize(CGPoint value) DEPRECATED_MSG_ATTRIBUTE("Use WXPixelS
 
 /**
  @discusstion parse gradient-color string to a dictionary, then you can get gradientLayer from @see gradientLayerFromColors:colors:locations:frame:locations
- @param a linear-gradient string like linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5))
- @return A dictionary with endColor, startColor and gradientType value
+ @param backgroundImage  linear-gradient string like linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5))
+ @return dictionary with endColor, startColor and gradientType value
  @code
     NSDictionary * linearGradient = [self linearGradientWithBackgroundImage:@"linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5))"];
     CAGradientLayer * gradientLayer = [self gradientLayerFromColors:@[linearGradient[@"startColor"], linearGradient[@"endColor"]],nil,bounds,[linearGradient[@"gradientType"] integerValue]];