Calling private methods from extensions in separate files

This is inaccurate for private, which is a hybrid.

private in Swift actually means fileprotected. I.e. the same as protected, but invisible to other files.

And fileprivate would be better expressed as fileinternal.

1 Like