-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use framework imports where available [Fix use_frameworks!
]
#307
Use framework imports where available [Fix use_frameworks!
]
#307
Conversation
Checked the CI failure. Unrelated to my changes, same error occurs on current master. |
This gets the green light from me. |
Cool :) |
Awesome! 👍 |
0587377
to
1193c0b
Compare
Good work @timbodeit , looking forward to seeing this PR merged 😄 |
@Stunner please have a quick look over the Readme changes. If you don't have any objections, this should be good to merge now. Pushed a new NUIParse release earlier today, so once this is merged, using NUI as a framework in Swift should work fine. |
When using the new `use_frameworks!` option in Cocoapods, by default errors about non-module imports are thrown, whenever a header is importet with "" that does not belong to the same module (same target) To circumvent this, import dependencies using </> when possible
- Improved documentation on usage with swift - Replace reference to CoreParse with NUIParse (fix tombenner#278)
a759fab
to
edf0aee
Compare
Use framework imports where available [Fix `use_frameworks!`]
When using the new
use_frameworks!
option in Cocoapods, by default errorsabout non-module imports are thrown, whenever a header is imported with "" that
does not belong to the same module (same target)
To circumvent this, import dependencies using </> when possible
This is one of the two changes, that fixed #303 for me. I have been using this off my own fork for about 5 months now.
The other part is sitting in the NUIParse#2 from roughly around the same time, that I originally made this commit.
The second part might be optional for Objective-C only projects, but is definitely needed for Swift projects, that use the native import syntax (and not a bridging header).
If @tombenner or anybody else with push access to NUIParse is looking at this, please also have a look at NUIParse#2.