TL;DR We’ll add SceneKit to a project and build a simple scene What is SceneKit? SceneKit is a powerfull high level framework for adding 3D graphics to your apps. You can use it to build games, interactive visualizations, 3D user interfaces or any kind of gaming or non-gaming appliclications. SceneKit has been around since 2012 but was previously only available on OSX.…
Monthly Archives: October 2014
Swift and Objective-C: Best Friends Forever?
This week, Jonathan Blocksom gave a talk at the Swift Language User Group (#SLUG) meetup. A seasoned industry veteran, Jonathan has the real world experience of adding Swift to a large consumer-facing app with millions of users. Swift was not designed in a vacuum; working with the rich history of Objective-C frameworks was a critical part of the design. His talk…

Drawing with Text
I started programming when I was 10 years old by reading and modifying simple programs that my older friends from high school wrote as homework. They were written in Pascal, a simple programming language designed in the end of the `60s, intended to teach students structured programming. After a couple of days of tinkering, I talked to my friend Sergiu…
Swift resources for Objective-C developers
Swift is a relatively simple language, switching from Objective-C to Swift will not take long. After you take a look at the syntax you will be able to write code in a flash. You might get confused in the beginning, with optionals and type inference but soon you will start feeling the power they give you. We are really excited…
Object Oriented Programming in Swift
Most of Apple’s frameworks have a object-oriented architecture. Before you start digging into iOS/MacOS development you should first understand object oriented programming and design patterns. In this article we will go through the basic notions and design patterns in order to get you started with app development. Overview Object-oriented programming (OOP) is a programming paradigm that represents the concept of…

Random Pi
tl;dr I’m going to show you a little trick that uses random numbers to approximate the value of Pi. Monte Carlo methods (or Monte Carlo experiments) are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results; typically one runs simulations many times over in order to obtain the distribution of an unknown probabilistic…
Swift + Objc = Magic
Swift is fun and cool, but Objc is a tank. Here is my favorite hack in objc adapted to swift. After about two years of iOS development I really got tired of integrating web services into my application. If a login request succedes it would return something similar to this response: { “status” : “success”, “user” : { “first_name” :…