ios - Objective C: “Property implementation must have its declaration in interface” -


i keep getting error above not sure why. imported required classes , declared properties. appreciated. have included code below:

//  newmoduleviewcontroller.h #import <uikit/uikit.h>  @interface newmoduleviewcontroller : uiviewcontroller {      uitextfield *textmodulecode;     uitextfield *textmoduletitle;  } @property (strong, nonatomic) iboutlet uitextfield *textmodulecode; @property (strong, nonatomic) iboutlet uitextfield *textmodueltitle; @end    //  newmoduleviewcontroller.m  #import "newmoduleviewcontroller.h" #import "appdelegate.h"  @interface newmoduleviewcontroller ()  @end  @implementation newmoduleviewcontroller @synthesize textmodulecode, textmoduletitle; .... 

because wrote textmodueltitle instead of textmoduletitle in .h


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -