## MVP - [X] Create the ViewStateController - [X] Add test coverage to the ViewStateController - [X] Create the ViewModifier that applies the styles based on the controller - [X] Create the InitialLoading configuration, the base cases, and the custom cases - [X] Create the SubsequentLoading configuration, the base cases, and the custom cases - [X] Add the ability to use a custom indicator view - [x] Create the Error configuration, the base cases, and the custom cases - [x] Add ability to display toasts (add positioning options) - [x] Add configuration options for toasts (colors, texts, custom views) - [x] Rename default case for toasts to `toast` - [x] Add snackBar case in ToastType - [x] Create an SPM package and upload it to this repository - [X] Add videos and sample code in the Readme file - [X] Default cases - [X] Custom Initial Loading - [X] Custom Subsequent Loading - [X] Custom Error - [X] Custom Toast - [ ] The case where you have some `latestInfo` that is not valid, but you still want to show it instead of the error (use custom error view) - [X] EmptyView for placeholder ### ExampleApp - [x] Create an Example App that consumes the SPM - [x] Create a Demo view where the user can toggle options - [X] InitialLoading - [x] SubsequentLoading - [x] Errors - [x] Toasts ## Article - [X] Write an article explaining the ViewStateController
MVP
toastlatestInfothat is not valid, but you still want to show it instead of the error (use custom error view)ExampleApp
Article