Skip to content

[docs] Improve XML docs for CNContactFetchRequest, CIImageInitializationOptions, CVTime, NSInputStream, GKBehavior, GKState, NLLanguageRecognizer, NEHotspotHelperOptions, SCNScene, SLComposeViewController - #26294

Merged
rolfbjarne merged 13 commits into
mainfrom
dev/rolf/xmldocs-035-batch
Jul 27, 2026

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Improve XML documentation for 10 types:

  • CNContactFetchRequest
  • CIImageInitializationOptions
  • CVTime
  • NSInputStream
  • GKBehavior
  • GKState
  • NLLanguageRecognizer
  • NEHotspotHelperOptions
  • SCNScene
  • SLComposeViewController

Changes include adding missing summaries, fixing tag ordering (summary before param), removing empty nodes, and fixing typos.

🤖 Pull request created by Copilot

rolfbjarne and others added 11 commits July 24, 2026 12:34
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fix param-before-summary ordering in NSInputStream, GKBehavior,
NLLanguageRecognizer, NEHotspotHelperOptions, SCNScene, and CVTime.
Also fix empty returns node and double period in CVTime.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
Copilot AI review requested due to automatic review settings July 24, 2026 10:38
@rolfbjarne
rolfbjarne requested a review from dalexsoto as a code owner July 24, 2026 10:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates XML documentation across several Apple-platform binding types to replace placeholder docs, remove empty nodes, and improve readability of generated API docs.

Changes:

  • Replaces “To be added.” placeholders with more meaningful <summary> / <param> text across multiple bindings.
  • Removes empty <remarks> / <value> / <returns> nodes in several places and fixes a minor typo (“zero duration..” → “zero duration.”).
  • Adjusts/standardizes XML doc content around common helpers and convenience APIs.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/Social/SLComposeViewController.cs Updates parameter docs for FromService / IsAvailable.
src/SceneKit/SCNScene.cs Cleans up docs for scene node helpers and enumerators.
src/NetworkExtension/NEHotspotHelperOptions.cs Cleans up class/ctor/property docs and removes placeholder nodes.
src/NaturalLanguage/NLLanguageRecognizer.cs Removes placeholder remarks and updates docs for language hypothesis API.
src/GameplayKit/GKState.cs Replaces placeholder param docs for transition helper methods.
src/GameplayKit/GKBehavior.cs Improves indexer parameter documentation.
src/Foundation/NSInputStream.cs Improves docs around Read overloads and removes empty remarks.
src/CoreVideo/CVTime.cs Fixes typos and refines docs for Equals and CoreVideo host time APIs.
src/CoreImage/CIImageInitializationOptions.cs Cleans up docs for initialization options and metadata subclass constructors.
src/Contacts/CNContactFetchRequest.cs Improves constructor parameter docs for keys-to-fetch overloads.
Comments suppressed due to low confidence (2)

src/Social/SLComposeViewController.cs:27

  • Same as above: the PR description calls out fixing XML doc tag ordering (summary before param), but this method still has before . Reordering improves readability and matches the stated intent.
		/// <param name="serviceKind">The service kind.</param>
		///         <summary>Returns <see langword="true" /> if the application can send a request for the specified service type.</summary>

src/CoreVideo/CVTime.cs:132

  • Same issue here: the summary currently just repeats the method name. Adding a short description and what the return value represents would make the docs actionable.
		/// <summary>GetHostClockMinimumTimeDelta.</summary>

Comment thread src/Social/SLComposeViewController.cs Outdated
Comment thread src/NaturalLanguage/NLLanguageRecognizer.cs Outdated
Comment thread src/Foundation/NSInputStream.cs Outdated
Comment thread src/CoreVideo/CVTime.cs Outdated
- Fix param-before-summary in SLComposeViewController
- Improve NLLanguageRecognizer.GetLanguageHypotheses summary and param
- Improve NSInputStream.Read overload summary and param descriptions
- Improve CVTime.GetCurrentHostTime summary

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

dalexsoto
dalexsoto previously approved these changes Jul 24, 2026
@vs-mobiletools-engineering-service2

This comment has been minimized.

Comment thread src/CoreVideo/CVTime.cs Outdated
Comment thread src/Foundation/NSInputStream.cs Outdated
Comment thread src/Foundation/NSInputStream.cs Outdated
Comment thread src/GameplayKit/GKState.cs Outdated
Address review feedback:
- Remove empty <value> and <returns> elements in CVTime
- Fix indentation (normalize to single space after ///)
- Fix param-before-summary ordering in all affected files
- Fix extra whitespace in remarks elements
- Improve placeholder summaries (GetHostClockMinimumTimeDelta)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9a37ff16-2fda-4715-8343-f3408ac8c442
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 5207f84e081989db7e34b92ca433f8cade84a452 [PR build]

@rolfbjarne rolfbjarne added the ready-to-review This PR is ready to review/merge. label Jul 27, 2026
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #5207f84] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 203 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 4 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 19 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 5207f84e081989db7e34b92ca433f8cade84a452 [PR build]

@rolfbjarne
rolfbjarne merged commit 3fb4d51 into main Jul 27, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/xmldocs-035-batch branch July 27, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot ready-to-review This PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants