Developers Log

A blog about software developing and technology



SwiftGen code generator

SwiftGen is a code generator tool that allows us to generate Enums from images, storyboards, Localizable.strings, etc. To understand the real value that SwiftGen can bring to tour projects we need to revisit first how resources such as images, or storyboards are called, and what are the caveats associated to the usual way in which we use them.

Swift 3: Extensions, iOS today widget

Widgets are extension that show in the Notification's center, and whose purpose is to display a short amount of relevant information. When we add a Today extension to our projects we aim to allow the user to obtain information in a quick manner.

iOS 11: Swipe left/right in UITableViewCell

Let's have a look at iOS 11: concretely let's see how to add actions, left, and right swipe, to table rows.

Swift 3: Uploading Images from Image Gallery to a server

In this tutorial we will see how to upload an image from the photo gallery to a server using Swift 3.

Swift 3: Left swipe actions in UItableView

In this post we will see how we can use the SwipeCellKit library to improve the native swipe functionality in UITableView Cell by adding functionalities likes the ones available in the iOS email app: left and right swipe, plus icons, and animations

Swift 3: an introduction to Promises with PromiseKit

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.

Swift 3: quick guide to ObjectMapper

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.

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.

Blog at

Up ↑