mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-30 10:00:26 +02:00
swift | fix style guidelines
This commit is contained in:
@@ -389,13 +389,13 @@ if mySquare === mySquare {
|
||||
// Podem conter métodos do mesmo jeito que classes.
|
||||
|
||||
enum Suit {
|
||||
case Spades, Hearts, Diamonds, Clubs
|
||||
case spades, hearts, diamonds, clubs
|
||||
func getIcon() -> String {
|
||||
switch self {
|
||||
case .Spades: return "♤"
|
||||
case .Hearts: return "♡"
|
||||
case .Diamonds: return "♢"
|
||||
case .Clubs: return "♧"
|
||||
case .spades: return "♤"
|
||||
case .hearts: return "♡"
|
||||
case .diamonds: return "♢"
|
||||
case .clubs: return "♧"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user