Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Class-specific paint properties in runtime styling API #5948

Closed

Description

@1ec5

Per #5727 (comment), paint attributes are exposed, unparameterized, at the top level of each style layer class. For non-default, style class–specific paint properties, we should add an additional pair of getters and setters for each attribute. For example, the circleBlur property should be accompanied by -circleBlurForStyleClass: and -setCircleBlur:forStyleClass:.

/cc @frederoni @jfirebaugh

Activity

  1. added
    iOS
    macOS
    on Aug 11, 2016
  2. added this to the ios-v3.4.0 milestone on Aug 11, 2016
  3. jfirebaugh commented on Aug 31, 2016

    @jfirebaugh
    Contributor

    What if we didn't expose class-specific paint properties in the SDK? Android doesn't, and I'm 95% sure that we'll be removing them from the style specification in a future revision.

  4. 1ec5 commented on Sep 1, 2016

    @1ec5
    ContributorAuthor

    Style classes have been in limbo for well over a year. The point of this ticket is that, if we intend to keep style classes around, then we should make them usable. If they're deprecated, though, I agree that we should focus our efforts elsewhere.

  5. jfirebaugh commented on Sep 20, 2016

    @jfirebaugh
    Contributor

    Let's focus our efforts elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    iOSmacOSruntime styling

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions