Releases: AreroKetahi/SwiftyDeclarationProvider
Releases · AreroKetahi/SwiftyDeclarationProvider
v1.2
What's Changed
- Now DeclarationBuilder support unlimited parameters. (theoretically) by @AreroKetahi in #1
Full Changelog: v1.1...v1.2
Version 1.1
Complete @available
.
Change toView()
to makeView()
.
Add two overload to DeclarationView.
Marked Declaration(languange: String, declaration: [DeclarationProvider])
as public.
Add some documentations.
Version 1.0
SwiftyDeclarationProvider 1.0 has following features:
- Support group, indented group, text, padless text, footnote, divider
- DGroup, IndentDGroup allow 20 elements in one layer. (Providers from SwiftUI support 10, we are more advanced.)
- TranslatedDeclaration conforms to Codable protocol, which can encode to JSON of Property List straightly. Also import from those files.
- DeclarationView conforms to View protocol, which can preview declaration context in SwiftUI view.