文件名称:bonfire

  • 所属分类:
  • Windows编程
  • 资源属性:
  • [Matlab] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 1.12mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • bluese******
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

iphone火焰演示了动画效果,31天工程中的第二天。-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] initWithfr a me:self.view.fr a me]

  

   // load all the fr a mes of our animation

   campFireView.animationImages = [NSArray arrayWithObjects: 

                 [UIImage imageName
相关搜索: iPhone
火焰

(系统自动生成,下载前可以参看下载内容)

下载文件列表

.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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org