In Objective C we have both .h and .m files. These .h header file declarations define the public interface of the class and .m file declares some properties and methods used internally by the class, so any app that uses this library won’t have access to them.
But in swift all my code is visible to public. So how to create Frameworks in swift without allowing users to see my code?