您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

1 行
6.3 KiB

  1. {"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"kind":"attribute","text":"nonisolated"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"preference"},{"kind":"text","text":"<"},{"text":"K","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"K","kind":"typeIdentifier"},{"text":".Type = K.self, ","kind":"text"},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"text":"K","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:7SwiftUI13PreferenceKeyP5ValueQa","text":"Value","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"kind":"text","text":" "},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":" ","kind":"text"},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"text":"K","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"preciseIdentifier":"s:7SwiftUI13PreferenceKeyP","text":"PreferenceKey","kind":"typeIdentifier"},{"kind":"text","text":"\n"}],"languages":["swift"]}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/preference(key:value:)"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/saddletankview\/preference(key:value:)"]}],"kind":"symbol","metadata":{"role":"symbol","extendedModule":"SwiftUICore","title":"preference(key:value:)","symbolKind":"method","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"preference"},{"kind":"text","text":"<"},{"text":"K","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"key","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"K"},{"text":".Type, ","kind":"text"},{"text":"value","kind":"externalParam"},{"kind":"text","text":": "},{"text":"K","kind":"typeIdentifier"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Value","preciseIdentifier":"s:7SwiftUI13PreferenceKeyP5ValueQa"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","preciseIdentifier":"s:7SwiftUI4ViewP","kind":"typeIdentifier"}],"modules":[{"name":"Fueling","relatedModules":["SwiftUICore"]}],"externalID":"s:7SwiftUI4ViewPAAE10preference3key5valueQrqd__m_5ValueQyd__tAA13PreferenceKeyRd__lF::SYNTHESIZED::s:7Fueling14SaddleTankViewV","platforms":[{"name":"iOS","unavailable":false,"deprecated":false,"introducedAt":"13.0","beta":false},{"deprecated":false,"introducedAt":"13.0","name":"iPadOS","unavailable":false,"beta":false},{"unavailable":false,"beta":false,"deprecated":false,"name":"Mac Catalyst","introducedAt":"13.0"},{"introducedAt":"10.15","name":"macOS","beta":false,"deprecated":false,"unavailable":false},{"unavailable":false,"introducedAt":"13.0","name":"tvOS","beta":false,"deprecated":false},{"unavailable":false,"beta":false,"name":"watchOS","deprecated":false,"introducedAt":"6.0"}],"roleHeading":"Instance Method"},"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"]]},"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.preference(key:value:)","type":"codeVoice"},{"type":"text","text":"."}],"schemaVersion":{"minor":3,"patch":0,"major":0},"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/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"},"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/preference(key:value:)":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"preference"},{"kind":"text","text":"<"},{"text":"K","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"key","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"K"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"text":"K","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:7SwiftUI13PreferenceKeyP5ValueQa","text":"Value","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"some","kind":"keyword"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP","text":"View"}],"type":"topic","abstract":[],"kind":"symbol","title":"preference(key:value:)","role":"symbol","url":"\/documentation\/fueling\/saddletankview\/preference(key:value:)","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView\/preference(key:value:)"}}}