cordova-docs icon indicating copy to clipboard operation
cordova-docs copied to clipboard

Issues with "iOS Plugin Development Guide"

Open janpio opened this issue 5 years ago • 1 comments

https://cordova.apache.org/docs/en/9.x/guide/platforms/ios/plugin.html

  • https://cordova.apache.org/docs/en/9.x/guide/platforms/ios/plugin.html#plugin-class-mapping What does "as described in Plugin Development Guide" refer to? Better link?
  • https://cordova.apache.org/docs/en/9.x/guide/platforms/ios/plugin.html#writing-an-ios-cordova-plugin Last sentence "For more details see..." Details on what exactly? How do these links help me with what?
  • "described in Application Plugins" What does this refer to?
  • https://cordova.apache.org/docs/en/9.x/guide/platforms/ios/plugin.html#echo-ios-plugin-example
    • "Then we would add the following Echo.h and Echo.m files to the Plugins folder within the Cordova-iOS application directory:" What does "Cordova-iOS application directory" mean here?
    • The code block seems to contain those both files, why not just list them separately?
  • https://cordova.apache.org/docs/en/9.x/guide/platforms/ios/plugin.html#ios-integration " See the CDVPlugin.h and CDVPlugin.m classes for guidance." Guidance for what? What other methods there are? When should I look at those files?

janpio avatar Apr 24 '19 18:04 janpio

And the guide assumes that the plugin author was prepared to work with Objective-C. I think a large part of the iOS dev community is now focused on Swift.

brody4hire avatar May 08 '19 20:05 brody4hire