Fixed error in .m file, added method signatures to .h for iOS.