Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Add support for background gradient #276

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apassant
Copy link

This PR adds support to use a background gradient (using CAGradientLayer) to the empty state view.

README has been updated to instruct how to handle it, with the example of a simple B&W gradient.

@dzenbot
Copy link
Owner

dzenbot commented Jul 19, 2016

This is interesting, although it needs a way to remove the gradient if nil is passed.

@apassant
Copy link
Author

Good point, I'm happy to make the change and update the PR if you think that's worth merging with this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants