public struct in framework init is inaccessible due to ‘internal’ protection level in compiler
Lesson learned: all public struct need a public init That’s not quite exact. The documentation states: Default Memberwise Initializers for Structure Types The default memberwise initializer for a structure type is considered private if any of the structure’s stored properties are private. Likewise, if any of the structure’s stored properties are file private, the initializer … Read more