Hi David,

Yes, they both map to the same call. I got a bit confused in my last email.

FromFileUncached() simply calls FromFile().

Hope that helps,

Jeff

On Tue, Jan 17, 2012 at 11:52 AM, David Black <[email protected]>wrote:

> So does that mean both map to the same call? The export I pasted below
> seems to indicate that
>
> From: Jeff Stedfast [mailto:[email protected]]
> Sent: 17 January 2012 15:23
> To: David Black
> Cc: [email protected]
> Subject: Re: [MonoTouch] UIImageView
>
> Hi David,
>
> UIImage.FromFileUncached() maps to imageWithContentsOfFile
>
> UIImage.FromFile() maps to something else.
>
> Unfortunately the way we bound the API is a bit confusing :-\
>
> Hope that helps,
>
> Jeff
> On Tue, Jan 17, 2012 at 8:01 AM, David Black <[email protected]>
> wrote:
>
> Hi All
>
> Does anyone know how caching works with UIImage? Looking at the
> documentation on go-mono
> it shows
>
> [MonoTouch.Foundation.Export("imageWithContentsOfFile:")]
> public static UIImage FromFile (string filename)
>
> And according to the apple doc imageWithContentsOfFile: does not cache
> images, but UIImage in monodevelop has a method
> FromFileUncached which seems to indicate that the mono implementation
> caches by default in FromFile. I am well confused here, anyone know
> the answer?
>
> Cheers
>
> D
>
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to