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

1 строка
8.0 KiB

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