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
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Raster
Rasterize a SwiftUI view into an image.
How to use
Installation
Author
Alejandro Martinez | http://alejandromp.com | @alexito4