Search
Rich's Mad Rants
Powered by Squarespace

Creating iOS 5 Apps Discussion > Pg 139 Warnings do not go away

After entering the six changes as instructed on page 138 and 139, the app still had four warnings and failed to build

March 16, 2012 | Unregistered CommenterAdam

Sorry I didn't respond earlier. I had the kids home last week for Spring break, and I'm finally getting caught up on everything.

Sounds like Xcode's template for creating UITableViewController subclasses may have changed. It's hard to give much advice, without knowing the exact warnings and their locations. What sort of warnings are you getting?

Have you tried downloading and compiling the source code for the chapter? Does it have warnings as well? If not, compare your version with the source code. That should help you track down the problem.

-Rich-

March 21, 2012 | Registered CommenterRichard Warren

Its nice to have the kids home :)

sooo, the error was incomplete method implementation.

your source code managed to build successfully, and when i compared the two sets of controller files, everything looked the same.

However, when I copied and pasted the code from your version the warning went away!

I am totally perplexed as to why this happened.

Any ideas?

March 25, 2012 | Unregistered Commenteradam

Hmm...Sounds like there was a method that was declared (either in the header file or in the class extension), but it was not actually implemented in your code. The most likely culprit would be a spelling mistake. If the declaration and definition had slightly different spellings, you might get an error like this.

March 27, 2012 | Registered CommenterRichard Warren

I had the same problem, i.e., the errors didn't go away. I wasn't sure what to do, so I just deleted them, and then the build succeeded.

April 1, 2012 | Unregistered CommenterJohn M