I just want to know witch one of these two options is preferable and why:
HStack(spacing: 0, content: {
...
})
HStack(spacing: 0) {
...
}
I just want to know witch one of these two options is preferable and why:
HStack(spacing: 0, content: {
...
})
HStack(spacing: 0) {
...
}
I prefer the shorter version, also because the opening and closing round brackets are closer together.
In essence, it doesn't matter. But for the whole app, only one variant should be agreed upon.