dpogue commented on issue #1288: URL: https://github.com/apache/cordova-ios/issues/1288#issuecomment-1432633246
It seems like maybe the right thing to do is to mark `initWithWebViewEngine` with `NS_DESIGNATED_INITIALIZER` (to make it the designated initializer) and to mark `init` as `NS_UNAVAILABLE` so that it cannot be called directly. That should allow member initializers in Swift plugins to work, but not allow overriding the `init` method. Plugins should always use `pluginInitialize`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
