luckkerr,
@luckkerr@mastodon.world avatar

Swift DocC question. Is it possible to link to a documentation of a property in nested type extension?

I want to document this property:
https://github.com/Tunous/XCAppTest/blob/f2e426b069e180a94f4cd774d74ca94a4d7c74f8/Sources/XCAppTest/XCUIElement%2BTypes.swift#L13
Similar to other in:
https://raw.githubusercontent.com/Tunous/XCAppTest/main/Sources/XCAppTest/XCAppTest.docc/XCAppTest.md

Tried XCAppTest/XCTest/XCUIElement/ElementType/bannerNotification but that doesn't work.

#iOSDev #DocC #Swift

ddenis,
@ddenis@mastodon.social avatar

@luckkerr I don’t think documenting extensions to third party types is possible yet. https://forums.swift.org/t/enablement-of-docc-extension-support-as-an-opt-in-feature/62614

luckkerr,
@luckkerr@mastodon.world avatar

@ddenis it works for the other extensions. They are all visible in documentation and can be linked. I only have problem with this single property. It is documented but I have no idea how to link to it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • swift
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines