[MonoTouch] Disable auto xml comments in Monodevelop?

2012-08-28 Thread dermotos
Is there any way of disabling the automatic parsing of method names for xml comments in monodevelop? Im referring to these: /// /// Introductions the help check. /// /// /// The help check. ///

Re: [MonoTouch] A recipe for a memory leak ???

2012-08-28 Thread Nic Wise
My understanding, and I may be wrong (quite likely, actually): Dispose is called when the object goes out of a using scope. That bit is deterministic - if you do this: using (var fff = new Foo()) { } Dispose is always called at the end of that block. Same if you set it to null; HOWEVER the GC is

Re: [MonoTouch] A recipe for a memory leak ???

2012-08-28 Thread Phil Cockfield
Thanks for the insights *Nic*. That's quite good - it means the plan I had is pretty much OK as it's not breaking some magic GC-fu that I didn't know about. I am responsible for freeing up reference to the object, and as soon as I do that, then magically in the background GC will take care of thi

Re: [MonoTouch] System.ArgumentNullException exception when using subclassed UIViewController

2012-08-28 Thread Sebastien Pouliot
To avoid duplication: http://stackoverflow.com/q/1218/220643 Sebastien On Mon, Aug 27, 2012 at 10:03 AM, René Ruppert wrote: > Hi, > > sorry, I don't understand at all why this is happening. If the > UIPopoverController is working without subclassing, it should also work with > subclassing -

Re: [MonoTouch] System.ArgumentNullException exception when using subclassed UIViewController

2012-08-28 Thread Alex Soto
Hi sebastien and thanks for your response, im a new with unit test could you elaborate or point me on how to implement this? Sounds really helpful Alex El 28/08/2012, a las 07:59 a.m., Sebastien Pouliot escribió: > To avoid duplication: http://stackoverflow.com/q/1218/220643 > > Sebastien

Re: [MonoTouch] System.ArgumentNullException exception when using subclassed UIViewController

2012-08-28 Thread Sebastien Pouliot
Hello Alex, By default `btouch` will add, for non value-type parameters, the following: if (argument == null) throw new ArgumentNullException ("argument"); ... If you add [NullAllowed] to `argument` then this (extra) code won't be generated and `null` will be provided to the native code. Ho

Re: [MonoTouch] A recipe for a memory leak ???

2012-08-28 Thread Greg Munn
On the device, I've seen the GC be quite slow to collect. On the simulator / desktop it collects instantly. You need to be aware that anything you release a reference to can hang around longer than you intend. Cheers, Greg On 28/08/2012, at 8:26 PM, Nic Wise wrote: > My understanding, and