I noticed that the compiler won\'t let me override a stored property with another stored value (which seems odd):
class Jedi { var lightSaberColor = \"Bl
You also can use a function to override. It's not direct answer, but can enrich this topic)
Class A
override func viewDidLoad() { super.viewDidLoad() if shouldDoSmth() { // do } } public func shouldDoSmth() -> Bool { return true }
Class B: A
public func shouldDoSmth() -> Bool { return false }