1 line
7.5 KiB
JSON
1 line
7.5 KiB
JSON
|
{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/slothcreator\/slothview\/alert(item:content:)"]}],"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"View.alert(item:content:)"},{"type":"text","text":"."}],"deprecationSummary":[{"type":"paragraph","inlineContent":[{"text":"use `alert(title:isPresented:presenting::actions:) instead.","type":"text"}]}],"kind":"symbol","schemaVersion":{"minor":3,"major":0,"patch":0},"hierarchy":{"paths":[["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/SlothView","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/SlothView\/View-Implementations"]]},"sections":[],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"attribute","text":"nonisolated"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"alert","kind":"identifier"},{"text":"<","kind":"text"},{"text":"Item","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"item","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Binding","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI7BindingV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Item"},{"kind":"text","text":"?>, "},{"kind":"externalParam","text":"content"},{"text":": (","kind":"text"},{"text":"Item","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5AlertV","text":"Alert"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"View","preciseIdentifier":"s:7SwiftUI4ViewP"},{"kind":"text","text":" "},{"text":"where","kind":"keyword"},{"kind":"text","text":" "},{"text":"Item","kind":"typeIdentifier"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Identifiable","preciseIdentifier":"s:s12IdentifiableP"},{"kind":"text","text":"\n"}],"platforms":["visionOS"],"languages":["swift"]}],"kind":"declarations"}],"metadata":{"roleHeading":"Instance Method","platforms":[{"message":"use `alert(title:isPresented:presenting::actions:) instead.","introducedAt":"13.0","deprecated":false,"unavailable":false,"beta":false,"deprecatedAt":"100000.0","name":"iOS"},{"unavailable":false,"name":"macOS","deprecated":false,"beta":false,"message":"use `alert(title:isPresented:presenting::actions:) instead.","deprecatedAt":"100000.0","introducedAt":"10.15"},{"message":"use `alert(title:isPresented:presenting::actions:) instead.","deprecatedAt":"100000.0","deprecated":false,"beta":false,"introducedAt":"13.0","name":"tvOS","unavailable":false},{"message":"use `alert(title:isPresented:presenting::actions:) instead.","name":"visionOS","deprecatedAt":"100000.0","deprecated":false,"introducedAt":"1.0","beta":false,"unavailable":false},{"deprecated":false,"beta":false,"unavailable":false,"deprecatedAt":"100000.0","name":"watchOS","message":"use `alert(title:isPresented:presenting::actions:) instead.","introducedAt":"6.0"}],"symbolKind":"method","modules":[{"relatedModules":["SwiftUICore"],"name":"SlothCreator"}],"role":"symbol","externalID":"s:7SwiftUI4ViewPAAE5alert4item7contentQrAA7BindingVyqd__SgG_AA5AlertVqd__XEts12IdentifiableRd__lF::SYNTHESIZED::s:12SlothCreator0A4ViewV","title":"alert(item:content:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"alert"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Item"},{"kind":"text","text":">("},{"kind":"externalParam","text":"item"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Binding","preciseIdentifier":"s:7SwiftUI7BindingV"},{"text":"<","kind":"text"},{"kind":"typeIdentifier","text":"Item"},{"kind":"text","text":"?>, "},{"text":"content","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"Item","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseId
|