Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
How to code Swift on Windows 10?
I am just starting to learn Swift and planning on making an app for iOS. As I learned from the Video, I can't code Swift on Windows. Is there a way around it or anything to help?
Thomas Dobson7,511 Points
Swift is open source, and as such there are some ported compilers out there for windows. There is some unofficial Visual Studio support out there too, but nothing worth mentioning IMHO.
While you can learn the fundamentals of swift on windows with various compilers or use perhaps an online compiler such as IMB, if you truly want to develop for iOS, MacOS, tvOS, and the like... you are going to want to buy a mac.