Category: programming

  • Javascript Object – ES5+

    Javascript Object – ES5+

    Javascript is being updated at a rapid pace over the years and here are some of the new features that I came across ( ES5 + onwards ). Object.defineProperty( ) This method allows a precise addition to or modification of a property on an object. Object.create( ) A little refresher…

  • Types of Design Patterns

    Types of Design Patterns

    What are some of the most commonly used design patterns. Most design patterns are not a Class or a method that can be directly plugged into code and make things work. Its more of a well proven approach that can help solve common set of problems faced during software development…

  • Singleton Design Pattern

    Singleton Design Pattern

    When do we use a Singleton ? Singleton Design Pattern is used when we need to Make sure we have only a single instance of a Class at any given time Provide global access to the Class instance How to create a Singleton ? To create a Singleton we need…

  • Enable Game Center Sandbox

    Enable Game Center Sandbox

    Enable Sandbox mode in game center for testing. Several posts on forums and blogs talk about creating a testing account and doing crazy voodoo stuff to get into sandbox mode. Read all that for a while and the ever increasing frustration writing games for the iOS platform was @#$@#$ .. And…