Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (29 sloc) 0.707 kb
#import "ALAssetsLibraryPhotoViewController.h"
#import "ALAssetsLibraryPhotoSource.h"
@implementation ALAssetsLibraryPhotoViewController
@synthesize index=_index;
- (id)initWithAssets:(NSArray *)assets index:(int)index;
{
ALAssetsLibraryPhotoSource *source = [[ALAssetsLibraryPhotoSource alloc] initWithAssets:assets];
self = [super initWithPhotoSource:source];
self.index = index;
return self;
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
}
- (void)viewDidLoad
{
[super viewDidLoad];
[self moveToPhotoAtIndex:self.index animated:NO];
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
}
- (void)viewDidUnload
{
[super viewDidUnload];
}
@end
Jump to Line
Something went wrong with that request. Please try again.