@synthesize season = _season;-(void)setSeason:(Season*)s {// set _season//Note, if you want to retain (as opposed to assign or copy), it should look someting like this//[_season release];//_season = [s retain];}-(Season*)season {// return _season}
转载说明(谢谢)http://blog.csdn.net/a21064346/article/details/7839882点击打开链接@synthesize season = _season;- (void)setSeason:(Season *)s { // set _season //Note, if you want to retain (a