I tend to start with the class/Property - CLLocationManager.DesiredAccuracy
- and work out from there...

On Thu, Jun 28, 2012 at 7:13 PM, philcockfield <[email protected]> wrote:

> Great!  There they are - hanging off *CLLocation*
>
> Seems I need to have a better strategy for searching for partial names
> within the *Assembly Browser*.  Very pleased that they are accounted for
> as structured values in MonoTouch, and I don't have to poke over into the
> Obj-C constants.
>
> Thanks *Nic *and *Rolf*
>
>
>
>
> On Thu, Jun 28, 2012 at 7:11 AM, Rolf Bjarne Kvinge [via MonoTouch] <[hidden
> email] <http://user/SendEmail.jtp?type=node&node=4655648&i=0>> wrote:
>
>> Hi,
>>
>>
>> On Wed, Jun 27, 2012 at 4:03 PM, philcockfield <[hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=4655637&i=0>
>> > wrote:
>>
>>> This is an overtly n00b question - so apologies in advance if this turns
>>> out
>>> to be a forehead slapper.
>>>
>>> I'm working with the *CLLocationManager*, and I'm changing the
>>> DesiredAccuracy property.
>>>
>>> In the Obj-C documentation these values are declared as a set of
>>> constants.
>>>
>>>   extern const CLLocationAccuracy kCLLocationAccuracyBestForNavigation;
>>>   extern const CLLocationAccuracy kCLLocationAccuracyBest;
>>>   extern const CLLocationAccuracy kCLLocationAccuracyNearestTenMeters;
>>>   extern const CLLocationAccuracy kCLLocationAccuracyHundredMeters;
>>>   extern const CLLocationAccuracy kCLLocationAccuracyKilometer;
>>>   extern const CLLocationAccuracy kCLLocationAccuracyThreeKilometers;
>>>
>>> The property itself (on the MT property) is of type double.  Where do I
>>> look
>>> to figure out what these constant values are?
>>>
>>> Are constants like this represented as enums anywhere in the MT wrappers
>>> -
>>> or is there a place to look within the Obj-C documentation to find out
>>> the
>>> values.
>>>
>>
>> You can create a test app and print them out:
>>
>> Console.WriteLine (CLLocation.AccuracyBest);
>>
>> Rolf
>>
>> _______________________________________________
>> MonoTouch mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4655637&i=1>
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://monotouch.2284126.n4.nabble.com/CLLocationAccuracy-Contant-Values-tp4655605p4655637.html
>>  To unsubscribe from CLLocationAccuracy - Contant Values?, click here.
>> NAML<http://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> *Phil *Cockfield
>
>
>
>
> ------------------------------
> View this message in context: Re: CLLocationAccuracy - Contant 
> Values?<http://monotouch.2284126.n4.nabble.com/CLLocationAccuracy-Contant-Values-tp4655605p4655648.html>
>
> Sent from the MonoTouch mailing list 
> archive<http://monotouch.2284126.n4.nabble.com/>at Nabble.com.
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>


-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop.
http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding!
http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to