I'm trying to understand how and why to use protocol properties. Here I've tried to create a protocol where I have dummyGet property and dummySet property. When I conform this protocol in ViewController, I can set both of those properties while dummyGet only has a "getter". What am I missing?
protocol TestProtocol {
var dummyGet: String { get }
var dummySet: String { get set }
}
class ViewController: TestProtocol {
var dummySet: String = ""
var dummyGet: String = ""
}