Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

onlongpressgesture(minimumduration:maximumdistance:pressing:perform:).json 8.2 KiB

1
  1. {"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"nonisolated","kind":"attribute"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"onLongPressGesture","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"minimumDuration"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sd","kind":"typeIdentifier","text":"Double"},{"text":" = 0.5, ","kind":"text"},{"text":"maximumDistance","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CGFloat","kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV"},{"text":" = 10, ","kind":"text"},{"kind":"externalParam","text":"pressing"},{"text":": ((","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":")? = nil, ","kind":"text"},{"kind":"externalParam","text":"perform"},{"text":" ","kind":"text"},{"text":"action","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"@escaping","kind":"keyword"},{"text":" () -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":"\n","kind":"text"}],"platforms":["iOS"],"languages":["swift"]}]}],"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/View-Implementations"]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)"},"metadata":{"extendedModule":"SwiftUICore","role":"symbol","platforms":[{"deprecatedAt":"100000.0","introducedAt":"13.0","name":"iOS","unavailable":false,"renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","beta":false,"deprecated":false},{"beta":false,"introducedAt":"13.0","deprecated":false,"renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","unavailable":false,"deprecatedAt":"100000.0","name":"iPadOS"},{"name":"Mac Catalyst","deprecatedAt":"100000.0","beta":false,"unavailable":false,"renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","deprecated":false,"introducedAt":"13.0"},{"introducedAt":"10.15","unavailable":false,"beta":false,"deprecated":false,"deprecatedAt":"100000.0","name":"macOS","renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)"},{"name":"watchOS","unavailable":false,"renamed":"onLongPressGesture(minimumDuration:maximumDuration:perform:onPressingChanged:)","deprecatedAt":"100000.0","deprecated":false,"introducedAt":"6.0","beta":false}],"roleHeading":"Instance Method","modules":[{"relatedModules":["SwiftUICore"],"name":"Fueling"}],"title":"onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","externalID":"s:7SwiftUI4ViewPAAE18onLongPressGesture15minimumDuration15maximumDistance8pressing7performQrSd_14CoreFoundation7CGFloatVySbcSgyyctF::SYNTHESIZED::s:7Fueling0A7APIVIewV","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"onLongPressGesture"},{"text":"(","kind":"text"},{"text":"minimumDuration","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sd","kind":"typeIdentifier","text":"Double"},{"kind":"text","text":", "},{"text":"maximumDistance","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"pressing","kind":"externalParam"},{"text":": ((","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?, ","kind":"text"},{"text":"perform","kind":"externalParam"},{"kind":"text","text":": () -> "},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"symbolKind":"method"},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/fuelingapiview\/onlongpressgesture(minimumduration:maximumdistance:pressing:perform:)"]}],"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","type":"codeVoice"},{"type":"text","text":"."}],"sections":[],"references":{"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/FuelingAPIVIew/onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)":{"type":"topic","kind":"symbol","title":"onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:)","url":"\/documentation\/fueling\/fuelingapiview\/onlongpressgesture(minimumduration:maximumdistance:pressing:perform:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"onLongPressGesture","kind":"identifier"},{"text":"(","kind":"text"},{"text":"minimumDuration","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sd","text":"Double","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"maximumDistance"},{"text":": ","kind":"text"},{"text":"CGFloat","kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV"},{"text":", ","kind":"text"},{"text":"pressing","kind":"externalParam"},{"text":": ((","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?, ","kind":"text"},{"text":"perform","kind":"externalParam"},{"text":": () -> ","kind":"text"},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"}],"deprecated":true,"abstract":[],"role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","kind":"symbol","title":"FuelingAPIVIew","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"FuelingAPIVIew"}],"navigatorTitle":[{"kind":"identifier","text":"FuelingAPIVIew"}],"abstract":[{"type":"text","text":"A view that displays and manages fueling data, allowing the user to send data to the server."}],"url":"\/documentation\/fueling\/fuelingapiview","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew/View-Implementations":{"type":"topic","kind":"article","title":"View Implementations","role":"collectionGroup","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/View-Implementations","url":"\/documentation\/fueling\/fuelingapiview\/view-implementations","abstract":[]}}}