summaryrefslogtreecommitdiffhomepage
path: root/pt-br/swift-pt.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion Elensúlë <andre@oire.org>2017-10-09 23:03:33 +0300
committerGitHub <noreply@github.com>2017-10-09 23:03:33 +0300
commit33acac42aeb1a5b4f5a00fc5e68b8305861a5ca9 (patch)
tree42a1aa7c873816b45d5676b8ac91c18d2c34e828 /pt-br/swift-pt.html.markdown
parent6d2bd246ba44807605716be7efa2710a6da6b50e (diff)
parente8ee66c854b8833fcb0fd76b5e9ace6ae8379397 (diff)
Merge pull request #2899 from damian-rzeszot/swift-style-guidelines
[swift/many] Style guidelines
Diffstat (limited to 'pt-br/swift-pt.html.markdown')
-rw-r--r--pt-br/swift-pt.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/pt-br/swift-pt.html.markdown b/pt-br/swift-pt.html.markdown
index ebf74b6f..bf410352 100644
--- a/pt-br/swift-pt.html.markdown
+++ b/pt-br/swift-pt.html.markdown
@@ -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 "♧"
}
}
}