Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 строка
6.3 KiB

  1. {"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/saddletankview\/ondrop(of:delegate:)-7rbyq"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"metadata":{"modules":[{"name":"Fueling","relatedModules":["SwiftUICore"]}],"symbolKind":"method","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"onDrop","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"of"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"], "},{"text":"delegate","kind":"externalParam"},{"text":": any ","kind":"text"},{"kind":"typeIdentifier","text":"DropDelegate","preciseIdentifier":"s:7SwiftUI12DropDelegateP"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"kind":"text","text":" "},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"}],"title":"onDrop(of:delegate:)","platforms":[{"deprecatedAt":"100000.0","name":"iOS","message":"Provide `UTType`s as the `supportedContentTypes` instead.","beta":false,"unavailable":false,"deprecated":false,"introducedAt":"13.4"},{"beta":false,"name":"iPadOS","deprecatedAt":"100000.0","introducedAt":"13.4","unavailable":false,"deprecated":false,"message":"Provide `UTType`s as the `supportedContentTypes` instead."},{"unavailable":false,"deprecatedAt":"100000.0","introducedAt":"13.4","beta":false,"deprecated":false,"name":"Mac Catalyst","message":"Provide `UTType`s as the `supportedContentTypes` instead."},{"unavailable":false,"introducedAt":"10.15","beta":false,"message":"Provide `UTType`s as the `supportedContentTypes` instead.","deprecated":false,"deprecatedAt":"100000.0","name":"macOS"},{"introducedAt":"1.0","beta":false,"deprecated":false,"name":"visionOS","unavailable":false,"deprecatedAt":"100000.0","message":"Provide `UTType`s as the `supportedContentTypes` instead."}],"role":"symbol","extendedModule":"SwiftUICore","externalID":"s:7SwiftUI4ViewPAAE6onDrop2of8delegateQrSaySSG_AA0E8Delegate_ptF::SYNTHESIZED::s:7Fueling14SaddleTankViewV"},"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/onDrop(of:delegate:)-7rbyq","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/View-Implementations"]]},"kind":"symbol","primaryContentSections":[{"declarations":[{"tokens":[{"text":"nonisolated","kind":"attribute"},{"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"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"delegate"},{"text":": any ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI12DropDelegateP","text":"DropDelegate"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"View","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":"\n","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"View.onDrop(of:delegate:)"},{"text":".","type":"text"}],"deprecationSummary":[{"type":"paragraph","inlineContent":[{"text":"Provide `UTType`s as the `supportedContentTypes` instead.","type":"text"}]}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/SaddleTankView/View-Implementations":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/View-Implementations","type":"topic","kind":"article","abstract":[],"title":"View Implementations","url":"\/documentation\/fueling\/saddletankview\/view-implementations","role":"collectionGroup"},"doc://rpm.com.production.Scanner/documentation/Fueling/SaddleTankView/onDrop(of:delegate:)-7rbyq":{"role":"symbol","title":"onDrop(of:delegate:)","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/onDrop(of:delegate:)-7rbyq","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"onDrop","kind":"identifier"},{"text":"(","kind":"text"},{"text":"of","kind":"externalParam"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":"], ","kind":"text"},{"kind":"externalParam","text":"delegate"},{"kind":"text","text":": any "},{"preciseIdentifier":"s:7SwiftUI12DropDelegateP","text":"DropDelegate","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","preciseIdentifier":"s:7SwiftUI4ViewP","kind":"typeIdentifier"}],"type":"topic","kind":"symbol","abstract":[],"url":"\/documentation\/fueling\/saddletankview\/ondrop(of:delegate:)-7rbyq","deprecated":true},"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"},"doc://rpm.com.production.Scanner/documentation/Fueling/SaddleTankView":{"kind":"symbol","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SaddleTankView"}],"navigatorTitle":[{"kind":"identifier","text":"SaddleTankView"}],"abstract":[{"type":"text","text":"A view that displays information about the saddle tank, including its type, fuel level, and capacity."}],"url":"\/documentation\/fueling\/saddletankview","title":"SaddleTankView","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView"}}}