[swift-evolution] Swift case conventions for Enums

Joe Groff jgroff at apple.com
Tue Dec 22 10:42:18 CST 2015


> On Dec 22, 2015, at 8:19 AM, Michel Fortin <michel.fortin at michelf.ca> wrote:
> 
> Le 22 déc. 2015 à 10:27, Joe Groff via swift-evolution <swift-evolution at swift.org> a écrit :
>> 
>> For non-enum constants, we use lowerCamelCase, for example Int.max, or UIColor.redColor.
> 
> What about option sets?

Option sets reuse the C importer logic shared with other C enum types, which we would change if we changed the enum naming convention.

-Joe


More information about the swift-evolution mailing list