title: How to handle response in AWS API Gateway iOS
body: <p>I have generated <code>API Gateway SDK</code> for <code>ios</code> for my API. In <code>SDK</code> I have two types of file one which make request and other is to handle response-</p>
  
  <p>1) TESTGetAllDataClient</p>
  
  <p>2) TESTEmpty</p>
  
  <pre><code>let serviceClient = TESTGetAllDataClient.defaultClient()
  serviceClient.rootPost("2015").continueWithBlock{ (task:AWSTask!) -&gt; (AnyObject!) in
          if task.error != nil {
  
              print(task.error)
  
          } else {
  
  let resultDict :TESTEmpty = task.result as! TESTEmpty
  
          }
          return nil
      }
  </code></pre>
  
  <p>Here <code>TestEmpty</code> is the type of <code>response</code>. But in my <code>TestEmpty</code> class that i have got from <code>API Gateway SDK</code>,does not contain any method to extract dictionary form object. <code>TestEmpty</code> <code>implementation class</code> is below:</p>
  
  <pre><code>@implementation TESTEmpty
  
  + (NSDictionary *)JSONKeyPathsByPropertyKey {
      return @{
  
              };
  }
  
  @end
  </code></pre>
  
  <p>Do I need to write my own methods to handle the response or it will be provided by <code>SDK</code>? Please respond if you know anything about it. I am new to <code>AWS API Gateway</code>.</p>
  
  <p>Thanks</p>