Files
PXSourceList/Examples/ViewBasedSourceList/PhotoCollection.m
T

25 lines
598 B
Objective-C

//
// PhotoCollection.m
// PXSourceList
//
// Created by Alex Rozanski on 06/01/2014.
// Copyright 2009-14 Alex Rozanski http://alexrozanski.com and other contributors.
// This software is licensed under the New BSD License. Full details can be found in the README.
//
#import "PhotoCollection.h"
@implementation PhotoCollection
+ (id)collectionWithTitle:(NSString *)title numberOfItems:(NSUInteger)numberOfItems
{
PhotoCollection *collection = [[PhotoCollection alloc] init];
collection.title = title;
collection.numberOfItems = numberOfItems;
return collection;
}
@end