iphone

  • Get Current Directory in Objective-C

    Since Mac OS X is a unix based system, you can always use “getcwd” from the standard C library, but in general if you want to stick within the context of Objective-C/Cocoa, see the examples below. Here’s one snippet you… Continue reading

  • Concatenate string in Objective-C

    Unfortunately, this is not as straight forward as it seems it should be. This really comes down to roughly two approaches in my opinion: stringByAppendingString approach: strigWithFormat approach: References StackOverflow, http://stackoverflow.com/questions/510269/how-do-i-concatenate-strings-in-objective-c cocoadevcentral.com, “Learn Objective-C”, http://cocoadevcentral.com/d/learn_objectivec/ Continue reading

  • Why Geeks Should Love the iPad

    After reading a similarly titled article on Forbes, I was inspired to write a counter-argument. The author of the Forbes article implies that the stringent security of the iPad and this line of Apple products is limiting users freedom to… Continue reading