Skip to content

Releases: AreroKetahi/SwiftyDeclarationProvider

v1.2

30 Jul 17:50
036261c
Compare
Choose a tag to compare

What's Changed

  • Now DeclarationBuilder support unlimited parameters. (theoretically) by @AreroKetahi in #1

Full Changelog: v1.1...v1.2

Version 1.1

22 Jul 16:10
Compare
Choose a tag to compare

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

22 Jul 14:08
5720f74
Compare
Choose a tag to compare

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.