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.

Put predicate property in protocol #6406

Description

@1ec5

A predicate property is declared redundantly on four out of six MGLBaseStyleLayer classes that conform to MGLStyleLayer. The property should instead be defined on an MGLSourceFiltering protocol that these four classes conform to.

/cc @frederoni @incanus

Activity

  1. self-assigned this
    on Oct 5, 2016
  2. 1ec5 commented on Oct 5, 2016

    @1ec5
    ContributorAuthor

    In #6588, I ended up not putting the predicate property in a protocol, as proposed here. Instead, I had the classes that need this property inherit from a class that provides the property.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions