Structures fields and properties in Swift
Forums:
struct ColorPoint {
//In Java there are no fields
var x, y: Int
//Property
var Color: Brush
}
- Log in to post comments
struct ColorPoint {
//In Java there are no fields
var x, y: Int
//Property
var Color: Brush
}