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

1 строка
6.7 KiB

  1. {"schemaVersion":{"patch":0,"major":0,"minor":3},"abstract":[{"text":"Inherited from ","type":"text"},{"type":"codeVoice","code":"View.onKeyPress(phases:action:)"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/View-Implementations"]]},"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/onKeyPress(phases:action:)","interfaceLanguage":"swift"},"sections":[],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/imagepicker\/onkeypress(phases:action:)"]}],"metadata":{"extendedModule":"SwiftUICore","roleHeading":"Instance Method","externalID":"s:7SwiftUI4ViewPAAE10onKeyPress6phases6actionQrAA0eF0V6PhasesV_AH6ResultOAHctF::SYNTHESIZED::s:7Fueling11ImagePickerV","symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"onKeyPress"},{"text":"(","kind":"text"},{"text":"phases","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"KeyPress","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"text":".","kind":"text"},{"text":"Phases","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"action"},{"text":": (","kind":"text"},{"text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress","kind":"typeIdentifier"},{"text":".","kind":"text"},{"text":"Result","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"kind":"text","text":" "},{"preciseIdentifier":"s:7SwiftUI4ViewP","kind":"typeIdentifier","text":"View"}],"modules":[{"name":"Fueling","relatedModules":["SwiftUICore"]}],"role":"symbol","title":"onKeyPress(phases:action:)","platforms":[{"unavailable":false,"introducedAt":"17.0","name":"iOS","deprecated":false,"beta":false},{"beta":false,"introducedAt":"17.0","name":"iPadOS","unavailable":false,"deprecated":false},{"beta":false,"unavailable":false,"introducedAt":"17.0","deprecated":false,"name":"Mac Catalyst"},{"deprecated":false,"introducedAt":"14.0","name":"macOS","unavailable":false,"beta":false},{"introducedAt":"17.0","name":"tvOS","beta":false,"unavailable":false,"deprecated":false}]},"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"attribute","text":"nonisolated"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"onKeyPress"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"phases"},{"kind":"text","text":": "},{"text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier"},{"kind":"text","text":"."},{"text":"Phases","preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV","kind":"typeIdentifier"},{"text":" = [.down, .repeat], ","kind":"text"},{"kind":"externalParam","text":"action"},{"kind":"text","text":": "},{"text":"@escaping","kind":"keyword"},{"text":" (","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier","text":"KeyPress"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Result","preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"},{"text":"\n","kind":"text"}],"languages":["swift"],"platforms":["iOS"]}],"kind":"declarations"}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/ImagePicker/onKeyPress(phases:action:)":{"type":"topic","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"onKeyPress","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"phases"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier","text":"KeyPress"},{"text":".","kind":"text"},{"preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV","text":"Phases","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"action","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress"},{"kind":"text","text":"."},{"preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO","text":"Result","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"kind":"symbol","title":"onKeyPress(phases:action:)","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/onKeyPress(phases:action:)","url":"\/documentation\/fueling\/imagepicker\/onkeypress(phases:action:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/ImagePicker/View-Implementations":{"url":"\/documentation\/fueling\/imagepicker\/view-implementations","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker\/View-Implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"title":"View Implementations"},"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/ImagePicker":{"title":"ImagePicker","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","abstract":[{"text":"A view for picking images using the system’s image picker.","type":"text"}],"url":"\/documentation\/fueling\/imagepicker","type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ImagePicker","kind":"identifier"}],"navigatorTitle":[{"text":"ImagePicker","kind":"identifier"}],"kind":"symbol","role":"symbol"}}}