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
Compiler Warning on Advanced Views usage #106
Comments
Nope this is simply an error. Mind submitting a pull request to fix it? |
Can do. Do you mean this is an error in the docs or code? Just wanting to clarify. Edit: I presume it's the docs just to change it to this:
|
Updated the example so that a UIView is returned, rather than the custom class, this ensures issue facebook#106 is avoided.
Error in the docs.
|
Cool, submitted the PR and have signed the CLA. |
I was following the guide as specified here:
http://componentkit.org/docs/advanced-views.html
And implemented the following code
This produces an unexpected compiler warning in the form of: Incompatible pointer types passing 'GradientOverlay ()()' to parameter of type 'UIView ()()'
GradientOverlay is currently a subclass of UIView, should this be something else? It's not specified in the docs of any additional changes needed.
The text was updated successfully, but these errors were encountered: