Thanks Jeff! That's a good thing.

The 2nd part of the problem is hurting my head and I can't seem to break
through. Getting error

        [CgMobilePOC3.UI.Touch.Views.EsriMapSource setDelegate:]: unrecognized
selector sent to instance 0x14376150

when trying to set my derived delegate like this:

        public class EsriTileSourceDelegate : *RMTileSource*
        …

        public class EsriMapSource : RMAbstractWebMapSource
        {
                public EsriMapSource ()
                {
                        Delegate = new EsriTileSourceDelegate();  // <---- 
Badness here
                }
        }

and from the ApiDefinition.cs bindings file:

        [BaseType (typeof (NSObject))]
        [Model]
        interface *RMTileSource* {      
                …
        }

        [BaseType (typeof (NSObject))]
        interface RMAbstractMercatorTileSource {
                [Export ("delegate"), NullAllowed]
                NSObject WeakDelegate { get; set; }             

                [Wrap ("WeakDelegate")]
                *RMTileSource* Delegate { get; set; }
        }

        [BaseType (typeof (RMAbstractMercatorTileSource))]
        interface RMAbstractWebMapSource {
                ...
        }

Any ideas? I'll take a drink for anyone that has an idea.

Dennis




--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Bindings-for-MapBox-tp4657589p4657621.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