In today's video, we take an in-depth look at the beautifully crafted Floating Tab Bar component in SwiftUI following the MVVC (Model-View-View-Coordinator) pattern.
Platform: IOS17+
► Get Source Code:
► / swiftui-creating-111169553
► Website:
► https://swiftuicodes.net
► X Platform
► https://x.com/swiftuicodes
► Instagram
► / swiftuicodes
What You Will Learn
MVVC Architecture: Discover how to structure your SwiftUI projects with the Model-View-View-Coordinator pattern for better code organisation and maintainability.
Custom Animations: Learn how to create a floating effect that dynamically follows user interactions, making your tab bar not only functional but also visually appealing.
SwiftUI Shapes: Understand how to create custom shapes and paths in SwiftUI to achieve complex user interface designs, such as the curved wave effect in the tab bar.
State Management: Explore the use of @State and @Published properties to manage the dynamic behaviour of your views and provide a responsive and interactive user interface.
📂 Project Structure:
Model.swift: Defines TabType enum and Tab struct to represent different tabs and their properties.
ViewModel.swift: Manages the state of the tab bar, including the selected tab, wave position, and other UI-related properties.
WavedTabViewCoordinator.swift: Acts as a coordinator, establishing the connection between the ViewModel and Views and ensuring clear separation of concerns.
WavedTabView.swift: The main view component that creates the tab bar and applies the waved animation.
ContentView.swift: Integrates WavedTabView into the main content view of the application.
Don't forget to like, subscribe, and hit the notification bell to stay updated with more SwiftUI tutorials 🔔
#apple #swiftui #ios #xcode #animation #ui #ux #design #swiftuicodes #xcode #ui
SwiftUI App Intro UI | SwiftUI Walkthrough Page Animation | SwiftUI Shape Morphing Effect | SwiftUI Complex UI | SwiftUI Animation Challenge | SwiftUI Complex Animation's | Swift | SwiftUI Xcode 16 |
Watch video SwiftUI: Creating Stunning Interfaces with Waved TabView 🔥 online without registration, duration hours minute second in high quality. This video was added by user SwiftUI Codes 31 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 226 once and liked it 8 people.