Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

1 rad
7.7 KiB

  1. {"kind":"symbol","metadata":{"platforms":[{"name":"iOS","unavailable":false,"beta":false,"deprecated":false,"introducedAt":"13.0"},{"beta":false,"introducedAt":"13.0","deprecated":false,"name":"iPadOS","unavailable":false},{"unavailable":false,"beta":false,"name":"Mac Catalyst","deprecated":false,"introducedAt":"13.0"},{"beta":false,"unavailable":false,"introducedAt":"10.15","deprecated":false,"name":"macOS"},{"introducedAt":"6.0","deprecated":false,"unavailable":false,"name":"watchOS","beta":false}],"roleHeading":"Instance Method","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"onLongPressGesture"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"minimumDuration"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"text":", ","kind":"text"},{"text":"maximumDistance","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CGFloat","preciseIdentifier":"s:14CoreFoundation7CGFloatV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"perform"},{"kind":"text","text":": () -> "},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"onPressingChanged","kind":"externalParam"},{"text":": ((","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"text":")?) -> ","kind":"text"},{"text":"some","kind":"keyword"},{"kind":"text","text":" "},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"extendedModule":"SwiftUICore","modules":[{"name":"Fueling","relatedModules":["SwiftUICore"]}],"role":"symbol","symbolKind":"method","externalID":"s:7SwiftUI4ViewPAAE18onLongPressGesture15minimumDuration15maximumDistance7perform0D15PressingChangedQrSd_14CoreFoundation7CGFloatVyycySbcSgtF::SYNTHESIZED::s:7Fueling14SaddleTankViewV","title":"onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"attribute","text":"nonisolated"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"onLongPressGesture"},{"kind":"text","text":"("},{"kind":"externalParam","text":"minimumDuration"},{"kind":"text","text":": "},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"text":" = 0.5, ","kind":"text"},{"text":"maximumDistance","kind":"externalParam"},{"kind":"text","text":": "},{"text":"CGFloat","preciseIdentifier":"s:14CoreFoundation7CGFloatV","kind":"typeIdentifier"},{"text":" = 10, ","kind":"text"},{"kind":"externalParam","text":"perform"},{"text":" ","kind":"text"},{"text":"action","kind":"internalParam"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"text":" () -> ","kind":"text"},{"text":"Void","preciseIdentifier":"s:s4Voida","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"onPressingChanged","kind":"externalParam"},{"kind":"text","text":": (("},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:s4Voida","text":"Void","kind":"typeIdentifier"},{"text":")? = nil) -> ","kind":"text"},{"kind":"keyword","text":"some"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP","text":"View"},{"text":"\n","kind":"text"}],"platforms":["iOS"]}],"kind":"declarations"}],"sections":[],"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)","type":"codeVoice"},{"text":".","type":"text"}],"schemaVersion":{"patch":0,"major":0,"minor":3},"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"]]},"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/saddletankview\/onlongpressgesture(minimumduration:maximumdistance:perform:onpressingchanged:)"]}],"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/onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)":{"title":"onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)","abstract":[],"url":"\/documentation\/fueling\/saddletankview\/onlongpressgesture(minimumduration:maximumdistance:perform:onpressingchanged:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"onLongPressGesture","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"minimumDuration"},{"text":": ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"maximumDistance"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"perform","kind":"externalParam"},{"text":": () -> ","kind":"text"},{"text":"Void","kind":"typeIdentifier","preciseIdentifier":"s:s4Voida"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"onPressingChanged"},{"text":": ((","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"Void","preciseIdentifier":"s:s4Voida"},{"text":")?) -> ","kind":"text"},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)","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"},"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"}}}