A Promise is an object that represents the result of an asynchronous operation. Promises make easier working with asynchronous calls, and make for cleaner, and easier to understand code. The PromiseKit project allow us to add promises to our Swift projects.
A simple guide through examples to ObjectMapper: although using a mapper library is not strictly required, doing so will allow us to map JSON into objects in a quicker, and easier manner.
In this post we will see how to create reusable components using the Interface Builder: we will design our component (drag and drop of components , layout constraints, etc) as if we were working in a Storyboard, save the result as a .XIB file, and see how we can reuse our component in different Storyboards (or even in other .XIB files).
By default Alamofire treats any completed request as successful: as long as it can connect to server, and the server responds, it will consider that everything is OK. This means you will be getting a .Success even on this situations when the HTTP status code returned on those calls corresponds to some 4xx HTTP error code.
Simple REST request in Swift 3. A quick guide, through examples, to the most commonly used features of Alamofire.
In this post we will see how we can connect to a RESTFUL service that uses basic authentication in Swift 3.0 using Alamofire, or URLRequest
App Transport Security was intended to protect the user's privacy; Its most immediate affect, however, has been to greet iOS developers around the world with the following error message: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.