Skip to content

A collection of SwiftUI examples covering layouts, navigation, state management, views, modifiers and data flow built to strengthen foundational iOS development skills.

Notifications You must be signed in to change notification settings

DJamesSmith/swiftui-fundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SwiftUI Fundamentals

This project is inspired by Sean Allen’s SwiftUI Fundamentals series on YouTube.
It focuses on understanding the core concepts of SwiftUI, building custom views, and writing modular, reusable components.

πŸ“š Overview

Screenshot 2025-10-17 at 7 21 50 PM

The project covers:

  • Building and structuring views using SwiftUI.
  • Creating custom reusable components for clean code.
  • Understanding state management and bindings.
  • Applying MVVM architecture in small-scale SwiftUI projects.

Each section of the code is designed to help you grasp how SwiftUI layouts work and how to break them into smaller, composable units for better scalability and readability.

🧠 What I Learned

  • How to design flexible UI components that can be reused across views.
  • How modifiers work under the hood in SwiftUI.
  • How to structure SwiftUI projects in a modular way.
  • The importance of writing declarative UI code that adapts to different states.

🧩 Key Concepts Used

  • @State and @Binding
  • ViewBuilder
  • ForEach
  • VStack, HStack, ZStack
  • Reusable custom views

πŸ§‘β€πŸ’» How to Use

  1. Clone the repository:

    git clone https://github.com/DJamesSmith/swiftui-fundamentals.git
  2. Open the project in Xcode 15+.

  3. Build and run on the simulator or a connected device.

πŸ™Œ Credits

Huge thanks to Sean Allen for his insightful and practical SwiftUI tutorials.
Check out his channel here: Sean Allen on Youtube

πŸ’¬ Notes

This project was recreated for learning purposes β€” to understand SwiftUI fundamentals by coding along and adding small customizations.

Keep building. Keep testing. Keep learning!

See you on the next one ✌

About

A collection of SwiftUI examples covering layouts, navigation, state management, views, modifiers and data flow built to strengthen foundational iOS development skills.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages