Repository navigation
docs: examples for the remaining public API, including Apple platforms - #4526
Merged
Merged
Conversation
…bscribed to commands
…extending IViewFor
… first transition
…ollers, views, hosts and suspension
…nd section information
3 tasks done
…require and names its macOS runtime
3 of 4 tasks
ChrisPulman
approved these changes
Sep 27, 2026
glennawatson
enabled auto-merge (squash)
September 27, 2026 10:05
…acOS window uses ReactiveWindowController
2 of 3 tasks
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4526 +/- ##
=======================================
Coverage 93.69% 93.69%
=======================================
Files 175 175
Lines 6231 6231
Branches 743 743
=======================================
Hits 5838 5838
Misses 392 392
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
Every public ReactiveUI member now has a documentation example or a reviewed reason why app code never calls it, including the Apple platforms.
IActivatableViewModel.Activator, and anIObserverwitness subscribed straight to aReactiveCommandand throughReactiveCommandBase.IReactiveObjectsurface on views,ReactiveActivityresults, USB permission requests, the fragmentWireUpControlsoverload), MAUI and WinUI hosts and converters, WinForms panel and table set-method converters, WPF host properties, everyTransitioningContentControltransition, the explicit-viewWhenActivatedoverloads, and Blend behaviour properties.Pages/platform-appleproject. An iOS and macOS library app covering the view controllers, views, hosts, suspension, and the UIKit table and collection sources, cells and section information. The iOS and macOS workloads exist only on Windows and macOS, so on Linux the project compiles a one-line placeholder.IViewFor. Aview-locationexample that bridges a third-party base class toIViewForwith its own activation fetcher.BindCommandon AppKitNSButtontargets, so the macOS example binds its button withBindCommand..git. Libraries are unchanged.Why
A fresh audit of the public surface after the recent Binding, source generator and routing changes found members with no example.
Breaking changes
None.
How this was verified
Every console page's
// Output:blocks match a real run; the platform apps were run on their platforms.Notes for the reviewer
Start with
Pages/platform-apple(new) andsrc/examples/Directory.Build.props; the rest adds methods to existing page projects.src/Directory.Build.propsgains one condition: the SourceLink package is skipped whenEnableSourceLinkisfalse, which only the examples set.ViewModelViewHostexamples switch views by contract, and the macOS window usesReactiveWindowControllerwithWhenActivated.Checklist