Sep 062017
 

As a father of two young children, I am always on the lookout for useful apps to track my kids’ health. ┬áThere is a new useful application that will be released soon called Baby Growth Chart Tracker App that will track your children’s weight, height, head circumference and BMI using the World Health Organization (WHO) […]

 Posted by at 4:21 pm
May 312014
 
Secure UITextField with Language Support

UITextField’s Limitation UITextField has a property called secureTextEntry that hides the characters as you type them (except for the last one, which is hidden after a brief moment). This is useful for things like a password field. However, you will notice that the keyboard icon that lets you choose languages is absent. This means that […]

 Posted by at 12:16 am
May 282014
 

Java has a very useful class called the BlockingQueue. With a blocking queue, the dequeue operation will block until there is something to be dequeued. A blocking queue is very handy and can be used to solve the classic producer-consumer problem. I needed a similar class in Objective-C, but I could not find one. The […]

 Posted by at 3:49 pm
Sep 042012
 

Here is how to symbolicate iOS crash reports. Make sure the .app or .ipa and the .dSYM files are the same ones created at the time of the compilation. Step 1 If you have an .app file Place the .app file and the .dSYM file into a folder. If you have an .ipa file Rename […]

 Posted by at 10:25 am
Apr 032012
 

Max Texture Size of iOS Devices When loading OpenGL textures (or sprites, sprite sheets in Cocos2d), the max size for 1024 x 1024 2048 x 2048 4096 x 4096 iPhone 2giPhone 3g iPhone 3gsiPhone 4iPad iPhone 4siPad 2iPad 3

 Posted by at 4:50 pm
Apr 012012
 
Soft Body Physics With Box2d (and Cocos2d) Part 4/4

Prerequisites This is the final part to a four part series about simulating a soft body physics in Box2d. Before continuing, you should read and understand the following tutorials. 1. Quick Tip: Mixing OpenGL and Cocos2d (Triangle Fan) 2. Soft Body Physics with Box2d and Cocos2d Part 1/4 3. Soft Body Physics with Box2d and […]

 Posted by at 12:35 pm
Mar 312012
 
Soft Body Physics With Box2d (and Cocos2d) Part 3/4

Prerequisites This is the third part to a four part series about simulating a soft body physics in Box2d. Before continuing, you should read and understand the following tutorials. 1. Quick Tip: Mixing OpenGL and Cocos2d (Triangle Fan) 2. Soft Body Physics with Box2d and Cocos2d Part 1/4 3. Soft Body Physics with Box2d and […]

 Posted by at 11:59 am
Mar 312012
 

Prerequisites This is the second part to a four part series about simulating a soft body physics in Box2d. Before continuing, you should read and understand the following two tutorials. 1. Quick Tip: Mixing OpenGL and Cocos2d (Triangle Fan) 2. Soft Body Physics with Box2d and Cocos2d Part 1/4 We will be using OpenGL to […]

 Posted by at 7:50 am