Daily iOS
SwiftGojek

private vs fileprivate

In one file you have class A { fileprivate func secret() {} } and class B. Can B call A().secret(), and what changes if you switch it to private?

Submit