Skip to content

SwiftUI Support #33

@xremix

Description

@xremix

Thanks Mr. Schmid for the great framework! It works like a charm.

Having some native SwiftUI Support in the Framework would be awesome - or at least something in the readme.
So far this worked out for me in my project:

Loaf("There was an error", state: .error, sender:  UIApplication.shared.keyWindow!.rootViewController!).show()

But it feels more like a workaround to me.
If you want me to, I can extend the README.md file with such a sample.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions