1 line
7.5 KiB
JSON
1 line
7.5 KiB
JSON
{"variants":[{"paths":["\/documentation\/slothcreator\/powerpicker\/alert(item:content:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"extendedModule":"SwiftUICore","symbolKind":"method","modules":[{"name":"SlothCreator","relatedModules":["SwiftUICore"]}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"alert","kind":"identifier"},{"text":"<","kind":"text"},{"kind":"genericParameter","text":"Item"},{"text":">(","kind":"text"},{"text":"item","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI7BindingV","text":"Binding"},{"text":"<","kind":"text"},{"text":"Item","kind":"typeIdentifier"},{"text":"?>, ","kind":"text"},{"kind":"externalParam","text":"content"},{"text":": (","kind":"text"},{"text":"Item","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Alert","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5AlertV"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"kind":"text","text":" "},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"}],"externalID":"s:7SwiftUI4ViewPAAE5alert4item7contentQrAA7BindingVyqd__SgG_AA5AlertVqd__XEts12IdentifiableRd__lF::SYNTHESIZED::s:12SlothCreator11PowerPickerV","title":"alert(item:content:)","role":"symbol","platforms":[{"deprecated":false,"introducedAt":"13.0","deprecatedAt":"100000.0","beta":false,"name":"iOS","message":"use `alert(title:isPresented:presenting::actions:) instead.","unavailable":false},{"deprecatedAt":"100000.0","message":"use `alert(title:isPresented:presenting::actions:) instead.","name":"macOS","introducedAt":"10.15","deprecated":false,"beta":false,"unavailable":false},{"unavailable":false,"beta":false,"name":"tvOS","message":"use `alert(title:isPresented:presenting::actions:) instead.","introducedAt":"13.0","deprecatedAt":"100000.0","deprecated":false},{"introducedAt":"1.0","deprecated":false,"deprecatedAt":"100000.0","beta":false,"unavailable":false,"name":"visionOS","message":"use `alert(title:isPresented:presenting::actions:) instead."},{"unavailable":false,"beta":false,"name":"watchOS","message":"use `alert(title:isPresented:presenting::actions:) instead.","introducedAt":"6.0","deprecatedAt":"100000.0","deprecated":false}],"roleHeading":"Instance Method"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/PowerPicker\/alert(item:content:)"},"schemaVersion":{"patch":0,"minor":3,"major":0},"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.alert(item:content:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"tokens":[{"kind":"attribute","text":"nonisolated"},{"kind":"text","text":" "},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"alert"},{"kind":"text","text":"<"},{"text":"Item","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"item","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Binding","preciseIdentifier":"s:7SwiftUI7BindingV","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"text":"Item","kind":"typeIdentifier"},{"kind":"text","text":"?>, "},{"text":"content","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"typeIdentifier","text":"Item"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5AlertV","text":"Alert"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Item"},{"text":" : ","kind":"text"},{"text":"Identifiable","kind":"typeIdentifier","preciseIdentifier":"s:s12IdentifiableP"},{"text":"\n","kind":"text"}],"platforms":["visionOS"]}],"kind":"declarations"}],"deprecationSummary":[{"inlineContent":[{"text":"use `alert(title:isPresented:presenting::actions:) instead.","type":"text"}],"type":"paragraph"}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/PowerPicker","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/PowerPicker\/View-Implementations"]]},"sections":[],"references":{"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/PowerPicker":{"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"PowerPicker","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"A view to configure a sloth’s power."}],"navigatorTitle":[{"text":"PowerPicker","kind":"identifier"}],"kind":"symbol","role":"symbol","title":"PowerPicker","url":"\/documentation\/slothcreator\/powerpicker","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/PowerPicker"},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/PowerPicker/alert(item:content:)":{"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/PowerPicker\/alert(item:content:)","type":"topic","title":"alert(item:content:)","role":"symbol","deprecated":true,"url":"\/documentation\/slothcreator\/powerpicker\/alert(item:content:)","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"alert","kind":"identifier"},{"text":"<","kind":"text"},{"text":"Item","kind":"genericParameter"},{"kind":"text","text":">("},{"text":"item","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftUI7BindingV","kind":"typeIdentifier","text":"Binding"},{"text":"<","kind":"text"},{"text":"Item","kind":"typeIdentifier"},{"text":"?>, ","kind":"text"},{"kind":"externalParam","text":"content"},{"text":": (","kind":"text"},{"kind":"typeIdentifier","text":"Item"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5AlertV","text":"Alert"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"View","preciseIdentifier":"s:7SwiftUI4ViewP"}],"kind":"symbol"},"slothCreator-icon.png":{"variants":[{"url":"\/images\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/slothCreator-icon@2x.png","traits":["2x","light"]}],"type":"image","identifier":"slothCreator-icon.png","alt":"A technology icon representing the SlothCreator framework."},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/PowerPicker/View-Implementations":{"url":"\/documentation\/slothcreator\/powerpicker\/view-implementations","kind":"article","role":"collectionGroup","abstract":[],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/PowerPicker\/View-Implementations","type":"topic","title":"View Implementations"},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator":{"url":"\/documentation\/slothcreator","type":"topic","abstract":[{"text":"Catalog sloths you find in nature and create new adorable virtual sloths.","type":"text"}],"images":[{"identifier":"slothCreator-icon.png","type":"icon"}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator","title":"SlothCreator","role":"collection","kind":"symbol"}}} |