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 coercing array to color #11011

Closed

Description

@1ec5

The NSExpression-based property value implementation in #10726 lacks a way to represent the to-rgba operator for coercing an array into a color, although it does support color values in general.

Activity

  1. added
    GL JS parity
    iOS
    macOS
    on Jan 24, 2018
  2. added this to the milestone on Jan 24, 2018
  3. 1ec5 commented on Apr 4, 2018

    @1ec5
    ContributorAuthor

    #11389 added support for the rgba operator but not the to-rgba operator. A natural translation of to-rgba would be CAST(…, 'UIColor') on iOS and CAST(…, 'NSColor') on macOS.

  4. modified the milestones: , ios-v4.0.1 on Apr 18, 2018
  5. fabian-guerra commented on May 7, 2018

    @fabian-guerra
    Contributor

    Fixed in #11725

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

Metadata

Metadata

Assignees

Labels

GL JS parityiOSmacOS

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions