I'm trying to port AUISelectiveBordersView to MonoTouch.
It's basically a subclass of CALayer
and integration in UIView
via Categories.
"Translation" of AUISelectiveBordersLayer is easy, but integration point is a bit tricky. In obj-c it's done like:
@implementation UIView (AUISelectiveBorder)
+(Class) layerClass {
return [AUISelectiveBordersLayer class];
}
Is there any way to translate this to MonoTouch? It looks like overriding a static method, but I don't see anything like layerClass
or layerType
in MT.