Tag Archives: obj-c

Easier iOS table views with ios-datatable

The project that I recently started to build in my spare time aims to simplify building a data table based views using Cocoa framework. Everyone that has tried to build a view that resembles a built-in iPhone Settings app knows that it’s not so easy, especially when you need to leverage a different UI controls [...]
Posted in idevblogaday, iPhone | Also tagged , , , , | Leave a comment

cocos2d meets MVC – Implementing simple board game part 2

In the first part of the cocos2d meets MVC series I described how to start implementing MVC paradigm for cocos2d based board game. The first post only scratched the surface, we have prepared a skeleton but we still have a lot to do. Introducing model In the previous part we introduced the View and the [...]
Posted in idevblogaday, iPhone | Also tagged , , , , , , , , | 5 Comments

cocos2d meets MVC – Implementing simple board game part 1

This is a first part of a series of posts that aim to help to understand how we can build a game in cocos2d using MVC pattern (or its variation adapted to cocos2d programming model). This is a follow up post to the previous posts that I wrote some time ago so if you haven’t [...]
Posted in idevblogaday, iPhone | Also tagged , , , , , , , , | 8 Comments

5 top reasons for selecting MonoTouch over ObjectiveC

In my last iDevBlogADay post about iPhone & C# development I was exploring the option of  using C# language to build application for iOS. Such approach might be good for existing dotnet developers but also for people who would like to build application for iPhone and are not yet familiar with Objective C. Why it [...]
Posted in .NET, idevblogaday, iPhone | Also tagged , , , , , | 16 Comments

3 ways to implement Singleton pattern in Objective-C

Singleton pattern is used when you need to ensure that only one instance of a class can be instantiated and you need a global access to it. The most widely used implementation of this pattern in .NET is the following (from MSDN): public sealed class Singleton { private static readonly Singleton instance = new Singleton(); [...]
Posted in iPhone | Also tagged , , , , , | 1 Comment