Should I put IBActions in the header file or not?
问题 Given that iOS SDK 6.1 is used in Xcode 4.6.3 , does it make a difference to declare the method signature of IBAction in a header file or not? Without putting the method declaration in the header file, the app is still able to compile and run without problems. However, the method cannot be seen in a storyboard. Are there any hidden issues of not declaring the method in the header file? Is there a memory consumption difference? 回答1: The entire point of an IBAction method is to be a public