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.

Add NSExpression syntax for coalesce, match operators #11009

Closed

Description

@1ec5

The NSExpression-based property value implementation in #10726 lacks a way to represent the style specification’s coalesce and match operators. These operators are important as replacements for certain kinds of style functions. Both workarounds are especially problematic:

  • Nested conditionals (cumbersome)
  • Applying the valueForKeyPath: custom function to a stop dictionary (clunky)

Activity

  1. added
    GL JS parity
    iOS
    macOS
    on Jan 24, 2018
  2. added this to the milestone on Jan 24, 2018
  3. added
    release blocker
    on Feb 20, 2018
  4. 1ec5 commented on Mar 27, 2018

    @1ec5
    ContributorAuthor

    Implemented in #11464 for iOS SDK v4.0.0 and macOS SDK v0.7.0.

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

Metadata

Metadata

Assignees

Labels

GL JS parityiOSmacOSrelease blockerruntime styling

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions