Top "Alamofire" questions

Alamofire is an HTTP networking library written in Swift.

Error handling in Alamofire

I have the HTTP code in an AngularJS controller: $http.post('/api/users/authenticate', {email: $scope.email, password: $scope.…

ios angularjs swift alamofire
How to check internet connection in alamofire?

I am using below code for making HTTP request in server.Now I want to know whether it is connected …

ios swift alamofire reachability
How to return value from Alamofire

I am making url calls thru an API that I created using swift as follows: class API { let apiEndPoint = "endpoint" …

ios swift alamofire
How to create the model class for the following JSON data and parse it?

My JSON data { "addon_items" : [ { "aname" : "", "id" : "2588", "name" : "Plain Nan", "order" : "1", "aid" : "259", "Sub_Add_Items" : "", "icon" : "", "status" : "1", "next" : "0", "price" : "0.60" }, { "aname" : "", "…

json swift alamofire swifty-json
How to use NetworkReachabilityManager in Alamofire

I want functionality similar to AFNetworking in Objective-C with Alamofire NetworkReachabilityManager in Swift: //Reachability detection [[AFNetworkReachabilityManager sharedManager] startMonitoring]; [[AFNetworkReachabilityManager sharedManager] …

ios swift alamofire reachability network-connection
Alamofire returns .Success on error HTTP status codes

I have a pretty simple scenario that I'm struggling with. I'm using Alamofire to register a user on a rest …

ios swift alamofire
How to use Alamofire with custom headers for POST request

I implemented a POST request with Alamofire with a custom header, because we work with OAuth2 and we have to …

swift post header afnetworking alamofire
Module 'Alamofire' has no member named 'request'

I'm new to iOS Development, I installed Alamofire as said in README, but I have this error as other users …

ios alamofire
How to upload image with parameters using Alamofire in Swift

I am developing an iPhone application with swift. and I'am using Alamofire framework for handling http requests. I use Alamofire.…

xcode swift upload alamofire
Failed to load Info.plist from bundle

Cannot run app. Failed to load Info.plist from bundle error occurs. When I CMD+K clean the project, it …

ios xcode swift3 ios-simulator alamofire