Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

iPhone Best practices for large number of animations using UIImageView -


just requesting little advice animating images on iphone. i'm building app consists of character 5 animations.

each animation consists of 50 images average duration of 3 seconds.

i going create array of images each animation, have these source uiimageview , switch these needed. can guess approach kills iphone's memory , app. (250 images @ 130k each!)

so got me wondering how other people around this? maybe change animations movies?

thanks advice.

i'd recommend movie route, if can away it. it'll cleaner , more performant.

however, if you're stuck images reason, here's performance loading 5000 full-frame images in succession:

[uiimage imagewithdata:...] // 44.8 seconds  [uiimage imagewithcontentsoffile:...] // 52.3 seconds  [[uiimage alloc] initwithcontentsoffile:…] // 351.8 seconds  [uiimage imagenamed:...] // hung due caching 

Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -