Skip to content

vNakamura/SwiftUIColorsFromImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUIColorsFromImage

This is the source code for my tutorial video:

Steal Colors in SwiftUI
Check the video on YouTube


Today we are making an app that changes the UI colors automatically according to the images it loads. We'll first see how to use CoreImage to get the average color and build the theme from that. If you are ok with using an external dependency, I'll show a package that can make our app even more colorful!

Branches:

Palette:

Images API:

Other resources used on the video: