Is there a clean way to put IBActions in class extensions (without linking them to IB in .h, then moving to class extension in .m)?
I can link or create the IBActions in IB, and them cut and paste them to the class extension in the .m. Is there a way to create them directly in the cla开发者_如何学Goss extension from IB?
Thanks
I just tried this and it works for me. What does your class extension look like? It should look like this:
@interface MyClass ()
- (IBAction)myAction:(id)sender;
@end
精彩评论