[英]Port iOS Swift app into Xamarin for Windows deployment
I have a simple tabbed app coded in Swift using a Storyboard layout. 我有一个使用Storyboard布局在Swift中编码的简单选项卡应用程序。 Is this something I could import into Xamarin and then deploy into a windows environment?
这是我可以导入Xamarin然后部署到Windows环境中的东西吗? I couldn't understand the documentation whether it could take existing swift code and port the code or what.
我无法理解文档是否可以采用现有的快速代码并移植代码或什么。 Microsoft Bridge does not support Swift yet and I couldn't understand or get RemObjects Silver to work either and would really like to get my app in a Windows environment.
Microsoft Bridge还不支持Swift,我无法理解或让RemObjects Silver工作,并且非常想在Windows环境中获取我的应用程序。 Any help would be appreciated!
任何帮助,将不胜感激!
Yes, MS Bridge for now(25.07.2016) supports Obj-C only. 是的,MS Bridge现在(25.07.2016)仅支持Obj-C。 And there is no way to port swift app to windows.
并且没有办法将swift应用程序移植到Windows。
Even with Xamarin you can only compile static library in xcode and than make binding to use it from c# ONLY on iOS. 即使使用Xamarin,您也只能在xcode中编译静态库,而不是在iOS上使用c#ONLY进行绑定。 You can reuse Storyboards in Xamarin project, but again only on iOS.
您可以在Xamarin项目中重复使用Storyboards,但仅在iOS上重复使用。
As for RemObjects Silver, it brings swift language to other platforms, but unlike Windows Bridge it doesn't map Foundation, UIKit or other iOS frameworks to Windows or android. 至于RemObjects Silver,它为其他平台带来了快速的语言,但与Windows Bridge不同,它不会将Foundation,UIKit或其他iOS框架映射到Windows或android。 So you can use only swift syntax calling target platform API.
因此,您只能使用swift语法调用目标平台API。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.