A simple material design color palette that shows the palette colors upon selection.  Source Code

snapshot

 

snapshot

 

gridview

 

Takeaways:

  • Understand CollectionView and TableView, and how to use both in a single parent ViewController
  • Programmatically deselect CollectionViewCells and animate accordingly (Only need two basic colors to generate the corresponding palette)
  • How to parse XML file of material design colors to the target format. Ref ColorXMLParser.swift