Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Thanks for the response:) Do you know of any tutorials I can follow. For some reason Apple's documentation is hard to understand
 
I saw that, but it isn't quite what I'm looking for.

You are meant to take it, work out how it works and then write your own code. Do not expect to find exact code that does precisely what you want that you can copy and paste (or basically steal).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.