Created
May 16, 2012 21:51
-
-
Save gmcerveny/2714253 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIImage *)getNextImage { | |
if (!self.demonstrationImages || [self.demonstrationImages count] == 0) | |
return nil; | |
UIImage *nextImage = [self.demonstrationImageEnumerator nextObject]; | |
if (nextImage) | |
return nextImage; | |
self.demonstrationImageEnumerator = [self.demonstrationImages objectEnumerator]; | |
return [self getNextImage]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment