I'm trying to derive a native class compiled from iCarousel native library (
used the LinkWith method described on my blog 
http://dantes-andreea.blogspot.com/2012/01/how-to-use-objective-c-library-in.html
here  ). When using the generated binding everything works perfectly:


iCarousel carousel = new iCarousel( new RectangleF(0, 0, 300, 300) );


But when trying to create this derived class:


public class Carousel2 : iCarousel
{
    public Carousel2( RectangleF rect ) : base(rect)
    {
            Console.WriteLine("do something");
    }
}

and using it like this:

Carousel2 carousel = new Carousel2( new RectangleF(0, 0, 300, 300) );

It compiles but it just stops working, with no error. Is it something I'm
missing?

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Derived-class-from-a-native-binding-class-tp4357772p4357772.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