Sha256: 813337ae07bd05a8b636fbb5bc5f8279b2d41276b252fb04b523c6f60f3c91a5

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 Bytes

Contents

#import "YapDatabaseViewPageMetadata.h"


@implementation YapDatabaseViewPageMetadata

- (id)copyWithZone:(NSZone *)zone
{
	YapDatabaseViewPageMetadata *copy = [[YapDatabaseViewPageMetadata alloc] init];
	
	copy->pageKey = pageKey;
	copy->prevPageKey = prevPageKey;
	copy->group = group;
	copy->count = count;
	
	// Do NOT copy the isNew property.
	// This value is relavent only to a single connection.
	
	return copy;
}

- (NSString *)description
{
	return [NSString stringWithFormat:
	    @"<YapDatabaseViewPageMetadata[%p]: group(%@) count(%lu) pageKey(%@) prevPageKey(%@)>",
	    self, group, (unsigned long)count, pageKey, prevPageKey];
}

@end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
motion-yapper-0.0.3 vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Internal/YapDatabaseViewPageMetadata.m
motion-yapper-0.0.2 vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Internal/YapDatabaseViewPageMetadata.m
motion-yapper-0.0.1 vendor/Pods/YapDatabase/YapDatabase/Extensions/Views/Internal/YapDatabaseViewPageMetadata.m