Let's say I have a code structure:
struct Point {
var x = 0.0
var y = 0.0
}
var p = Point(x: 5.0, y: 3.0)
println("\(p)")
I will get:
V6<AppName>8Point (has 2 children)
Is there a way to convert this into something custom? In Objective-C, I believe this was covered by the method description(), but this does not work here.
source
share