1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-31 10:21:51 +02:00

swift | fix style guidelines

This commit is contained in:
Damian Rzeszot
2017-10-09 12:02:29 +02:00
parent d01e5242e1
commit 9a9e52b54b
7 changed files with 21 additions and 21 deletions

View File

@@ -463,10 +463,10 @@ var suitValue: Suit = .hearts
// Enums que não sejam inteiros obrigam a atribuições valor bruto (raw value) diretas
enum BookName: String {
case John = "John"
case Luke = "Luke"
case john = "John"
case luke = "Luke"
}
print("Name: \(BookName.John.rawValue)")
print("Name: \(BookName.john.rawValue)")
// Enum com valores associados
enum Furniture {