1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-24 15:23:09 +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

@@ -536,10 +536,10 @@ var suitValue: Suit = .hearts
// String enums can have direct raw value assignments
// or their raw values will be derived from the Enum field
enum BookName: String {
case John
case Luke = "Luke"
case john
case luke = "Luke"
}
print("Name: \(BookName.John.rawValue)")
print("Name: \(BookName.john.rawValue)")
// Enum with associated Values
enum Furniture {