Pager is the simplest and best way to implement sliding view controllers in Swift.
Pager

Related Posts
AnimatedTabBar
AnimatedTabBar is a tabbar with number of preset animations written in pure SwiftUI.
AnimatedBottomBar
A customizable and easy to use bottom bar view with sleek animations