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! While you're at it, check out some resources Treehouse students have shared here.
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
Munir Yousef123 Points
I dont have a mac but i want to learn swift on xcode. what can i do ?
Dont have a mac but want to learn swift
Jennifer NordellTreehouse Teacher
Currently, you can learn Swift without a Mac. But you cannot use Xcode without a Mac.
I've never tried it but on youtube there are a lot of videos that will show you how to run the mac operating system in windows with virtualization. Check the below link. Remember I've never done it just researched it a bit.
I use VirtualBox on PC to run OS X El Capitan. I've been using for a while now, not for swift but I do have xcode there. I watched this video to learn how to install and everything: https://www.youtube.com/watch?v=7rM5iXOE7aI
If you need help or have any questions let me know.
I don't think you can have a Mac OS virtual image inside Windows OS. However, the vice versa is possible though.
Stuart Forrest1,723 Points
It is running macOS in a virtual environment is against Apple's policy also!!!
Why not just get a Mac? It's far easier, if you're super serious about it.