Post

Replies

Boosts

Views

Created

Extra trailing closure passed in call for TabView
Hi! I am new to SwiftUI and have been tinkering around with it to try and learn it. I am stuck trying to make a TabView work for me, but it keeps throwing an "Extra Trailing Closure Passed In Call" error. I am unsure what this means, and the internet has not helped me so far. My code is posted down below, and I am using Xcode Version 14.1 (14B47b). I don't know if this is the right website to post this on. If someone could help me or point me in the right direction, that would be much appreciated!
1
0
3.0k
Dec ’22