Swift 3 introduced the new open keyword that I'm using in a framework.
Does an open
class in this framework require an open
initialiser to be used outside of said framework, or does the init function inherit the open
declaration on the class?
For example:
open class OpenClass {
var A: String
init() { // does this init() function need to be marked open?
A = String()
}
}
Side question: do the variables in the open class OpenClass
inherit the open nature of their class?