Swiftã§Cordova(ionic)ã®pluginãéçºããã«ã¯?
Swiftã§cordovaã®ãã©ã°ã¤ã³ãéçºãããã¨ã¯ã§ããã®ã ããã? ãã®ããããè¦ãã¨éçºã§ãããã 。 Chris Dell - Software Developer :: Writing an iOS Cordova plugin in pure Swift How to write Cordova plugin in Swift? - Stack Overflow ãã£ã¦ã¿ãã。 ä»åã¯Chrisããã®ã³ã¼ããåèã«、HTMLãããã¤ãã£ãã«å°æåã®ã¡ãã»ã¼ã¸ãéã£ã¦å¤§æåå¤æãããã¡ãã»ã¼ã¸ãåä¿¡ããã¨ãããµã³ãã«ãä½ã。ãããå®æå½¢。 ãã«ãã·ã¹ãã ã¯ionicã使ãã、ãã©ã°ã¤ã³é¨åã®éçºã¯cordovaã§ãéç¨ããã¯ã。 ã¾ãã¯blankããã¸ã§ã¯ããä½ãã。 $ ionic start CDVEchoPlugin blank CDVEchoPlugin/www/index.htmlããã®ããã«ç·¨éãã。 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <title>CDVEchoPlugin</title> <link href="lib/ionic/css/ionic.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above <link href="...