# Swift-JS **Repository Path**: miws/Swift-JS ## Basic Information - **Project Name**: Swift-JS - **Description**: Swift-JS交互样例 - **Primary Language**: Swift - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 11 - **Forks**: 5 - **Created**: 2017-03-25 - **Last Updated**: 2024-07-23 ## Categories & Tags **Categories**: javascript-toolkits **Tags**: None ## README #Swift-JS //====以下与swift交互方法=开始=== - //1. js调用swift方法 - //2. js调用swift方法并传递json参数 - //3. js调用swift方法并传递json参数,并让swift回调处理结果 - //4. js调用swift方法并传递json参数,并让swift回调处理结果,然后两次调用swift方法并传回结果 //====以下与js交互方法=开始=== - //调用无参的js方法 - //传递参数给js方法 - //传递参数并要求js回调并带回js处理的结果 ![输入图片说明](http://git.oschina.net/uploads/images/2017/0325/221036_0df85a96_706616.png "在这里输入图片标题")