The Big Nerd Ranch Swift - Ch.25 Bronze Challenge
There is no description of challenge. Becaouse of license.
When I use a header “class someName…” in code block for some code, that means the following code is within the scope of the class named ‘someName’.
- overload the + operator
// class Point...
static func + (lhs:Point, rhs: Point) -> Point {
return Point(x: lhs.x + rhs.x,
y: lhs.y + rhs.y)
}
Leave a comment