Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muukii/CPKenburnsSlideshowView
Inspired by Hey Day
https://github.com/muukii/CPKenburnsSlideshowView
Last synced: 3 months ago
JSON representation
Inspired by Hey Day
- Host: GitHub
- URL: https://github.com/muukii/CPKenburnsSlideshowView
- Owner: muukii
- License: mit
- Created: 2014-04-07T03:47:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-16T10:50:29.000Z (about 10 years ago)
- Last Synced: 2024-07-20T11:06:15.973Z (4 months ago)
- Language: Objective-C
- Homepage:
- Size: 25.1 MB
- Stars: 69
- Watchers: 6
- Forks: 17
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
CPKenburnsSlideshowView
=======================## [Android version](https://github.com/gotokatsuya/KenBurnsView)
Using [CPKenburnsView](https://github.com/muukii0803/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](http://f.cl.ly/items/3M2G391d3K1U3g391E2C/preview.mp4)
@@@@@@@@@@@@@![sho1](shot1.png)
![shot2](shot2.png)
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
@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);
}
```