[MonoTouch] SIGSEGV Error when tapping a button?

dermotos me at dermotos.com
Tue Dec 20 22:26:05 EST 2011


HI Guys,

I figured out the problem. Items were being GC'd alright, but it was because
my custom UITableViewCell had an attached controller, which was going out of
scope (id declare the controller, then set the view to a cell of the
TableView, and the controller would slip out of scope).

I've since ensured that the UITableViewCell controller is declared at class
level (and instantiated when needed) and it has solved the issue.

Thanks for pointing me in the right direction! (null reference/trying to
access GC'd object).


D.

--
View this message in context: http://monotouch.2284126.n4.nabble.com/SIGSEGV-Error-when-tapping-a-button-tp4213187p4220364.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list