GitHub user lucky-chen opened a pull request:
https://github.com/apache/incubator-weex/pull/1176
[WEEX-364][iOS] support swift build
fix c++/OC/swift build issue
1. add define ```_cplusplus``` with c++.h
2. use ```std::isnan``` to replace `isnan`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lucky-chen/incubator-weex ios_support_swift
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/1176.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1176
commit 4708a9413e4c8f589528a6c123dc9f7031009e21
Author: zouming.zm
Date: 2018-05-15T04:02:03Z
hide some prop in .h file
* [iOS] head newlayout node.h
* [iOS] fix compile error
---