Should I put IBActions in the header file or not?

后端 未结 3 1236
梦如初夏
梦如初夏 2021-01-21 01:53

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 putti

3条回答
  •  生来不讨喜
    2021-01-21 02:12

    Even if you plan to hook it up to the interface builder, it still doesn't have be in the header file. I personally just place them straight into the implementation file.

提交回复
热议问题