Think & Build

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 [...]

handle_reopen

Opening the Main Window from the Dockbar Menu Icon

In this simple tip I will show you how to open the main window of your application using the Dockbar icon. Your users probably expect the main window of your application to become visible through a click over its Dockbar icon, but, unless you’ve managed this behavior, when they click the icon nothing happens. Since [...]