Skip to content

Success Alert

This component shows a success alert to the user.

PropertyValue
InteractivityNon-required

Screenshot

A screenshot of the success alert

API

Example

swift
Noora().success("The project has been successfully initialized")

// With next steps
Noora().success(.alert("The project has been successfully initialized", nextSteps: [
  "Run \(.command("tuist registry setup")) to speed up package resolution.",
  "Cache your project targets as binaries with \(.command("tuist cache")).",
]))

Options

AttributeDescriptionRequiredDefault value
messageThe success messageYes
nextA list of next steps that the person can takeNo[]

Released under the MIT License.