title: Invoke private method by reflection in Swift
body: <p>I need to invoke a private method and pass param to it. The standard way it is using reflection. There are a lot of technics and it's possible in Kotlin, Java, C#.
  However, what do I need to call in Swift to achieve the expected result? The sample code is below:</p>
  <pre><code>class Test {
      private func doSomething(value: String) {
      }
  }
  
  let testInstance = Test()
  // how to invoke private method and pass param
  testInstance.doSomething(&quot;Hello world!&quot;)
  </code></pre>