How do you bind static constructors for a class with subclasses? In Obj-C, a
class can use its superclass's static constructors to return an object of
that class:
Class obj = [SuperClass objWithParam:someParam]; // returns an obj of type
Class

However, C# static methods cannot be virtual, so can only return obj of the
classes they're defined in. What is the best way to get around this? 

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Objective-C-binding-for-static-constructors-tp4094705p4094705.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