The following constructs should be named using the UpperCamelCase format:
class SomeClass {
// class definition goes here
}
enum SomeEnumeration {
// enumeration definition goes here
}
enum CompassPoint {
case North
case South
case East
case West
}
struct SomeStructure {
// structure definition goes here
}
protocol SomeProtocol {
// protocol definition goes here
}