Posted byYari D'areglia 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...
Posted byYari D'areglia 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...
Posted byYari D'areglia 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...
Posted byYari D'areglia 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...
Posted byYari D'areglia 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...
Posted byYari D'areglia 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.
Posted byYari D'areglia 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...