I declare my .h file as follows:
And my .m file is like this:
All of my @synthesize variables get warnings:
The autosynthesized property myVar will use the synthesized instance variable '_myVar', a non-existing instance variable 'myVar'
In addition, the names of variables and classes used in viewDidLoad are not displayed in colors, they are simply displayed in black. Other widget controllers do not have such warnings. How to fix these problems?
properties ios objective-c
Helenwang
source share