In Swift Programming Language guide, it says:
“The default initializer has the same access level as the type it initializes.”
Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/us/jEUH0.l
and then it says:
“For a type that is defined as public, the default initializer is considered internal. If you want a public type to be initializable with a no-argument initializer when used in another module, you must provide a public no-argument initializer yourself as part of the type’s definition.”
Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/us/jEUH0.l
Isn't the second statement contradictory with the first?