I think it'd be nice to have a macro in Swift that would specify access on protocol properties, changing:
protocol Person {
var name: String { get }
var dob: Date { get }
}
to:
protocol Person {
#getStart
var name: String
var dob: Date
#getEnd
}
Simliar to how NS_ASSUME_NONNULL_BEGIN and _END work.