Convert string to MD5 hash

iOS Development,Objective-C 5 March 2012 0 Comments



Add Security.framework to your project

A handy way to dismiss keyboard

iOS Development,Objective-C 6 February 2012 0 Comments



This method looks at the current view and its subview hierarchy for the text field that is currently the first responder. If it finds one, it asks that text field to resign as first responder. If the force parameter is set to YES, the text field is never even asked; it is forced to resign.

Reference: http://bit.ly/y8Yc29

R.I.P Steve Jobs

iOS Development,Journal,Mac OS X,Macbook 6 October 2011 0 Comments




You changed my life and my career. You changed the world for the better. Rest in Peace, Steve Jobs.

Enable SQL Debugging in Xcode4

iOS Development,Mac OS X,Objective-C 6 September 2011 0 Comments

If you would like to output the SQL being generated by Core Data, here is the quick steps:

  1. Go to Product -> Edit Scheme
  2. Choose Run YourAppName.app
  3. Add -com.apple.CoreData.SQLDebug 1 to the Arguments Passed On Launch panel

Eid Mubarak & Independence Day Malaysia

Off-Topic 31 August 2011 0 Comments

I wish Selamat Hari Raya to all my muslim readers and Happy Independence Day to all Malaysians.

Merdeka! Merdeka! Merdeka!