Skip to content

vidaaudrey/010-Swift-Material-Design-Color-Play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

010 Swift Material Design Color Palette

Snapshot 1

Snapshot 2

Description: A simple material design color palette that shows the palette colors upon selection.

How to use:

  • Static way to use material colors: add MDColors.swift to the folder and use below code: view.backgroundColor = MDColors.red.A200
  • Dynamic way to use material colors: use MDColorsClass to process the colors, create color array or dictionary, and generate palette. For the details of how to generate colors and palette, ref MDGridViewController

Dodo:

  • Write a datasource class to allow multiple ViewControllers to share the same data
  • Fix bug with multiple selection in ColorCollectionView

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages