PdfBuilder is a swift library made to make creation of the Pdf file from code simpler. It's inspired by SwiftUI and give similar declarative interface to design page layout.
- Background
- ClipShape
- Divider
- Grid
- Image
- Padding
- PageBackground
- PageBreak
- PageCounter
- PageHeader
- Spacer
- Text
- VStack
- HStack
Alias for NSAttributedString.Key dictionary allows union multiple dictionaries in a shorter way
StringAttributes.caption().foregroundColor(.red)
pod 'PdfBuilder'
https://github.com/atrbx5/PdfBuilder