You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 line
7.5 KiB

  1. {"deprecationSummary":[{"type":"paragraph","inlineContent":[{"text":"Provide `UTType`s as the `supportedContentTypes` instead.","type":"text"}]}],"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"kind":"attribute","text":"nonisolated"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"onDrop"},{"kind":"text","text":"("},{"kind":"externalParam","text":"of"},{"text":" ","kind":"text"},{"text":"supportedTypes","kind":"internalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"], ","kind":"text"},{"text":"isTargeted","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI7BindingV","kind":"typeIdentifier","text":"Binding"},{"text":"<","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"text":">?, ","kind":"text"},{"text":"perform","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"action","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" (["},{"text":"NSItemProvider","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSItemProvider"},{"text":"]) -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP","text":"View"},{"kind":"text","text":"\n"}]}],"kind":"declarations"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView\/View-Implementations"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.onDrop(of:isTargeted:perform:)","type":"codeVoice"},{"type":"text","text":"."}],"variants":[{"paths":["\/documentation\/fueling\/contentview\/ondrop(of:istargeted:perform:)-28823"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView\/onDrop(of:isTargeted:perform:)-28823","interfaceLanguage":"swift"},"sections":[],"metadata":{"title":"onDrop(of:isTargeted:perform:)","externalID":"s:7SwiftUI4ViewPAAE6onDrop2of10isTargeted7performQrSaySSG_AA7BindingVySbGSgSbSaySo14NSItemProviderCGctF::SYNTHESIZED::s:7Fueling11ContentViewV","symbolKind":"method","roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"onDrop","kind":"identifier"},{"text":"(","kind":"text"},{"text":"of","kind":"externalParam"},{"text":": [","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":"], ","kind":"text"},{"text":"isTargeted","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI7BindingV","text":"Binding"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"text":">?, ","kind":"text"},{"text":"perform","kind":"externalParam"},{"text":": ([","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSItemProvider","text":"NSItemProvider"},{"text":"]) -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP","text":"View"}],"modules":[{"relatedModules":["SwiftUICore"],"name":"Fueling"}],"extendedModule":"SwiftUICore","platforms":[{"deprecated":false,"beta":false,"deprecatedAt":"100000.0","introducedAt":"13.4","unavailable":false,"message":"Provide `UTType`s as the `supportedContentTypes` instead.","name":"iOS"},{"deprecated":false,"introducedAt":"13.4","message":"Provide `UTType`s as the `supportedContentTypes` instead.","name":"iPadOS","unavailable":false,"deprecatedAt":"100000.0","beta":false},{"message":"Provide `UTType`s as the `supportedContentTypes` instead.","deprecated":false,"deprecatedAt":"100000.0","introducedAt":"13.4","beta":false,"name":"Mac Catalyst","unavailable":false},{"unavailable":false,"deprecatedAt":"100000.0","introducedAt":"10.15","beta":false,"deprecated":false,"message":"Provide `UTType`s as the `supportedContentTypes` instead.","name":"macOS"},{"deprecated":false,"message":"Provide `UTType`s as the `supportedContentTypes` instead.","beta":false,"name":"visionOS","unavailable":false,"deprecatedAt":"100000.0","introducedAt":"1.0"}],"role":"symbol"},"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/ContentView":{"type":"topic","role":"symbol","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView","url":"\/documentation\/fueling\/contentview","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentView","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ContentView"}],"title":"ContentView","kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ContentView/View-Implementations":{"abstract":[],"role":"collectionGroup","kind":"article","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView\/View-Implementations","type":"topic","title":"View Implementations","url":"\/documentation\/fueling\/contentview\/view-implementations"},"doc://rpm.com.production.Scanner/documentation/Fueling/ContentView/onDrop(of:isTargeted:perform:)-28823":{"deprecated":true,"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView\/onDrop(of:isTargeted:perform:)-28823","url":"\/documentation\/fueling\/contentview\/ondrop(of:istargeted:perform:)-28823","title":"onDrop(of:isTargeted:perform:)","abstract":[],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"onDrop"},{"kind":"text","text":"("},{"text":"of","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"isTargeted"},{"kind":"text","text":": "},{"text":"Binding","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI7BindingV"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":">?, "},{"kind":"externalParam","text":"perform"},{"kind":"text","text":": (["},{"text":"NSItemProvider","preciseIdentifier":"c:objc(cs)NSItemProvider","kind":"typeIdentifier"},{"text":"]) -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") -> ","kind":"text"},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"View","preciseIdentifier":"s:7SwiftUI4ViewP"}],"kind":"symbol","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"}}}