vendor/Pods/YapDatabase/YapDatabase/Utilities/YapCollectionKey.m in motion-yapper-0.0.1 vs vendor/Pods/YapDatabase/YapDatabase/Utilities/YapCollectionKey.m in motion-yapper-0.0.2
- old
+ new
@@ -164,9 +164,14 @@
- (id)copyWithZone:(NSZone *)zone
{
return self; // Immutable
}
+- (BOOL)isEqualToCollectionKey:(YapCollectionKey *)collectionKey
+{
+ return [key isEqualToString:collectionKey->key] && [collection isEqualToString:collectionKey->collection];
+}
+
- (BOOL)isEqual:(id)obj
{
if ([obj isMemberOfClass:[YapCollectionKey class]])
{
YapCollectionKey *ck = (YapCollectionKey *)obj;