Skip to content

A UIView that can generate a Ken Burns style transition when given an array of UIImage objects

License

Notifications You must be signed in to change notification settings

jakemarsh/Ken-Burns-Effect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I've renamed a few things to work better in my environments, but this project is 99.9% the work of @jberlana.

The goal of this project is to create a UIView that can generate a Ken-Burns-style transition when given an array of UIImage objects.

To use it, you simply need to an an instance of JBKenBurnsView and call this method to start the action:

[self.kenBurnsView animateWithImages:slideshowImages
			 transitionDuration:15.0 
						   loop:YES 
					inLandscape:YES];

Documentation

- (void) animateWithImages:(NSArray *)images transitionDuration:(float)duration loop:(BOOL)shouldLoop inLandscape:(BOOL)isLandscape;
  • images - NSArray of UIImages.
  • duration - Time in seconds for the transition between each image.
  • shouldLoop - The animation will start again when ended.
  • isLandscape - If true optimized to show in Landscape mode.

TODO

  • Need to allow device rotation.
  • Improvements on image transition effects.

--

###SweetBits, welcome to the candy factory.###

About

A UIView that can generate a Ken Burns style transition when given an array of UIImage objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%