Visual Studio Express is free, but I don't know if it works with Silver. Swift itself is just a language. In order to build an iOS app, you need libraries like Foundation and UITouch (which can be written in any language, in this case: C, Objective-C and C++). Open a Visual Studio x64 Native Tools command prompt (see sidebar and next image below) at the location where you've saved the 1st.swift file. Type the following command to compile the code: c: > swiftc -c 1st.swift -o 1st.obj. Macincloud provides comprehensive 'mac in the cloud' solutions This is the cloud-based Mac solution you are looking for! Access on-demand Mac servers for app development, Mac tasks, and enterprise builds.
Active1 year, 5 months ago
Install the Mac virtual machine or black apple can be used, but the experience is not good, if only iOS iOS can also use the tool Appuploader, the same can be directly uploaded in Windows IPA, you can not need Mac, complete your development. So should I start with Xcode/swift or use the new MS visual studio for Mac? This is for a complete novice to coding, NJ o idea how/what to do on any languages etc either.
Is there any possibility to write swift code and preview in Visual Studio Code (windows coding app)? I see in the guide for swift coding that requires ios system but i have just windows for the moment.
Can I code swift in Windows?
P. AlexandruP. Alexandru
2 Answers
Yes, you can code Swift on Windows. Check out RemObjects Silver which gives you a Swift compiler in Visual Studio 2015. Visual Studio Express is free, but I don't know if it works with Silver.
Swift itself is just a language. In order to build an iOS app, you need libraries like Foundation and UITouch (which can be written in any language, in this case: C, Objective-C and C++). Apple has open sourced many Foundation classes and ported them to Linux but there are lot of stuffs that are not fully implemented or there are bugs in Linux that don't exists in OS X. There's no official Windows port. I doubt Apple will ever open source UITouch at all.
Silver can target .NET (and I guess by extension its cross-platform cousin Mono), Java or Sugar (vendor's proprietary framework). If you want to use Swift on Windows, yes, you can, but don't expect to build an iOS app on Windows. If you are serious about iOS development, buy a Mac, even the $500 Mac Mini can go a long way. If you only want to play with Xcode, assemble a Hackintosh or a virtual machine so that you can run OS X.