I am trying to port some iOS code such as 

if ([NSStringFromClass([subview class])
isEqualToString:@"UITableViewCellDeleteConfirmationControl"])

to the equivalent monotouch  but I am a bit stuck with the NSStringFromClass
method. Any ideas?

The sort of effect I am trying to achieve is here:
http://stackoverflow.com/questions/2104403/iphone-uitableview-delete-button

I have used the following bit of debugger inspection & hackery but I suspect
it would not survive a new version of iOS or monotouch.

if (subview.ClassHandle == new IntPtr(0x118780c))







--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/NSStringFromClass-equivalent-in-monotouch-tp4656555.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to