Skip to content

TaimurAyaz/AsyncPreview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon

AsyncPreview

Preview views with asynchronous dependencies, on Xcode canvas.

Usage

#Preview {
    AsyncModel { model in
        SomeView().environment(model)
    } model: {
        try await SomeAsynchronousModel()
    }
}

Installation

Swift Package Manager

  • On XCode, select File > Add Package Dependencies...
  • Search for https://github.com/TaimurAyaz/AsyncPreview.git
  • Add package

About

Preview asynchronous views on Xcode canvas.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages