[MonoTouch] Still IntPtr Constructor issues
Rene Ruppert
rene.ruppert at googlemail.com
Wed Dec 7 14:55:24 EST 2011
Hi,
I'm still struggling with the IntPtr Constructor issue I started on SO.
I got a bit further meanwhile.
The case is: I'm subclassing UITableViewCell and do not provide the IntPtr:ctor.
By adding the ctor and breaking in there I figured out what ObjC wants my class to do: it is calling void SetSelected ( bool selected, bool animated ).
This means "something" wants to select my cell. I looked through my code and found exactly ONE place where I call SelectRow(). I commented that out and STILL it goes through the ctor and to SetSelected().
What are my options now? Does UITableViewCell maybe always require the IntPtr ctor?
What could possibly still select a row in a UITableView besides SelectRow()?
René
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111207/ebeef334/attachment-0001.html
More information about the MonoTouch
mailing list