objective c - iphone 'No declaration of property 'doSomethingButton' found in the interface' error -


I'm really confused - I'm changing a button in several scenes and it works on 1 of them And I do not know what's different.

I have declared it in the .h file:

  UIButton * doSomethingButton; } @property (nontomic, retten) IBotlet UIButton * doSomethingButton;  

But then in the .m file, I get a 'no code announcement' error. In the "Interface" format, found in the "Code" syntax @ synthesis In line and again on those lines where it is actually used. I've ensured that .m files import .h files I have ensured that the outlet interface is used properly in the Builder and what can be causing the problem?

Are you sure you are doing the following in your .m file (make sure this implementation Block is inside):

  @systhensize doSomethingButton  

Comments