
How to access private members of a class in Swift
This article will show you how to access a class's private members, such as
variables and methods in Swift.
In the normal case, you cannot access private members outside the scope of a
class directly, but let's see what are the alternative ways to access members
within and outside the