Ahhh, I see the problem.
You put your function declarations into the .h (or header) file, which is your "@interface
" while the actual code you'll put into your .m file, which has the keyword "@implementation
".
It looks like you simply have your code in the wrong place.