Esri / arcgis-maps-sdk-swift-toolkit

Mapping components that will simplify your Swift app development with the ArcGIS Maps SDK for Swift.
https://developers.arcgis.com/swift
Apache License 2.0
29 stars 7 forks source link

Make `ARSwiftUIView.proxy` non-optional #659

Closed philium closed 5 months ago

philium commented 5 months ago

ARSwiftUIView's initializer isn't ever called without a proxy object.

philium commented 5 months ago

Any downside to making proxy internal and using a synthesized initializer instead?

The only downside is that the doc comment goes away. That's why I left it. But if you're fine with that, I'm fine with doing it.

philium commented 5 months ago

I'll leave it as is since the compiler synthesized implementation would include all of the other properties as parameters as well.