Skip to content

Releases: davidscheutz/SwiftUDF

v0.0.4

02 Jun 12:43
7dcf1bd
Compare
Choose a tag to compare

Swift Macros Support

Replace legacy comment based annotations with Swift Macros, making the code generation compile safe!

@Loop(in: EventType, out: StateType)
@State(ViewType)
@Event(ViewType)

More details in PR #1

v0.0.3

17 Jun 01:40
Compare
Choose a tag to compare

Stable

SwiftUDF now depends on the first release version v0.0.1 of SwiftEvolution.

v0.0.2

13 Jun 03:43
02ed242
Compare
Choose a tag to compare

Welcome Demo Project

  • BindableView now is backed by SwiftUI's View for improved readability.
  • Code generation for the Loop update functionality doesn't implicitly rely on SwiftCopy anymore.
  • A demo project to demonstrate the library in action, including tests.

For further details please take a look at the updated README.

v0.0.1

19 May 20:28
Compare
Choose a tag to compare

The Fundation

Contains the initial set of functionality to simplify binding SwiftUI views with the application logic.

Each view is created with exactly two parameters

  • State, containing all the necessary information for the view to render correctly, but not more
  • EventHandler, a callback receiving all user inputs from the UI

SwiftUDF takes care of the glue code, how to bind the view and provide updates on the main thread.