Developers Log

A blog about software developing and technology



Swiff 3 : reusable components using .xib files and the Interface Builder

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).

When Alamofire returns .Success on error HTTP Status codes

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.

Swift 3 on Linux: software development

Is Swift viable in Linux? what kind of applications could I build? In order to provide some insights on those questions, I decided to start building a simple program: a REST client that would send data to an Azure based mobile service.

Swift 3: Simple REST with Alamofire

Simple REST request in Swift 3. A quick guide, through examples, to the most commonly used features of Alamofire.

Basic authentication in Swift 3.0

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

Dependency managing in Swift: Carthage & CocoaPods

Dependency managers for Swift: Carthage and CocoaPods are the most widespread options. Let's see how they can help us to add third party libraries/ frameworks to our project

http request blocked: meet App Transport Security

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.

Installing Swift in Debian Jessie

In this post we will see how to install Swift, the programing language created by Apple, on Linux, concretely in Debian's currently stable release(named Jessie).

Blog at

Up ↑