Definition method:
//. In the hfile: iboutlet uitableviewcell * _ moviecell; @ property (nonatomic, retain) uitableviewcell * moviecell ;//. in the M file: @ synthesize moviecell = _ moviecell; then in the following usage, either use _ moviecell or use self. moviecell to indicate this object
Note:
There is such a situation: If. when defined in the H file, _ moviecell does not have the underline iboutlet uitableviewcell * moviecell; @ property (nonatomic, retain) uitableviewcell * moviecell ;//. in the M file: @ synthesize moviecell = _ moviecell; then, in the following example, moviecell does not add self. In this case, the system will not report an error. Of course, thisProgramIt cannot be executed.CodeBut in this case, if _ moviecell is used below to represent the object, the program can be executed, we must underline the definition. In this case, as long as it is not _ moviecell or self. moviecell errors are reported.