title: Is it possible to import alamofire in other libraries?
body: <p>I am installing below pods</p>
  
  <p><code>pod 'Alamofire'</code>,
  <code>pod 'SwiftyJSON'</code>,
  <code>pod 'iOSPhotoEditor'</code></p>
  
  <p>and its installed successfully but now issue is that in iOSPhotoEditor there is one swift file named <code>PhotoEditor+Controls.swift</code> in this file I am trying to <code>import Alamofire</code> but i am not able to import <code>Almofire</code> and <code>SwiftyJSON</code> </p>
  
  <p>then its can't imported then I am trying second method for API Calling with <code>JSONSerialization</code> but i am not getting response success I do debug and but I can't getting response let me show you my code which I have tried using <code>JSONSerialization</code> below is my code </p>
  
  <pre><code>let todosEndpoint: String = "URL"
          guard let todosURL = URL(string: todosEndpoint) else {
              print("Error: cannot create URL")
              return
          }
          var todosUrlRequest = URLRequest(url: todosURL)
          todosUrlRequest.httpMethod = "POST"
          let newTodo: [String: Any] = ["user_id": u_ID!, "access_token": A_Token!, "image_file": imgString1]
          let jsonTodo: Data
          do {
              jsonTodo = try JSONSerialization.data(withJSONObject: newTodo, options: [])
              todosUrlRequest.httpBody = jsonTodo
              print(jsonTodo)
          } catch {
              print("Error: cannot create JSON from todo")
              return
          }
  </code></pre>
  
  <p>How to import Alamofire in iOSPhotoEditor file so I can easily achieve my requirement with <code>Alamofire</code></p>