Top "Alamofire" questions

Alamofire is an HTTP networking library written in Swift.

Upload files with parameters from multipartformdata using alamofire 5 in ios swift

I am trying upload files with parameters (multipartformdata) but i can't do it with new version Alamofire 5, if you have …

ios swift alamofire multipartform-data swift4.2
Module file was created by an older version of the compiler

Using Carthage to manage my dependencies, everything runs fine in the simulator. However, when building for a device I get …

ios xcode alamofire carthage
Alamofire auto refresh token and retry previous API call in iOS Swift 4

now I'm working on an iOS application in Swift 4. Here I'm using Alamofire to integrate the API calls. I need …

ios swift alamofire alamofire-request
Swift "retry" logic on request

So i'm a bit lost on how to implement a retry logic when my upload request fail. Here is my …

swift alamofire
Setting client-side timeout per request with Alamofire [swift]?

I'm trying to set a client-side timeout per request for Alamofire for Swift. The lead architect told me to set …

swift timeout client nsurlrequest alamofire
Create JSON Object from Class in Swift

I'm pretty new to iOS development and Swift (so please bear with me). I have a class object defined like …

swift alamofire swifty-json
How to Connect localhost (with invalid certificate) using Alamofire?

This my first project using swift. I am usin alamofire to connect the API. I have a local copy form …

swift certificate alamofire
Alamofire - NSURLCache is not working?

I set my cache as below var cacheSizeMemory = 20 * 1024 * 1024 var cacheSizeDisk = 100 * 1024 * 1024 var sharedCache = NSURLCache(memoryCapacity: cacheSizeMemory, diskCapacity: cacheSizeDisk, diskPath: "SOME_PATH") …

swift nsurlcache alamofire
Carthage update - Task failed with exit code 65

I have 2 versions of Xcode installed, 8.3.2 and 8.2.1. I'm working on a project that was written in Swift 2 and installed few …

ios swift alamofire carthage
Alamofire network calls not being run in background thread

It is my understanding that by default, Alamofire requests run in a background thread. When I tried running this code: …

ios swift multithreading alamofire