1 line
6.4 KiB
JSON
Raw Normal View History

{"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["visionOS"],"tokens":[{"kind":"attribute","text":"nonisolated"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"onDrop","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"of"},{"text":" ","kind":"text"},{"text":"supportedTypes","kind":"internalParam"},{"text":": [","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":"], "},{"kind":"externalParam","text":"delegate"},{"text":": any ","kind":"text"},{"text":"DropDelegate","preciseIdentifier":"s:7SwiftUI12DropDelegateP","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":"\n","kind":"text"}]}],"kind":"declarations"}],"deprecationSummary":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Provide `UTType`s as the `supportedContentTypes` instead."}]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/HabitatView","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/HabitatView\/View-Implementations"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"externalID":"s:7SwiftUI4ViewPAAE6onDrop2of8delegateQrSaySSG_AA0E8Delegate_ptF::SYNTHESIZED::s:12SlothCreator11HabitatViewV","modules":[{"relatedModules":["SwiftUICore"],"name":"SlothCreator"}],"extendedModule":"SwiftUICore","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"onDrop"},{"text":"(","kind":"text"},{"text":"of","kind":"externalParam"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"delegate"},{"text":": any ","kind":"text"},{"text":"DropDelegate","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI12DropDelegateP"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"text":"View","preciseIdentifier":"s:7SwiftUI4ViewP","kind":"typeIdentifier"}],"platforms":[{"deprecated":false,"deprecatedAt":"100000.0","message":"Provide `UTType`s as the `supportedContentTypes` instead.","beta":false,"name":"iOS","introducedAt":"13.4","unavailable":false},{"introducedAt":"10.15","beta":false,"deprecated":false,"deprecatedAt":"100000.0","name":"macOS","unavailable":false,"message":"Provide `UTType`s as the `supportedContentTypes` instead."},{"unavailable":false,"name":"visionOS","message":"Provide `UTType`s as the `supportedContentTypes` instead.","deprecated":false,"deprecatedAt":"100000.0","introducedAt":"1.0","beta":false}],"role":"symbol","roleHeading":"Instance Method","title":"onDrop(of:delegate:)"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.onDrop(of:delegate:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/slothcreator\/habitatview\/ondrop(of:delegate:)-4nmo2"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/HabitatView\/onDrop(of:delegate:)-4nmo2","interfaceLanguage":"swift"},"references":{"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/HabitatView/View-Implementations":{"kind":"article","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/HabitatView\/View-Implementations","role":"collectionGroup","title":"View Implementations","url":"\/documentation\/slothcreator\/habitatview\/view-implementations","type":"topic","abstract":[]},"slothCreator-icon.png":{"alt":"A technology icon representing the SlothCreator