[MonoTouch] Proper UIViewController/UIView handeling

2011-11-01 Thread shawnlehner
I am having a hard time wrapping my brain around the proper way to do this using MonoTouch. Normally you create your view controller, and you add that controller's view for display. Once you are finished with that view you remove it from view. The view you removed hangs around for quick loading

Re: [MonoTouch] Proper UIViewController/UIView handeling

2011-11-01 Thread shawnlehner
Thanks for the reply! This is what I expected but my tests say otherwise. I performed a few very crude tests and it does not appear that the View is being released. Here is what I did ... In the ViewDidLoad I created a WeakReference to the view and stored it for later. When the

Re: [MonoTouch] Proper UIViewController/UIView handeling

2011-11-01 Thread shawnlehner
I am actually using a custom navigation controller which inherits from UIViewController. The navigation structure inside my application is unique and didn't fit well into the normal nav controller. Should I subclass from this anyway even though I will not be using virtually any of the

Re: [MonoTouch] Proper UIViewController/UIView handeling

2011-11-01 Thread shawnlehner
there are no active references and the memory warning was registered. Does this make sense? On Tue, Nov 1, 2011 at 1:51 PM, Robert Jordan [via MonoTouch] ml-node+s2284126n3965401...@n4.nabble.com wrote: On 01.11.2011 20:50, shawnlehner wrote: I am actually using a custom navigation controller

[MonoTouch] JSON Serialization

2011-09-16 Thread shawnlehner
I am trying to implement some JSON serialization for service communication in my app. It seems that every solution I try ends up with a mtouch failed with no output (1) when building for the device. I have tried the following libraries: - fastJSON - Newtonsoft.Json - System.Json (Works but has

Re: [MonoTouch] JSON Serialization

2011-09-16 Thread shawnlehner
Thanks for the reply! I should have been more specific ... I was actually using Newtonsoft.Json.MonoTouch.dll when testing that library. Is there a way to get more info on what exactly is causing mtouch to fail? Thanks! -- View this message in context:

[MonoTouch] XmlSerializer constructor exception - Null Reference

2011-08-30 Thread shawnlehner
I am getting a random null reference exception (this only happens about 50% of the time) when invoking the following line of code: XmlSerializer sr = new XmlSerializer (typeof(ListFeedItem)); The only thing I can think of is that this issue is related to the threading issues which were fixed in

[MonoTouch] Simple PDF viewer using MonoTouch

2011-08-24 Thread shawnlehner
So I have done a bit of research on this topic and I have found a few possible solutions. I wanted to find out if there was something out there already that would save me time. The UIWebView PDF rendering does 90% of what I want ... the only thing it is lacking is the ability to click on

Re: [MonoTouch] CGPDFDictionary.GetArray error

2011-08-24 Thread shawnlehner
Thanks! It appears I am running 4.0.5 at the moment. -- View this message in context: http://monotouch.2284126.n4.nabble.com/CGPDFDictionary-GetArray-error-tp3763287p3766804.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch