Thursday, January 21, 2010

Implementing TinyURL in your iPhone App..

This is a very simple task but I haven't seen it documented anywhere.


NSURL *url = [NSURL URLWithString:@"http://tinyurl.com/api-create.php?url=www.yoururl.com];

NSString *strUrl = [NSString stringWithContentsOfURL:url encoding:NSASCIIStringEncoding error:nil];


Now use your strUrl pointer wherever you want the shortened URL.

Friday, June 5, 2009

Setting up your environment...

There are a few things that you will need to begin the deep dive into iPhone and iPod Touch development world.
  1. A Mac running Leopard (OS X 10.5.3 or later)
  2. Become a registered iPhone/iPod Touch developer. (You can do this by going to the iPhone Developers website.)
  3. The iPhone SDK. (You will be able to download this once you become a registered developer and sign in to your account.)
  4. Xcode, which is Apple's IDE (Integrated Development Environment).
Once you have gathered the required hardware and registered for the Developer program you are ready to start.

Wednesday, June 3, 2009

So it begins...

I found that most people in my profession are either avid bloggers or follow them very closely. Well so far I have only been following and have now decided to contribute to the blogging community. There are so many things that I have delved into and learned from and I feel I would be selfish not to share my mishaps and successes with the world. Please check back soon...