Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
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.