Fix iOS 6 deprecation warnings

Signed-off-by: Alexsander Akers <a2@pandamonia.us>
Merge pull request #10 from a2/master

Fix iOS 6 deprecation warnings