在debug下转成功,在release下崩溃。
#import <Foundation/Foundation.h>
#import "EmployeeM.h"
@interface ColleaguesContractM : NSObject
@property(nonatomic,copy)NSString *ID;
@property(nonatomic,copy)NSString *state;
@property(nonatomic,copy)NSString *employer_id;
@property(nonatomic,strong) EmployeeM *employee;
@end
原因是strong写成了weak,不知道为何在debug下是好的。
@property(nonatomic,weak) EmployeeM *employee;