Embeddinator-4000
Embeddinator-4000 copied to clipboard
Unable to return NSObjects from property/methods
An example here:
https://github.com/chamons/Embeddinator-4000/commit/9c963c26fa64a843443035696d88d33ddf4c2e9b
I also noticed this. I am trying to wrap SignaturePad (iOS and Android):
- source: https://github.com/xamarin/SignaturePad
- NuGet: https://www.nuget.org/packages/Xamarin.Controls.SignaturePad
- build: https://jenkins.mono-project.com/view/Components/job/Components-SignaturePad/lastSuccessfulBuild/Azure/
Right now there is the limitation of generics as well. I am using Nullable<bool>, Nullable<float> and Nullable<MyCustomStruct>.
From discussion by @rolfbjarne :
"There's a separation between types that derived from NSObjects and other types from NSObject can't expose any NSObject-based types"
"I'm not sure if it's easily fixable, but I haven't thought much about it either A nicer error would be a good place to begin :)"