I am trying to use this with swift but there are multiple errors in both the .h and .m files, any suggestions?