fix iOS6 deprecated warnings
Merge pull request #15 from vvdpzz/master

Remove iOS6 deprecated warnings