Update ci.yml
Rasterize a SwiftUI view into an image.
import Raster let view = ... any SwiftUI view let image = view.rasterize(at: size)
dependencies: [ .package(url: "https://github.com/alexito4/Raster.git", from: "0.0.1") ], ... .target( dependencies: [ "Raster" ], ),
Alejandro Martinez | http://alejandromp.com | @alexito4
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Raster
Rasterize a SwiftUI view into an image.
How to use
Installation
Author
Alejandro Martinez | http://alejandromp.com | @alexito4