Hi Hugo,
This seems to be the difference:
[Export ("getDistanceFrom:")]
double Distancefrom (CLLocation location);
// NOTE: The old selector was renamed to this guy in 3.2
[Since (3,2)]
[Export ("distanceFromLocation:")]
double DistanceFrom (CLLocation location);
Looks like the old Distancefrom() (assuming that's what is meant by the
comment) is there to support older (< 3.2) versions of iOS. I'm not sure if
this can be removed or not, but will bring it up with the other devs to see
what they think.
Hope that helps,
Jeff
On Mon, Sep 26, 2011 at 10:15 AM, Hugo Logmans <[email protected]> wrote:
> Hi all,
>
> I am using Remobjects Oxygene (Delphi Prism) to create iPhone apps using
> MonoTouch. So for all works well, but I run into one problem: the class
> CoreLocation.CLLocation object seems to have both an DistanceFrom and
> Distancefrom member with the same parameters. Probably one of both is an
> internal method. Because Prism is case-insensitive, the compiler fails
> because it cannot determine the method to use. The tools to enforce the case
> in Prism did not succeed in solving this, and they point out this is
> something that should be fixed in MonoTouch.
>
> Anyone any idea how I can circumvent this problem, or how long a
> solution/update will take?
>
> Beste regards,
>
> Hugo Logmans
>
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch