Skip to content

Releases: alschmut/StructBuilderMacro

v0.5.0

13 Feb 16:46
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release
  • Changed module name from StructBuilder to Buildable. Please update your linked package in the Xcode settings and update the import statements accordingly.
  • Changed behaviour when generating struct builder. When a struct initialiser exists @Buildable now uses the first/top initialiser instead of guessing what the initialiser could look like from the struct member variables
  • Fixed an issue where generating a struct builder would fail when a constant let myConstant = "" would be part of the struct. An initialised constant can not be part of a member-wise initialiser.

v0.4.0

09 Feb 17:00
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Added ability to annotate class declarations with @Buildable.

v0.3.0

09 Feb 15:45
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Added ability to annotate enum declarations with @Buildable, which produces a builder struct using the first found enum case as their default value.