advertisement

Article:
  Working with Tables: Writing an Address Book Application
Subject:   Error Messages
Date:   2003-02-18 10:15:58
From:   ewrenbeck
Response to: Error Messages

Thanks for the great article. I was getting starting with using tables and this was a big help.


I noticed that nobody really responded to this error message. You should forward declare the createRecord method in the header file.


Specifically, update the "controller.h" file and insert the following code just before the @end statement:


-(NSDictionary *)createRecord;


For maintainability, you really don't want to get into the business of worrying about which method goes where. Forward declarations solves this nightmare.