mirror of
https://github.com/zhigang1992/FunctionalReactivePixels.git
synced 2026-06-12 08:48:16 +08:00
27 lines
699 B
Objective-C
27 lines
699 B
Objective-C
//
|
|
// FRPFullSizePhotoViewController.h
|
|
// FRP
|
|
//
|
|
// Created by Ash Furrow on 10/15/2013.
|
|
// Copyright (c) 2013 Ash Furrow. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@class FRPFullSizePhotoViewController;
|
|
|
|
@protocol FRPFullSizePhotoViewControllerDelegate <NSObject>
|
|
|
|
-(void)userDidScroll:(FRPFullSizePhotoViewController *)viewController toPhotoAtIndex:(NSInteger)index;
|
|
|
|
@end
|
|
|
|
@interface FRPFullSizePhotoViewController : UIViewController
|
|
|
|
-(instancetype)initWithPhotoModels:(NSArray *)photoModelArray currentPhotoIndex:(NSInteger)photoIndex;
|
|
|
|
@property (nonatomic, readonly) NSArray *photoModelArray;
|
|
@property (nonatomic, weak) id<FRPFullSizePhotoViewControllerDelegate> delegate;
|
|
|
|
@end
|