The basics of Cocos2d

by

Recently I started work on an iOS game. I decided not to use the Core Animations framework provided by Apple and instead experiment with some third party game engines. I chose Cocos2D as it is an all in one package. It gives you the ability to add and control sprites, add cool graphics and animations, access to a sound engine and also 2 physics libraries.

Faking network calls for iOS unit tests

by

If you have used XCode’s built in unit testing frame work , then you’ve likely hit one of the frustrating points of trying to test your application when making api calls over a network. (I’ll save you some time, and let you know the test dies before the call can finish). That’s not great, but it does not mean you can’t test your application and it’s ability to hit your api.

Loading an Image Asynchronously in iOS

by

If you had read thru Apple’s iOS Human Interface Guidelines, I’m sure you’d notice that it mentioned about how your app should provide a responsive user experience. If the app is processing a lengthy operation, it ought to provide a feedback as suggested by Apple, “Subtle animation can give people meaningful feedback..” Consider this lengthy operation:  loading image from a URL. This is a very common task. The problem is, UIImageView doesn’t have a built-in method that lets you load an image and at the same time give you a chance to provide a meaningful UI feedback such as a “subtle animation”.

Rapidly Building Mock API Servers for Testing and Development

by

On my most recent project I was building the client-side of a mobile app. I was a few days ahead of the backend in terms of functionality, but what was really giving me issue was the absence of any kind of test data. Rather than kill my momentum and allow the backend to block my development, I decided to build a quick API “emulator” that would allow the client to perform actions and feed it randomized test data.

Ex2d: A helpful plugin for Unity3D

by

A lightweight plugin for Unity.

Our most recent in house project was a fun children’s game called Whack Attack, and was built with Unity 3D and released for iPhones and android devices.  Unity is a great tool, but it is definitely (and obviously) more geared for game crafting in the third dimension.  Our game deals mostly with two dimensional sprites, although they are set in a pseudo 3d environment to attain some basic perspective.

Facebook Photo Picker for Android

by

Select Album Screen

On a recent project, we needed a widget that would allow users to select a photo from their Facebook albums. “Surely the new Facebook Android SDK must support this.” I thought. Alas, my hopes were unfulfilled. “Well, I bet there is a third-party solution for this!”, I surmised, but again, my search was for naught. At this point I decided to roll up my sleeves and do it myself.

You Do What Android Want = Android Do What You Want ~ Part 1: The Mystical 9-Patch

by

The Mystical 9 patch

You Do What Android Want = Android Do What You Want
Part 1: The Mystical 9-Patch

I recently encountered some blank stares from some colleagues regarding certain aspects of the 9-patch.

Granted, there doesn’t seem to be all that much documentation out there explaining the ins and outs of nine patch, possibly adding to the mystique, but then again, maybe there isn’t all that much to explain.

Here I’ll outline the basics of the 9-patch, and you can comment as to whether it indeed makes simple sense… or instead, communicate your own blank stare with some scathing criticism below in the comments section.

Introduction To Core Data

by

Core Data is a framework provided by Apple that allows developers to design, build and interact with a database, without ever having any direct interaction with SQL.