well I am new to iPhone develop.
Recently, I try to do some tableview application,and I follow the book`s example, but I met some problem.
In the .h file I use the two protocol <UITableViewDelegate, UITableViewDataSource>.
The problem is when I try to type the two functions numberOfRowInSection and cellForRowAtIndexPath,
it doesn`t work, and the xcode show me NO Completions found.
Then , compile with some warning, just like the puctures below:
It is ridiculous that when I try to paste the book`s example code into my .m file, it is works magically!
I compare the two codes which are the book`s example and I type, anything different is not find.
The question bother me, and I can`t find how to handle it,
please tell me why and how to solve it, THX
and the project file is below:
Recently, I try to do some tableview application,and I follow the book`s example, but I met some problem.
In the .h file I use the two protocol <UITableViewDelegate, UITableViewDataSource>.
The problem is when I try to type the two functions numberOfRowInSection and cellForRowAtIndexPath,
it doesn`t work, and the xcode show me NO Completions found.
Then , compile with some warning, just like the puctures below:


It is ridiculous that when I try to paste the book`s example code into my .m file, it is works magically!
I compare the two codes which are the book`s example and I type, anything different is not find.
The question bother me, and I can`t find how to handle it,
please tell me why and how to solve it, THX
and the project file is below: