title: Default gateway objective c code integration issue in swift class
body: <p>I have implemented the code available in the below link to get the WiFi gateway address.</p>
  
  <p><a href="https://stackoverflow.com/questions/4872196/how-to-get-the-wifi-gateway-address-on-the-iphone">How to get the WIFI gateway address on the iPhone?</a></p>
  
  <p>When I am trying to access the method (written in Objective C) which returns the gateway address, from the Swift class, it shows the following error.
  "Use of undeclared type 'DummyClass' "</p>
  
  <p>The swift code snippet where I am getting error is:</p>
  
  <pre><code>class ViewController: UIViewController,UIImagePickerControllerDelegate, UINavigationControllerDelegate {
  
  var instanceOfCustomObject: dummyClass = dummyClass()   //While initialising instanceOfCustomObject, the above said error comes.
  </code></pre>
  
  <p>PS: Bridging header for integration of Objective-C code with Swift code also has been added.</p>
  
  <p>Any help to resolve the above issue is highly appreciated.Thank You!! </p>