An open API service indexing awesome lists of open source software.

https://github.com/suda/slideshowview

Simple slideshow view in Cocoa Touch
https://github.com/suda/slideshowview

Last synced: about 1 year ago
JSON representation

Simple slideshow view in Cocoa Touch

Awesome Lists containing this project

README

          

SlideshowView
=============

Simple slideshow view in Cocoa Touch.
Example usage: http://www.youtube.com/watch?v=c4s84iph1Ms

Usage
-----
slideshow = [[SlideshowView alloc] initWithFrame:CGRectMake(0, 0, 320, 420)];
[slideshow setImages:[NSArray arrayWithObjects:
@"1.jpeg",
@"2.jpeg",
@"3.jpeg",
nil]];

// 20 pixels per second
slideshow.animationPace = 20.0;
// 2 seconds between images
slideshow.fadeDuration = 2;
// Linear scroll and fade
slideshow.animationCurve = UIViewAnimationCurveLinear
[[self view] addSubview:slideshow];

Todo
----
* Different directions of animation
* Restarting animation

LICENCE
-------

Copyright (C) 2012-2014 Wojtek Siudzinski , [Appsome](http://appsome.co)

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0