選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

1 行
4.5 KiB

  1. {"metadata":{"roleHeading":"Initializer","externalID":"s:7Fueling9PilotTankC4fromACs7Decoder_p_tKcfc","symbolKind":"init","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"modules":[{"name":"Fueling"}],"role":"symbol","title":"init(from:)"},"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PilotTank"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/pilottank\/init(from:)"]}],"sections":[],"primaryContentSections":[{"declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"required","kind":"keyword"},{"kind":"text","text":" "},{"text":"convenience","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"text":"decoder","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"text":") ","kind":"text"},{"kind":"keyword","text":"throws"}]}],"kind":"declarations"},{"parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The decoder to use for decoding the "},{"code":"PilotTank","type":"codeVoice"},{"text":" instance.","type":"text"}]}],"name":"decoder"}],"kind":"parameters"},{"kind":"content","content":[{"text":"Discussion","level":2,"type":"heading","anchor":"discussion"},{"type":"paragraph","inlineContent":[{"text":"This initializer is required by the ","type":"text"},{"type":"codeVoice","code":"Codable"},{"type":"text","text":" protocol and creates a new"},{"text":" ","type":"text"},{"type":"codeVoice","code":"PilotTank"},{"type":"text","text":" instance using the provided "},{"type":"codeVoice","code":"Decoder"},{"type":"text","text":" instance."}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":""},{"code":"ContextError.NoContextFound","type":"codeVoice"},{"type":"text","text":" if the managed object context is not found in the decoder’s userInfo."}]}],"name":"Throws","style":"note","type":"aside"}]}],"abstract":[{"type":"text","text":"Initializes a new "},{"code":"PilotTank","type":"codeVoice"},{"text":" instance from a decoder.","type":"text"}],"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PilotTank\/init(from:)","interfaceLanguage":"swift"},"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/PilotTank":{"url":"\/documentation\/fueling\/pilottank","title":"PilotTank","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PilotTank","role":"symbol","abstract":[{"text":"A class representing a pilot tank.","type":"text"}],"navigatorTitle":[{"text":"PilotTank","kind":"identifier"}],"fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"PilotTank"}],"type":"topic","kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/PilotTank/init(from:)":{"type":"topic","role":"symbol","url":"\/documentation\/fueling\/pilottank\/init(from:)","title":"init(from:)","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PilotTank\/init(from:)","fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"from","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP","text":"Decoder"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"}],"kind":"symbol","abstract":[{"type":"text","text":"Initializes a new "},{"code":"PilotTank","type":"codeVoice"},{"type":"text","text":" instance from a decoder."}]},"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"}}}