You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this project, all the classes which are written in swift and are used by objective c files have been declared as public/open. Even their functions and variables which are used by objective c files have been declared public/open. Is it necessary to declare the classes/their functions public in order to be accessed by objective c classes? Because in apple documentation I could not find any such rule.
Eg: ServerCapabilitiesViewController class has been declared public and it also has a public init method. Could it also had been declared without any explicit access level?
The text was updated successfully, but these errors were encountered:
In this project, all the classes which are written in swift and are used by objective c files have been declared as public/open. Even their functions and variables which are used by objective c files have been declared public/open. Is it necessary to declare the classes/their functions public in order to be accessed by objective c classes? Because in apple documentation I could not find any such rule.
Eg: ServerCapabilitiesViewController class has been declared public and it also has a public init method. Could it also had been declared without any explicit access level?
The text was updated successfully, but these errors were encountered: