sgr-ksmt / PDFGenerator

A simple generator of PDF written in Swift.
MIT License
755 stars 110 forks source link

Feature Request: Swift UI Support and rendering of 1000 pages of view #123

Open ghost opened 4 years ago

ghost commented 4 years ago

It is working great with UICollectionView! This library will work only if the full view is rendered (consider the view contains 1000 pages)? Do we have any library for Swift UI that can parse CollectionView?

ConfusedVorlon commented 4 years ago

I have got SwiftUI rendering to work by placing my SwiftUI view as the content layer of a ScrollView, then capturing that as an image. The advantage of using a Scroll View is that I didn't have to worry too much about what was actually visible.

I wonder if there may be a more generic solution here...

USBA commented 3 years ago

+1