editingButtonPressed:, only in implementation file?


#1

hey Joe,

Quick question. On p156 you implement the editngButtonPressed: method, but don’t add a declaration to the interface. Is this a common practice in Obj-C when adding action methods in this fashion? Or just a choice to streamline your chapter code?

I’ve done similar myself in my code when trying stuff out but I always go back later to declare the method in the .h file. I feel guilty if I don’t. It’s all those other (less dynamic) OO languages’ fault. :slight_smile: