diff options
author | Assaf Gelber <assaf.gelber@gmail.com> | 2014-08-28 14:00:25 +0300 |
---|---|---|
committer | Assaf Gelber <assaf.gelber@gmail.com> | 2014-08-28 14:00:25 +0300 |
commit | c9400c2a7d5262651884fffecda83ace1bfc4d97 (patch) | |
tree | 6cd88ea0cca1e09f5318a00bf7bc60d144feca89 /swift.html.markdown | |
parent | 013112b9b338d5f05d33e6d1d85e39e7f061285d (diff) |
Change swift class name to Square
Diffstat (limited to 'swift.html.markdown')
-rw-r--r-- | swift.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swift.html.markdown b/swift.html.markdown index a0ea8519..6d98b067 100644 --- a/swift.html.markdown +++ b/swift.html.markdown @@ -157,7 +157,7 @@ print(numbers) // [3, 6, 18] // structured object, you should use a `struct` // A simple class `Square` extends `Shape` -class Rect: Shape { +class Square: Shape { var sideLength: Int = 1 // Custom getter and setter property |