mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
19 lines
355 B
Objective-C
19 lines
355 B
Objective-C
//
|
|
// NSObject_extra.m
|
|
// Arq
|
|
//
|
|
// Created by Stefan Reitshamer on 7/4/11.
|
|
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import "NSObject_extra.h"
|
|
|
|
|
|
@implementation NSObject (extra)
|
|
+ (BOOL)equalObjects:(id)left and:(id)right {
|
|
if (left == nil && right == nil) {
|
|
return YES;
|
|
}
|
|
return [left isEqual:right];
|
|
}
|
|
@end
|