royalapplications / beyondnet

A toolset that makes it possible to call .NET code from other programming languages, including C and Swift.
https://royalapps.com
MIT License
108 stars 4 forks source link

Add documentation comment to autogenerated parameterless constructor of structs in Swift #74

Closed lemonmojo closed 5 months ago

lemonmojo commented 9 months ago

Without this, Xcode will go up the type hierarchy and, in the case of structs show documentation for System.Object's parameterless construct instead. This is confusing if you're for instance trying to create a System.Guid while the documentation suggests that you're "just" creating a System.Object.