Shuldn't stubs for cancel & save be declared in .h on pg250?


#1

I notice that there are 2 methods defined in the ItemDetailViewController.m on page 250.

  • (IBAction)save:(id)sender
  • (IBAction)cancel:(id)sender

Should the stubs for these 2 methods not be declared in the interface file as the addNewPosition is declared in the ItemsViewController.h.? I could not find these 2 methods in the API doc, so I assume it is not declared in the UIViewController class or its super class.

Am I missing something here or misunderstanding?
Could you please help on this?

Thank you.