Apart from how powerful and flexible NSArray in Objective-C is, there are times that you need to sort many arrays throughout the projects.

The standard way of sorting arrays in Objective-C is to use one of:

  • sortedArrayHint
  • sortedArrayUsingFunction:context:
  • sortedArrayUsingFunction:context:hint:
  • sortedArrayUsingDescriptors:
  • sortedArrayUsingSelector:

(See the official documentation)

But what if all I need is just a simple sort, available in different classes and across many projects? [click to continue…]

{ 0 comments }

Cloud is better off without Flash

May 8, 2010
Thumbnail image for Cloud is better off without Flash

With the emergence of the iPad, there are many trends changing and many ideas developing around an old but finally well-developed phenomenon: the tablet computer. Although I am somehow late giving my opinion on the subject, I think it is worth the try. One of the areas cloud computing can be very useful and extremely [...]

Read the full article →

Graduate school and the GMAT beast

April 12, 2010
Thumbnail image for Graduate school and the GMAT beast

After moving to Vancouver (yeah baby), one of the things I want to do is to apply for UBC graduate program. No, MBA is not what I have in mind, MIS is a better choice for me. Although I’m still finishing my MSc in SBIT, I think this degree will help me better in accomplishing my goals, [...]

Read the full article →

Mix like a DJ on your Mac with Djay

December 16, 2009
Thumbnail image for Mix like a DJ on your Mac with Djay

This article is originally posted on Shufflegazine. If you are a music fan (who isn’t?) you might have dreamed about mixing some tunes and added new grooves to your favorite tracks. Macs are famous for their music production tools and you don’t need to be a professional DJ to create cool stuff. There are a [...]

Read the full article →

Convert video formats on your Mac for free

November 22, 2009
Thumbnail image for Convert video formats on your Mac for free

This article is originally posted on Shufflegazine. Earlier today I received a dinosaur JVC camera with a truck load of video clips. We are traveling to Lebanon to have our annual seminar on the beautiful mountains of Farya and somebody had to make a fun video intro for our office. Since I still did not [...]

Read the full article →