O'Reilly Travel Advisor question
O'Reilly Travel Advisor question
- Subject: O'Reilly Travel Advisor question
- From: Matt Majka <email@hidden>
- Date: Thu, 6 Sep 2001 13:13:13 -0500
I'm a little behind in working my way through the O'Reilly book, sorry.
I've worked my way through the tutorial and am having one problem.
When I build the application I get two warnings:
warning: 'TAController' does not respond to 'populateFields'
warning: 'TAController' does not respond to 'handleTVClick'
When I run the app, I can enter data just fine, but when I select
a country from the NSTableView I get the following run-time
error:
Sep 06 12:59:53 Travel Advisor[322] *** -[TAController populateFields]:
selector not recognized
Sep 06 12:59:53 Travel Advisor[322] *** -[TAController populateFields]:
selector not recognized
I've checked, double-checked, and triple checked the spelling
of each of these methods in TAController.[hm] and cannot find
any typos. Additionally, the only place that -populateFields:
is sent is in -handleTVClick: (which the
run-time IS finding in spite of the compiler warning to the
contrary). I've tried doing a clean build, updating the TAController
class in IB, and playing with the position of the method in the
implementation file (it is in the interface file as well). None of these
seem to have had any effect. There's something I'm missing I'm sure.
Any ideas? If you need more info, just ask...
Matt