Skip to content

Enum cases #174

@rayfix

Description

@rayfix

In Swift 3, enumerations and OptionSetType constants will import as lower camel case. The standard library will also use lowerCamelCase for all enum cases. The current RW guide instructs authors to use UpperCamelCase. I think we are going to need to change this rule to better integrate with Apple's standard.

I see three options:

  1. leave the rule as is (for now)
  2. leave the rule as is but note that it will be changing in Swift 3
  3. proactively change the rule to lower camel case in anticipation of swift 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions