Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Feature request: array values #70

Closed
daniel-hall opened this issue Aug 12, 2014 · 1 comment
Closed

Feature request: array values #70

daniel-hall opened this issue Aug 12, 2014 · 1 comment

Comments

@daniel-hall
Copy link

I'd like to request support for array values in styles. Specifically, this is to enable setting array of colors and locations on a CAGradientLayer within a custom view class. I imagine there might be other uses as well in other custom subclass scenarios.

This might look something like:

MyCustomView {
gradientLayer: @ {
colors: [red, rgb(160, 180, 220), green]
locations: [0.0, 0.2, 1.0]
}
}

@dnedrow
Copy link
Member

dnedrow commented Oct 14, 2017

Added to wiki wish list.

@dnedrow dnedrow closed this as completed Oct 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants