SwiftUI Colors & Gradients Tutorial: Custom Colors & Full Dark Mode Support
Автор: NDC
Загружено: 2025-08-14
Просмотров: 120
Описание:
SwiftUI’s Colors, Shapes, and Gradients are the foundation of beautiful, modern iOS app design. In this tutorial, I’ll walk you through:
What You’ll Learn:
✅ How to use system colors, shapes, and gradients in SwiftUI
✅ How to combine shapes, fills, strokes, and shadows for polished designs
✅ The right way to add custom colors using the Asset Catalog
✅ How to make your app automatically support Dark Mode without extra code
By the end, you’ll be able to create visually stunning UI elements that work seamlessly in both Light & Dark Mode.
🖼 Try It Yourself!
Clone or download the full demo project here:
📁 GitHub Repo: https://github.com/NDCSwift/Colors_Sh...
🔥 Download My Project Files & More! 🔥
👉 Get the source code for this project & other Swift resources here:
🔗 https://ndcswift.github.io/Swift-Proj...
⏱️Timestamps
00:00 - Intro & app example
00:34- Adding Basic Colors
01:52 - Creating Shapes
02:40 - Customizing Shapes
05:25 - Gradients
07:08 - Gradient Background
08:35 - Adding a Shadow
10:00 - Custom Colors (And Darkmode support)
12:04 - Using Custom Colors
13:07 - Opacity
14:02 - Bonus Tips & Tricks
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: