Skip to content

Category Archives: Objective-C

How To Build An Cocos2d iOS App Communicating With A RESTful API – The Sequence

Awesomenessly! iOS 7 is out and therefore SpriteKit. This means I will add to this series the same solution using SpriteKit. I am really curious how much work it will be using it. But at first let me describe the next step in our cocos2d implementation. I already explained some of my code in the other […]

Objective-C Adapter From NSInteger To id When Using performSelector withObject

As an Objective-C beginner it is not so easy to understand how to correctly cast things, so I needed some research to get it solved. I hope that post makes it easier for you. My problem occurred trying to feed the performSelector withObject message with an enum.

I implemented my nice HTTP Request class, […]

How To Build An Cocos2d iOS App Communicating With A RESTful API – The View

Let us start with the view part of our REST web service integration to iOS and Cocos2d. Actually, I want to provide the same solution with Sprite Kit once I finished this series. But first things first. The Background Layer So, first of all we need a layer for our game. The layer is the […]