Type Method 型メソッド

main()

Initializes and runs the app. アプリを初期化して実行します。

Declaration 宣言

static func main()

Discussion 議論

If you precede your App conformer’s declaration with the @main attribute, the system calls the conformer’s main() method to launch the app. SwiftUI provides a default implementation of the method that manages the launch process in a platform-appropriate way.

See Also 参照

Running an App アプリを実行する