Major corpus refresh accompanying the cupertino #284 cleanup work: docs/ (412,562 files / 2.4G total): - Net change: 71,284 files (1,017,864 insertions / 4,503,415 deletions). - Removed: 1,166 + 39 + 3 = 1,208 poison files Apple's CDN consistently returns error templates for (JS-disabled fallback + Web Server Error + 502/403 titles). - Added: 8,357 .json files recovered from cross-backup URL match (May-09 jsonpass + private mirror + Apr-30 pre-recrawl). - Added: 103 .md files from the November 2025 AppleDocs snapshot for URIs not available as .json anywhere. - Added: 580 synthesized stub .json files for URIs whose own page Apple's CDN won't render but whose one-line description IS embedded in the parent type's Topics section. Each stub carries the parent- extracted description as 'abstract' and source: custom. - Verified clean across 12 poison categories (no HTTP error titles, no JS-disabled fallback, no Skip-Navigation broken bodies, no openresty/CDN markers) by a full no-heuristics scan of all 412,458 .json + 103 .md files. swift-evolution/ (912 files, +41 new): - Refetched via 'cupertino fetch --type evolution' against github.com/swiftlang/swift-evolution. - 3 brand-new SE-XXXX proposals + 478 refreshed. - Preserves the historical NNNN-descriptive-name files (429 of them) that the cupertino-docs repo kept from the original swift-evolution proposals/* directory layout — both naming conventions coexist. swift-org/ (787 files, +2 from local sync). archive/ (419 files, +12 from local sync). packages/, hig/ unchanged. Reference: #290 (re-publish v1.0.x bundle), #284 (poison rows, closed), PR #289 + PR #291 (crawler + indexer defenses, merged into cupertino main), #293 (URI collision design issue, filed). No version bump on cupertino. The corpus tag below marks this state.
34 lines
3.4 KiB
JSON
34 lines
3.4 KiB
JSON
{
|
|
"abstract" : "A message that posts after a stylus accessory connects to the device.",
|
|
"codeExamples" : [
|
|
|
|
],
|
|
"contentHash" : "f5be442df313d372aa9b7d8ed49d6135c7d2122a2d5bd00cb90bc2d0768b8ebc",
|
|
"crawlDepth" : 2,
|
|
"crawledAt" : "2026-05-12T02:44:01Z",
|
|
"declaration" : {
|
|
"code" : "struct DidConnectMessage",
|
|
"language" : "swift"
|
|
},
|
|
"id" : "2FFDAD52-C3ED-4CD6-2BCF-795CBBF7C8BB",
|
|
"kind" : "class",
|
|
"overview" : "GCStylus GCStylus.DidConnectMessage StructureGCStylus.DidConnectMessageA message that posts after a stylus accessory connects to the device.visionOS 26.0+struct DidConnectMessageOverviewUse the .didConnect identifier with NotificationCenter to listen for this message.\n\nlet observation = NotificationCenter.default.addObserver(of: GCStylus.self, for: .didCnnect) { message in\n let stylus = message.stylus\n}\nConnections of stylus accessories will be reflected in the styli array of the GCStylus class when the message posts.",
|
|
"rawMarkdown" : "---\nsource: https:\/\/developer.apple.com\/documentation\/gamecontroller\/gcstylus\/didconnectmessage\ncrawled: 2026-05-12T02:44:01Z\n---\n\n# GCStylus.DidConnectMessage | Apple Developer Documentation\n\n- [ Game Controller ](\/documentation\/gamecontroller)\n\n- [ GCStylus ](\/documentation\/gamecontroller\/gcstylus)\n\n- [ GCStylus.DidConnectMessage ](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage)\n\n- [ GCStylus ](\/documentation\/gamecontroller\/gcstylus)\n\n- GCStylus.DidConnectMessage \n\nStructure# GCStylus.DidConnectMessage\n\nA message that posts after a stylus accessory connects to the device.visionOS 26.0+\n\n```\nstruct DidConnectMessage\n```\n\n## [Overview](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage#overview)\n\nUse the `.didConnect` identifier with `NotificationCenter` to listen for this message.\n\n\n\n```\nlet observation = NotificationCenter.default.addObserver(of: GCStylus.self, for: .didCnnect) { message in\n let stylus = message.stylus\n}\n\n```\n\nConnections of stylus accessories will be reflected in the `styli` array of the `GCStylus` class when the message posts.\n\n## [Topics](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage#topics)\n\n### [Initializers](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage#Initializers)\n\n[`init(stylus: GCStylus)`](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage\/init(stylus:))### [Instance Properties](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage#Instance-Properties)\n\n[`var stylus: GCStylus`](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage\/stylus)The stylus object that connected to the device.## [Relationships](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage#relationships)\n\n### [Conforms To](\/documentation\/gamecontroller\/gcstylus\/didconnectmessage#conforms-to)\n\n- [`NotificationCenter.MainActorMessage`](\/documentation\/Foundation\/NotificationCenter\/MainActorMessage)\n\n- [`SendableMetatype`](\/documentation\/Swift\/SendableMetatype)",
|
|
"sections" : [
|
|
{
|
|
"content" : "",
|
|
"title" : "Overview"
|
|
},
|
|
{
|
|
"content" : "",
|
|
"title" : "Topics"
|
|
},
|
|
{
|
|
"content" : "",
|
|
"title" : "Relationships"
|
|
}
|
|
],
|
|
"source" : "appleWebKit",
|
|
"title" : "GCStylus.DidConnectMessage | Apple Developer Documentation",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/gamecontroller\/gcstylus\/didconnectmessage"
|
|
} |