mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-20 23:51:11 +08:00
Misc stylistic touch ups
This commit is contained in:
@@ -279,12 +279,12 @@ NSString * const RKObjectMappingNestingAttributeKeyName = @"<RK_NESTING_ATTRIBUT
|
||||
|
||||
- (NSFormatter *)preferredDateFormatter
|
||||
{
|
||||
return _preferredDateFormatter ? _preferredDateFormatter : [RKObjectMapping preferredDateFormatter];
|
||||
return _preferredDateFormatter ?: [RKObjectMapping preferredDateFormatter];
|
||||
}
|
||||
|
||||
- (NSArray *)dateFormatters
|
||||
{
|
||||
return _dateFormatters ? _dateFormatters : [RKObjectMapping defaultDateFormatters];
|
||||
return _dateFormatters ?: [RKObjectMapping defaultDateFormatters];
|
||||
}
|
||||
|
||||
- (BOOL)isEqualToMapping:(RKObjectMapping *)otherMapping
|
||||
|
||||
Reference in New Issue
Block a user