title: ObjectMapper JSON with alamofire in Swift
body: <p>I want to Handle work with JSON response in Swift lang, I use 3 pod in my project : <a href="https://github.com/Alamofire/Alamofire" rel="nofollow"><code>Alamofire</code></a> - <a href="https://github.com/Hearst-DD/ObjectMapper/" rel="nofollow"><code>ObjectMapper</code></a> - <a href="https://github.com/tristanhimmelman/AlamofireObjectMapper" rel="nofollow"><code>AlamofireObjectMapper</code></a></p>
  
  <p>And when http request send I want have JSON in my Object class. without trouble.
  and here is my code.</p>
  
  <p><strong>Contact.swift class:</strong></p>
  
  <pre><code>import Foundation
  import ObjectMapper
  
  class Name: Mappable {
      var title: String!
      var first: String!
      var last: String!
  
      required init?(_ map: Map) {
  
      }
  
      func mapping(map: Map) {
          title &lt;- map["title"]
          first &lt;- map["first"]
          last &lt;- map["last"]
      }
  }
  
  class ContactsResponse: Mappable {
      var gender: String!
      var nameFull: [Name]?
  
      required init?(_ map: Map) {
  
      }
  
      func mapping(map: Map) {
          gender &lt;- map["gender"]
          nameFull &lt;- map["name"]
      }
  }
  </code></pre>
  
  <p><strong>ViewController.swift :</strong></p>
  
  <pre><code>let baseURL = "http://api.randomuser.me/"
  
      override func viewDidLoad() {
          super.viewDidLoad()
          makeHTTPRequest()
      }
  
      func makeHTTPRequest() {
          Alamofire.request(.GET, baseURL).responseObject { (response: Response&lt;ContactsResponse, NSError&gt;) in
              let contactResponse = response.result.value
              print(contactResponse?.gender) // print Nil :(
          }
      }
  </code></pre>
  
  <p>But when i build project print <code>nil</code> instead of Male or female for gender!</p>
  
  <p>Whats wrong in my code?</p>