-
iOS | Mac | Technology
-
Adding easy to use sorting features to Objective-C arrays
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 you need is just a simple…
-
Learning iPhone development fast
Learning a new language along with news development tools is quite exciting and challenging at the same time. You have to go through most (if not all) basic stuff and make sure you’re not bringing any old habits to the new language. For instance, after years of manual memory management in C and other languages,…