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.

Adopt string enumerations #6791

Closed
Closed

Description

@1ec5

We have various sets of string constants that could be better organized with NS_STRING_ENUM or NS_EXTENSIBLE_STRING_ENUM. Constants like MGLGeoJSONClusterOption would become instances of MGLGeoJSONSourceOption, which would allow Swift code to say MGLGeoJSONSource.Option.cluster. We’ll need to use conditionally compiled #defines to avoid breaking projects compiled using Xcode 7.x.

/cc @friedbunny @frederoni

Activity

  1. added
    iOS
    macOS
    on Oct 21, 2016
  2. self-assigned this
    on Oct 21, 2016
  3. added a commit that references this issue on Oct 22, 2016
    da1e63c
  4. added this to the ios-v3.4.0 milestone on Oct 31, 2016
  5. added 2 commits that reference this issue on Nov 2, 2016
    f09ce3a
    c2e37f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

iOSmacOSrefactor

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions