JamitLabs / JamitFoundation

JamitFoundation is a collection of useful concepts to enable composition oriented development with UIKit
MIT License
10 stars 5 forks source link

Add modifier for composed view wrapping #43

Closed mrylmz closed 3 years ago

mrylmz commented 3 years ago

Add SwiftUI style modifier behaviour to wrap composable views together.

Example:

SomeView()
    .instantiate()
    .onTapGesture { } // Wraps SomeView to ActionView<SomeView> and populates view model somehow