CPKenburnsSlideshowView 1.1.4

CPKenburnsSlideshowView 1.1.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • muukii

Using CPKenburnsView

pod 'CPKenburnsSlideshowView'

Inspired by Hey Day (photo app)

Feature!

  • Infinite scroll -> OK!
  • Change frame size when animating -> OK!
  • Show whole image when long tap -> OK! :cactus:

Future!

  • Face detector.
  • Auto photo filtering.

I'm waiting pull request please!

@@@@@@@@@@@@@ Play Movie @@@@@@@@@@@@@

sho1

shot2

CPKenburnsSlideshowView use CPKenburnsImage

Required image or imageUrl;

@interface CPKenburnsImage : NSObject
@property (nonatomic, strong) UIImage *image;
@property (nonatomic, strong) NSURL *imageUrl;
@property (nonatomic, assign) CGFloat latitude;
@property (nonatomic, assign) CGFloat longitude;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *subTitle;
@property (nonatomic, strong) NSString *locationDescription;
@property (nonatomic, strong) NSDate *date;
@end
@protocol CPKenburnsSlideshowViewDeleagte <NSObject>
@optional
- (void)slideshowView:(CPKenburnsSlideshowView *)slideshowView downloadImageUrl:(NSURL *)imageUrl completionBlock:(DownloadCompletionBlock)completionBlock;
- (void)slideshowView:(CPKenburnsSlideshowView *)slideshowView willShowKenBurnsView:(CPKenburnsView *)kenBurnsView;
@end

If you use imageUrl,call back

- (void)slideshowView:(CPKenburnsSlideshowView *)slideshowView downloadImageUrl:(NSURL *)imageUrl completionBlock:(DownloadCompletionBlock)completionBlock
{
    UIImaage *image = ~~~~;// Download image
    completionBlock(image);
}