How to use swift library in NativeScript?

妖精的绣舞 提交于 2019-12-04 02:18:09

You can check for example my dialog plug-in: https://github.com/enchev/nativescript-dialog

I'm consuming Swift library SDCAlertView and you can find more info about how to setup this in the pod and xconfig files: https://github.com/enchev/nativescript-dialog/tree/master/platforms/ios

All classes most probably are avaialble in the global context. For example:

var chart = new BarChartView(); 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!