1 min readSep 16, 2018
Open
and public
come to play when dealing with multiple modules. For example, if you need to subclass UILabel
, then the class UILabel should be declared as open
inside the UIKit module. I think you created 3 classes in playground .