title: Is there an option in Xcode to automatically override all parent methods?
body: <p>I have <a href="https://stackoverflow.com/questions/58660026">a strange problem with a <code>UILabel</code> subclass</a> when an instance is loaded from a XIB file.</p>
  
  <p>To trace the origin of the problem within the loading / init process I would like to override all <code>UILabel</code> (available/ "pubic") methods in my subclass to add some logging.</p>
  
  <p><strong>Is there an option in Xcode to do this automatically?</strong> </p>
  
  <p>It seems that there a more than hundret potential methods and implementing them all manually would be quite cumbersome. </p>
  
  <p>So I am looking for an easy way to auto generate the methods like this</p>
  
  <pre><code>override func addSubview(_ view: UIView) {
      super.addSubView(view)
      &lt;#code#&gt;
  }
  
  override func accessibilityIncrement() {
      super.accessibilityIncrement()
      &lt;#code#&gt;
  }
  
  override func accessibilityActivate() -&gt; Bool {
      &lt;#code#&gt;
      return super.accessibilityActivate()
  }
  
  override func accessibilityElementCount() -&gt; Int {
      &lt;#code#&gt;
      return super.accessibilityElementCount() -&gt; Int
  }
  
  ...
  </code></pre>
  
  <p><em>I am aware that most of the methods have absolutely nothing to do with the instance init/setup but to be sure to miss nothing I would like to add logging to all available methods.</em></p>