简体   繁体   English

将iOS Swift应用程序移植到Xamarin中进行Windows部署

[英]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.

相关问题 Xamarin iOS App部署 - Xamarin iOS App deployment Windows上的iOS6应用部署无法正常工作 - App deployment not working correctly for iOS6 on windows Windows上的iOS应用开发phonegap或xamarin - iOS app development phonegap or xamarin on windows 是否可以将iOS应用移植到Windows Store Metro应用 - Is it possible to port iOS app to windows store metro app 是否可以将Xamarin iOS App连接到Swift WatchOS扩展 - Is it possible to connect Xamarin ios App to swift watchOS Extension 使用UIImagePickerController / ImagePicker的iOS Swift和Xamarin应用程序崩溃 - iOS Swift AND Xamarin App Crashing using UIImagePickerController/ImagePicker Xamarin.iOS - 发布应用程序 - 无效的Swift支持 - Xamarin.iOS - Publishing App - Invalid Swift Support 是否可以使用GNUstep将iOS应用程序移植到Windows? (用于学习目的) - Is it possible to port an iOS app to Windows using GNUstep? (for learning purposes) 如何在Windows上使用Xamarin Studio开发iOS应用程序? - How to develop iOS app using Xamarin Studio on Windows? 如何在xamarin应用程序中隐藏Windows,android和ios选项卡的默认键盘 - how to hide default keyboard of windows,android and ios tab in xamarin app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM