[MonoTouch] UrlImageStore concurrent limits

Jeff Stedfast jeff at xamarin.com
Tue Dec 20 18:21:47 EST 2011


Pavel,

Thank you for blogging about this! I love it when people blog about tips &
tricks like this!

Jeff

On Tue, Dec 20, 2011 at 4:15 PM, Pavel Sich <pavel.sich at me.com> wrote:

> Downloading images from Url is very common task in iOS apps. It is however
> important to limit the amount of threads being used as otherwise it gets
> pretty heavy on the CPU and whole device can be easily be clogged up.
>
> There is a nice example from Redth on github to use, however I had
> problems running it as it failed to add operation to NSOperationQueue for
> me.
>
> So I rewrote it to use Task Parallels from .NET 4 and it works like a
> charm.
>
> Blogged at:
>
> http://blog.touch4apps.com/home/iphone-monotouch-development/urlimagestore-concurrent-threads-limitting-helper
>
> Cheers,
> -Pavel
>
> --
> Pavel Sich
> @sichy
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111220/578aba0a/attachment-0001.html 


More information about the MonoTouch mailing list