Skip to content

A UIColor extension for effortlessly interpolating between two colors and playground exploring practical use cases.

Notifications You must be signed in to change notification settings

kyleweiner/UIColor-Interpolation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

UIColor Interpolation

A simple UIColor extension for effortlessly interpolating between two colors.

See Sources/UIColor+Interpolation.swift for details.

Playground

The playground includes the follwing examples for exploring practical applications of the extension. Note that Xcode 7.3 or later is required for interactivity.

Basic Usage

An example for visualizing the progress points between any two colors.

Scroll View

A paged UIScrollView where each page corresponds to a different color. Swipe horizontally to interpolate the view's background color to the current progress point.

Collection View

A UICollectionView where the background color for each cell represents an interpolated progress point between two colors.

About

A UIColor extension for effortlessly interpolating between two colors and playground exploring practical use cases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages