Think & Build

custom_control

How to build a custom control in iOS

A Swift version of this article is available here . Following the many requests on Reddit, here we go with the first article about custom controls. Thanks for suggesting it! Whether you design your super custom user interfaces yourself, or a designer does the job for you, UIKit standard controls won’t likely be enough for [...]

literals

Guided tour through Objective-C Literals

After years of hard work you finally feel confident with the verbose-long-tedious Objective-C syntax. Well done! But… something has changed and it’s time to study! Again. Fear not guys, I’m just joking, indeed what I’m going to show you today will improve your coding style. Say welcome to Literals, a new feature that I’m sure [...]

cg_ca_touch

Playing around with Core Graphics, Core Animation and Touch Events (Part 2)

Hi Guys! Welcome back to the last part of this tutorial. In the previous post I showed you how to draw an image using Core Graphics, in this post we’ll add some behavior to that image. Handling touch We can start by updating the circle position depending on the touch location. Here I’ll briefly show [...]

calendar_permissions

Calendar Events and Permissions in iOS 6

Prior to iOS 6, accessing the calendar didn’t require any permission. We just had to create an event store and then we were able to add events through it. With iOS6 the story is slightly different: to create a new event we ask the user for the permission to access his calendar. Thanks to the [...]