You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of using 'right' coefficients like proposed above, a solution with custom CALayer subclass could be applied. The magic is in overriding draw(in ctx: CGContext) function. Sample implementation gist
Thanks a lot, @ignatovSA! I have read the article on Medium and know about this problem. That's why the feature still in WIP status. Your example looks clear and laconic. Do you want to send a PR? It would be great!
Add Swift code snippet for gradients:
The text was updated successfully, but these errors were encountered: