1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-03 11:43:12 +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 de tipo no-entero requiere asignaciones de valores crudas directas
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 con valores asociados
enum Furniture {