Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Is this a bug with Xamarin?

$
0
0

I am using Xamarin Studio to create an app that references other library projects. In one of the libraries I made a simple custom NSView. I then went to the main form in the cocoa app project and opened it with Xcode so that I could add the custom NSView. I added my custom NSView. Everything was working great. As soon as I tried making an outlet to my custom NSView I got a casting error when starting the app. The thing is, I created a custom sub class within my main app project and did the exact same thing and it works just fine. I did a few tests to make sure and it seems that you can't create an outlet of a custom class from a referenced library project.

So my question is: Is this a bug with Xamarin studio? Or am I missing something?

Thanks for your help!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>