It’s definitely iOS Objective-C – might just be the way they’ve done the 
documentation.

I’ve created my binding project and done all I think I needed to do, but it 
just won’t work – gets to the point of calling that code and exits, no 
exceptions nothing. The device log shows MonoTouch looping around constantly.

Obviously I’ve done something wrong in the new binding project, but I’m not 
sure what.

Dino

From: Nic Wise [mailto:[email protected]]
Sent: Sunday, October 14, 2012 16:45
To: Dean Cleaver
Cc: [email protected]
Subject: Re: [MonoTouch] Correct Bindings


[Static][Export ("sharedDevice")]

DTDevice SharedDevice { get; }
As stolen from the Google Analytics binding.

that said, isn't the :: a C++ thing? What does the header file look like?


On Sun, Oct 14, 2012 at 10:29 PM, Dean Cleaver 
<[email protected]<mailto:[email protected]>> 
wrote:
What would be the correct binding for this:

(id)

+ 
DTDevices::sharedDevice<http://group___g___l_n_g_e_n_e_r_a_l.html#ga37ce97057214339489590bc48b6862c0>


Creates and initializes new class instance or returns already initalized one.


Cheers,
Dino

_______________________________________________
MonoTouch mailing list
[email protected]<mailto:[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/

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
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
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