Think And Build

Think And Build

Think And Build is a blog about mobile and videogame development, mainly focused on iOS and Unreal Engine.

Follow @bitwaker


Introduction to 3D drawing in Core Animation (Part 2)

Posted on April 8th, 2013.

In the previous article You’ve learnt the basics of 3D drawing in Core Animation. In this tutorial we push your knowledge even further creating an interactive scene. We are going to build a Carousel the users will be able to interact with through Pan gestures, defining how the Carousel moves. You have already seen a preview of it...


Introduction to 3D drawing in Core Animation (Part 1)

Posted on March 20th, 2013.

In this tutorial I’m going to introduce you to the techniques used to draw 3D stuff with Core Animation. The good news are Core Animation can help us achieve some 3D goodness without using OpenGL directly. There are bad news though: creating a complex 3D video game with Core Animation is not a good idea. In the first part of this...


How to build a custom control in iOS

Posted on February 12th, 2013.

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


Guided tour through Objective-C Literals

Posted on December 17th, 2012.

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


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

Posted on December 1st, 2012.

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 you how to use the...


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

Posted on November 13th, 2012.

In this two parts iOS tutorial I’ll show you a way to connect Core Graphics, Core Animation and Touch event management. The result of this experiment is a circle filled with a red gradient which appears smoothly when the user touches the screen, following his pan actions.


Calendar Events and Permissions in iOS 6

Posted on November 4th, 2012.

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 new function...


Opening the Main Window from the Dockbar Menu Icon

Posted on October 8th, 2012.

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 we don’t...


Dealing with multiple screens programming

Posted on October 6th, 2012.

During the development of some applications, it’s really important to make adjustments to make them works correctly on multiple screens… fear not! The OSX global coordinate system works in a really clever way and thanks to the NSScreen class you can get every information you need about users’ displays. There are two...

Senza categoria


Posted on October 1st, 2012.

Hey folks! I’m proud to present you the new dress of Think and Build! Hope you like it! Now that I can spend more time to focus on this blog, I’d like to keep my promises and write with continuity. Think and Build hosts my tutorials about iOS, OS X and web development, organizing posts in 2 main categories for easier...