次のコードがあります。self.settingsObject は常に nil ですか? どうした?
.h file
@interface RoomConfigurationViewController : ATBaseViewController {
}
@property (nonatomic, strong) AttendanceSettings *settingsObject;
@end
.m file
@synthesize settingsObject = _settingsObject;
NSData *settingsData = [[NSUserDefaults standardUserDefaults] objectForKey:kUserDefaultsSettingsObject];
self.settingsObject = [NSKeyedUnarchiver unarchiveObjectWithData:settingsData];