osx

  • How To Create Mac Icons using Pic2Icon and IconComposer

    Using these steps any image you have can converted to an icon to use on Mac. This following article is a condensed version of one found on MacInstruct. (see references below) 1) Download and Launch Pic2Icon. 2) Drag and drop… Continue reading

  • 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

  • Show Dialog Message Box in Objective-C Cocoa

    There are a few ways to achieve this in Objective-C/Cocoa, and I found NSAlert to be the simplest base class for this purpose. See example below of a small Utility class with this functionality. Util.h Util.m References iphonedevsdk.com, http://www.iphonedevsdk.com/forum/iphone-sdk-development/8478-simple-message-box-popup.html blogspot.com,… Continue reading