You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/03/27 13:25:29 UTC
[2/6] incubator-weex git commit: + [ios] delete blank
+ [ios] delete blank
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9ab9c773
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9ab9c773
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9ab9c773
Branch: refs/heads/0.11-dev
Commit: 9ab9c773f1a9a42fff8d35cae3313c7ac1667021
Parents: 9666cff
Author: kfeagle <su...@163.com>
Authored: Mon Mar 27 18:05:05 2017 +0800
Committer: kfeagle <su...@163.com>
Committed: Mon Mar 27 18:05:05 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9ab9c773/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m b/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
index 6701c28..48687ce 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m
@@ -47,7 +47,7 @@
if (begin.location < end.location && end.location < [string length]) {
NSRange range = NSMakeRange(begin.location, end.location-begin.location + 1);
NSString *str = [string substringWithRange:range];
- UIColor * color = [WXConvert UIColor:str];
+ UIColor *color = [WXConvert UIColor:str];
if (color && [color isKindOfClass:[UIColor class]]) {
boxShadow.shadowColor = color.CGColor;
}
@@ -56,7 +56,7 @@
} else {
NSArray *boxShadowElements = [self getBoxShadowElementsByBlank:string];
NSString *str = [boxShadowElements lastObject];
- UIColor * color = [WXConvert UIColor:str];
+ UIColor *color = [WXConvert UIColor:str];
if (color && [color isKindOfClass:[UIColor class]]) {
boxShadow.shadowColor = color.CGColor;
}