Swiftui Guideline: Views — Use body computed property. Description: body returns the view hierarchy. Do: var body: some View { }. Don't: func body() -> some View. Good Example: var body: some View { Text("Hello") }. Bad Example: func body() -> Text. Severity: High. Docs: .