Think & Build

Logo@2x

Implementing the Periscope App Pull-to-refresh control

In this tutorial I’m going to implement the “Pull To Refresh” control created for the iPhone app Periscope. It’s something new that caught my attention, so I thought I’d “disassemble” their layout trying to create something similar. Even if I’m not sure if they are using a standard NavigationBar, I’d like to implement this behaviour [...]

sketch

Writing a Sketch Plugin to easily generate iOS Assets

Before we begin with the code, I wanted to point out that in just a couple of months I have completely replaced Photoshop with Bohemian Coding’s Sketch. This software has clearly been developed with user interface workflows in mind and it’s exactly what I need to design my UIs. Furthermore, we can easily create plugins [...]

twitter_2

Implementing the Twitter iOS App UI

After using Twitter’s iOS App for a while, I started looking at it with the developer’s eye and noticed that some of the subtle movements and component interactions are extremely interesting. This sparked my curiosity: how did you guys at Twitter do it? More specifically, let’s talk about the profile view: isn’t it elegant? It [...]

icona_lory

How to build a custom (and “designable”) control in Swift

Around two years ago I wrote a tutorial to show how to build custom controls in iOS. That tutorial was really appreciated by the dev community, so I’ve decided to update it to Swift and to add the designable/inspectable properties support to design the control directly through Interface Builder. Before letting you dive into the [...]

img_notification

Interactive Notifications with Notification Actions

iOS 8 comes with a long list of interesting improvements and in this article I want to show you one of those: Notification Actions. With this new feature users can directly interact with push or local notifications without opening the application. A simple example? A todo app presents a reminder of a task to the [...]