In the third of our Thinking in SwiftUI challenges, we asked you to build a tab bar component with an animated selection indicator. Here's the interface we would expect: struct ContentView: View { var body: some View { return TabBar(items: [ (Image(systemName: "tray"), Text("Inbox")), (Image(systemName: "archivebox"), Text("Archive")), (Image(systemName: "doc.text"), Text("Drafts")) ]).padding().b
![SwiftUI Tab Bar](https://cdn-ak-scissors.b.st-hatena.com/image/square/8890583bc0d82e8f52ec970372e0f670421947b8/height=288;version=1;width=512/https%3A%2F%2Fwww.objc.io%2Fimages%2Fblog%2F2020-02-25-swiftui-tab-bar.png)