You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by GitBox <gi...@apache.org> on 2018/12/06 02:33:39 UTC

[GitHub] Hanks10100 closed pull request #222: Update extend-ios.md

Hanks10100 closed pull request #222: Update extend-ios.md
URL: https://github.com/apache/incubator-weex-site/pull/222
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/source/guide/extend-ios.md b/source/guide/extend-ios.md
index e60e8b509..4aa830363 100644
--- a/source/guide/extend-ios.md
+++ b/source/guide/extend-ios.md
@@ -267,7 +267,7 @@ after your registration for your own custom component, now you can call it in yo
 
 - From v0.19, Weex replaced layout engine which is C++ codes. You can get css styles from styles dictionary of a WXComponent. You can also access flexCssNode property which is of type WeexCore::WXCoreLayoutNode, but must in .mm files.
 
-- From v0.20, WeexCore is imported to iOS, and css styles is never uploaded to WXComponent. The styles dictionary only contains non-css styles. We think that upper UI components should only care about final layout results generated by layout engine. If you still want to access css styles, you may use flexCssNode in .mm files or by extension methods provided in WXComponent+Layout.h.
+- From v0.20, WeexCore is imported to iOS, and css styles are never uploaded to WXComponent. The styles dictionary only contains non-css styles. We think that upper UI components should only care about final layout results generated by layout engine. If you still want to access css styles, you may use flexCssNode in .mm files or by extension methods provided in WXComponent+Layout.h.
 
  ```
 /**
@@ -298,7 +298,6 @@ after your registration for your own custom component, now you can call it in yo
 - (WXCoreAlignSelf)getCssStyleAlignSelf;
 - (WXCorePositionType)getCssStylePositionType;
 - (NSString*)convertLayoutValueToStyleValue:(NSString*)valueName;
-- (CGFloat)safeContainerStyleWidth;
  ```
 
 ### custom your handlers


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services