Using Cocoa to resolve Unix file paths with tildes

Quick! How do you expand a file path that has a tilde in a program? Luckily, you can use NSString to resolve the path for you. So, if you path looks like “~/Library”, you can use the stringByExpandingTildeInPath method to resolve the tilde to the full path: “/Users/johndoe/Library/”. Here is s snippet of code to … Read more

Creating writting made easier…

So what is new? Something old actually. English is what I am referring to and I have found a new way to think about the written word! My wife picked up some stuff at the local pharmacy and with that stuff there was a copy of ‘Mac Life’, a magazine dedicated to all things Macintosh … Read more

Objective-C and C++: Friends or Foes?

For many developers like myself, I learned a language as a means to create a program on a specific platform. Back in the early 90’s, I learned Pascal because that was the language that PC and Macintosh’s used. Later in the 90’s, I learned C++ because this was the buzzword language that BeOS, the powerful … Read more