That's correct. You can define getter and setter for computed var. See here: https://docs.swift.org/swift-book/LanguageGuide/Properties.html
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: