In Swift, it seems that global constants should be camelCase.
For example:
let maximumNumberOfLoginAttempts = 10
Is it correct?
I use all caps, for example, MAXIMUM_NUMBER_OF_LOGIN_ATTEMPTS , from C, but I want to agree to Swift conventions.
naming-conventions constants swift global
ma11hew28 Jun 16 2018-12-14T00: 00Z
source share