Add skeleton loading, rename DisplayableError, and expand test coverage#13
Merged
anthony1810 merged 8 commits intomainfrom Feb 9, 2026
Merged
Add skeleton loading, rename DisplayableError, and expand test coverage#13anthony1810 merged 8 commits intomainfrom
anthony1810 merged 8 commits intomainfrom
Conversation
Provides .placeholder(_:) view modifier that applies .redacted() when the value conforms to PlaceholderRepresentable and isPlaceholder returns true.
- Fix Swift badge to 5.9+ (matches Package.swift) - Fix package URL from anthropics to anthony1810 - Add macOS 14.0+ to requirements - Add StateUpdatable protocol documentation - Add Parent State Binding (BindingParentStateOption) section - Add Skeleton Loading section (PlaceholderRepresentable, .placeholder()) - Add Load More Pagination section (LoadmoreScreenState, RMLoadmoreView) - Add comprehensive API Reference table (protocols, classes, actors, structs, view modifiers) - Document StreamProducer withLatest option and non-isolated methods - Document CancelBag Task extension methods - Update feature example to use RMLoadmoreView instead of inline ProgressView
Move error handling from nonisolated receive into isolatedReceive so unlock and loadingFinished always run regardless of errors.
Rename struct, file, and all usages across sources, tests, and README. Add deprecated typealias for backwards compatibility.
No consumers exist yet, so backwards compatibility is unnecessary. Also fix file header comment to match new filename.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PlaceholderRepresentableprotocol andPlaceholderModifierfor skeleton loading supportRMDisplayableErrortoDisplayableError(removed deprecated typealias)StateUpdatable, load-more pagination, and skeleton loading sectionsStreamProducer(multi-subscriber, withLatest, finish),OnShowErrorModifier,Environmentextensions, andRMLoadmoreViewTest plan
swift testto verify all new and existing tests passDisplayableErrorrename has no downstream breakage