1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 20:10:49 +02:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Philippe
2014-08-31 17:58:38 +02:00

View File

@@ -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