Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: bonfire Download
 Description: For day 2 I picked something that has been popular in the App Store? 揂nimations?. The first App I did was iFlame which was a simple video of a flame I shot myself. At the time I had not seen a flame or lighter in the App Store and thought it would be cool to have a flame to hold up at a concert. My first challenge was getting my flame video to repeat without a pause. Then, I soon saw Crazy Lighter and wondered how they got it working with an infinite loop. I cannot say this is 搕he? way that Crazy Lighter works but this will do for us. Instead of using a video you can use a UIImageView with a sequence of images and just loop them. The key section of code is below. // create the view that will execute our animation UIImageView* campFireView = [[UIImageView alloc] initWithFrame:self.view.frame] // load all the frames of our animation campFireView.animationImages = [NSArray arrayWithObjects: [UIImage imageName
 Downloaders recently: [More information of uploader blueseaineye]
 To Search: iPhone
File list (Check if you may need any files):
.DS_Store
Bonfire.xcodeproj
.................\project.pbxproj
Bonfire_Prefix.pch
Classes
.......\BonfireAppDelegate.h
.......\BonfireAppDelegate.m
.......\FlipsideView.h
.......\FlipsideView.m
.......\FlipsideViewController.h
.......\FlipsideViewController.m
.......\MainView.h
.......\MainView.m
.......\MainViewController.h
.......\MainViewController.m
.......\RootViewController.h
.......\RootViewController.m

FlipsideView.xib
Images
......\.DS_Store





......\campFire05.gif
......\campFire06.gif
......\campFire07.gif
......\campFire08.gif
......\campFire09.gif
......\campFire10.gif
......\campFire11.gif
......\campFire12.gif
......\campFire13.gif
......\campFire14.gif
......\campFire15.gif
......\campFire16.gif
......\campFire17.gif
Info.plist
main.m
MainView.xib
MainWindow.xib
    

CodeBus www.codebus.net